update_engine: fix english
Fix the english for accuracy regarding DLC.
BUG=chromium:897882
TEST=None
Change-Id: I72ab9ecb7903bb5fb35597222cd7c8b1f4244cfc
Reviewed-on: https://chromium-review.googlesource.com/1351359
Commit-Ready: Xiaochu Liu <xiaochu@chromium.org>
Tested-by: Xiaochu Liu <xiaochu@chromium.org>
Reviewed-by: Amin Hassani <ahassani@chromium.org>
diff --git a/omaha_request_action.cc b/omaha_request_action.cc
index 6adacc3..9cb9b49 100644
--- a/omaha_request_action.cc
+++ b/omaha_request_action.cc
@@ -437,14 +437,15 @@
install_date_in_days,
system_state);
}
- // Create APP ID according to |dlc_id| (sticking the current AppID to the DLC
- // ID with an underscode).
- for (const auto& dlc_id : params->dlc_ids()) {
- OmahaAppData dlc_app = {.id = params->GetAppId() + "_" + dlc_id,
- .version = params->app_version()};
+ // Create APP ID according to |dlc_module_id| (sticking the current AppID to
+ // the DLC module ID with an underscode).
+ for (const auto& dlc_module_id : params->dlc_module_ids()) {
+ OmahaAppData dlc_module_app = {
+ .id = params->GetAppId() + "_" + dlc_module_id,
+ .version = params->app_version()};
app_xml += GetAppXml(event,
params,
- dlc_app,
+ dlc_module_app,
ping_only,
include_ping,
false, /* skip_updatecheck */