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

Unified Diff: src/platform/update_engine/update_check_action.h

Issue 1881001: AU: Many minor cleanup changes (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: fixes for review Created 10 years, 8 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 | « src/platform/update_engine/update_attempter.cc ('k') | src/platform/update_engine/update_check_action.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/update_engine/update_check_action.h
diff --git a/src/platform/update_engine/update_check_action.h b/src/platform/update_engine/update_check_action.h
index da48aba1edaf6879d176d1e9394042a241fba2cc..831039dfd1d37218a40cdfd95bf47ced61270905 100644
--- a/src/platform/update_engine/update_check_action.h
+++ b/src/platform/update_engine/update_check_action.h
@@ -39,7 +39,8 @@ struct UpdateCheckParams {
const std::string& in_app_id,
const std::string& in_app_version,
const std::string& in_app_lang,
- const std::string& in_app_track)
+ const std::string& in_app_track,
+ const std::string& in_update_url)
: machine_id(in_machine_id),
user_id(in_user_id),
os_platform(in_os_platform),
@@ -48,22 +49,26 @@ struct UpdateCheckParams {
app_id(in_app_id),
app_version(in_app_version),
app_lang(in_app_lang),
- app_track(in_app_track) {}
-
- std::string machine_id;
- std::string user_id;
- std::string os_platform;
- std::string os_version;
- std::string os_sp;
- std::string app_id;
- std::string app_version;
- std::string app_lang;
- std::string app_track;
+ app_track(in_app_track),
+ update_url(in_update_url) {}
+
+ std::string machine_id;
+ std::string user_id;
+ std::string os_platform;
+ std::string os_version;
+ std::string os_sp;
+ std::string app_id;
+ std::string app_version;
+ std::string app_lang;
+ std::string app_track;
+
+ std::string update_url;
// Suggested defaults
static const char* const kAppId;
static const char* const kOsPlatform;
static const char* const kOsVersion;
+ static const char* const kUpdateUrl;
};
// This struct encapsulates the data Omaha returns for the update check.
« no previous file with comments | « src/platform/update_engine/update_attempter.cc ('k') | src/platform/update_engine/update_check_action.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698