Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: omaha_request_params.cc

Issue 5022001: AU: Allow override of "appid" through the lsb-release file. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git@master
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | omaha_request_params_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: omaha_request_params.cc
diff --git a/omaha_request_params.cc b/omaha_request_params.cc
index 19bcc6a66ea057ecef5705e57bfa2c530e6f8f14..6884c839a478265c4ab3072cb1fe6ef77cfa28ff 100644
--- a/omaha_request_params.cc
+++ b/omaha_request_params.cc
@@ -47,7 +47,9 @@ bool OmahaRequestDeviceParams::Init(const std::string& in_app_version,
GetLsbValue("CHROMEOS_RELEASE_VERSION", "", NULL) : in_app_version;
os_sp = app_version + "_" + GetMachineType();
os_board = GetLsbValue("CHROMEOS_RELEASE_BOARD", "", NULL);
- app_id = OmahaRequestParams::kAppId;
+ app_id = GetLsbValue("CHROMEOS_RELEASE_APPID",
+ OmahaRequestParams::kAppId,
+ NULL);
app_lang = "en-US";
app_track = GetLsbValue(
kUpdateTrackKey,
« no previous file with comments | « no previous file | omaha_request_params_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698