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

Unified Diff: omaha_request_params.h

Issue 3048008: Add support to update_engine_client for -app_version and -omaha_url. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: Don't use ?: shorthand. 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.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 fb4196ea3577c3a641c7c2de2dd9da63d36f6bf9..16def259192b276869c57153c5ffab5c3d82e494 100644
--- a/omaha_request_params.h
+++ b/omaha_request_params.h
@@ -67,11 +67,13 @@ struct OmahaRequestParams {
class OmahaRequestDeviceParams : public OmahaRequestParams {
public:
- explicit OmahaRequestDeviceParams() {}
+ OmahaRequestDeviceParams() {}
- // Initializes all the data in the object. Returns true on success,
- // false otherwise.
- bool Init();
+ // Initializes all the data in the object. Non-empty
+ // |in_app_version| or |in_update_url| prevents automatic detection
+ // of the parameter. Returns true on success, false otherwise.
+ bool Init(const std::string& in_app_version,
+ const std::string& in_update_url);
// For unit-tests.
void set_root(const std::string& root) { root_ = root; }
« no previous file with comments | « omaha_request_action.cc ('k') | omaha_request_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698