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

Unified Diff: omaha_request_params.h

Issue 3017006: AU: pass whether or not we can tolerate a delta to the server (Closed) Base URL: ssh://git@chromiumos-git/update_engine.git
Patch Set: merge master (which has petkov's CL in) Created 10 years, 5 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 | « omaha_request_action_unittest.cc ('k') | omaha_request_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: omaha_request_params.h
diff --git a/omaha_request_params.h b/omaha_request_params.h
index 136c60ac3fcf3fb5b71fc0355d5cbfeb04a95841..fb4196ea3577c3a641c7c2de2dd9da63d36f6bf9 100644
--- a/omaha_request_params.h
+++ b/omaha_request_params.h
@@ -29,6 +29,7 @@ struct OmahaRequestParams {
const std::string& in_app_version,
const std::string& in_app_lang,
const std::string& in_app_track,
+ const bool in_delta_okay,
const std::string& in_update_url)
: machine_id(in_machine_id),
user_id(in_user_id),
@@ -40,6 +41,7 @@ struct OmahaRequestParams {
app_version(in_app_version),
app_lang(in_app_lang),
app_track(in_app_track),
+ delta_okay(in_delta_okay),
update_url(in_update_url) {}
std::string machine_id;
@@ -52,6 +54,7 @@ struct OmahaRequestParams {
std::string app_version;
std::string app_lang;
std::string app_track;
+ bool delta_okay; // If this client can accept a delta
std::string update_url;
« no previous file with comments | « omaha_request_action_unittest.cc ('k') | omaha_request_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698