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

Unified Diff: omaha_request_prep_action.cc

Issue 2827032: AU: Send board (e.g. x86-generic) to update server in query. (Closed) Base URL: ssh://git@chromiumos-git/update_engine.git
Patch Set: Created 10 years, 6 months 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_prep_action_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: omaha_request_prep_action.cc
diff --git a/omaha_request_prep_action.cc b/omaha_request_prep_action.cc
index 25772d03ae6493eb4c72bc7571c1deef9fe90bd4..7163119cb57634ef862f48051c66fe69542ad220 100644
--- a/omaha_request_prep_action.cc
+++ b/omaha_request_prep_action.cc
@@ -36,12 +36,14 @@ void OmahaRequestPrepAction::PerformAction() {
const string track(GetLsbValue("CHROMEOS_RELEASE_TRACK", ""));
const string update_url(GetLsbValue("CHROMEOS_AUSERVER",
UpdateCheckParams::kUpdateUrl));
+ const string board(GetLsbValue("CHROMEOS_RELEASE_BOARD", ""));
UpdateCheckParams out(machine_id, // machine_id
machine_id, // user_id (use machine_id)
UpdateCheckParams::kOsPlatform,
UpdateCheckParams::kOsVersion,
sp, // e.g. 0.2.3.3_i686
+ board, // e.g. x86-generic
UpdateCheckParams::kAppId,
version, // app version (from lsb-release)
"en-US", // lang
« no previous file with comments | « no previous file | omaha_request_prep_action_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698