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

Unified Diff: omaha_request_params.h

Issue 4181001: AU: Implement getting of tracks through GetTrack. (Closed) Base URL: http://git.chromium.org/git/update_engine.git
Patch Set: sort by names Created 10 years, 2 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 | « dbus_service.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 d7d2493bc9523d0d1b29eab32ddea2b5b143638a..b8e2ee554d22ea02f2cf546bcf3559643c513da9 100644
--- a/omaha_request_params.h
+++ b/omaha_request_params.h
@@ -80,6 +80,9 @@ class OmahaRequestDeviceParams : public OmahaRequestParams {
bool SetTrack(const std::string& track);
static bool SetDeviceTrack(const std::string& track);
+ // Returns the release track. On error, returns an empty string.
+ static std::string GetDeviceTrack();
+
// For unit-tests.
void set_root(const std::string& root) { root_ = root; }
« no previous file with comments | « dbus_service.cc ('k') | omaha_request_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698