summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/cros/update_library.h
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-11-18 18:32:45 +0000
committerBen Murdoch <benm@google.com>2010-11-18 18:38:07 +0000
commit513209b27ff55e2841eac0e4120199c23acce758 (patch)
treeaeba30bb08c5f47c57003544e378a377c297eee6 /chrome/browser/chromeos/cros/update_library.h
parent164f7496de0fbee436b385a79ead9e3cb81a50c1 (diff)
downloadexternal_chromium-513209b27ff55e2841eac0e4120199c23acce758.zip
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.gz
external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.bz2
Merge Chromium at r65505: Initial merge by git.
Change-Id: I31d8f1d8cd33caaf7f47ffa7350aef42d5fbdb45
Diffstat (limited to 'chrome/browser/chromeos/cros/update_library.h')
-rw-r--r--chrome/browser/chromeos/cros/update_library.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/cros/update_library.h b/chrome/browser/chromeos/cros/update_library.h
index 7b95815..e8a9daa 100644
--- a/chrome/browser/chromeos/cros/update_library.h
+++ b/chrome/browser/chromeos/cros/update_library.h
@@ -68,6 +68,14 @@ class UpdateLibrary {
// Reboots if update has been performed.
virtual bool RebootAfterUpdate() = 0;
+ // Sets the release track (channel). |track| should look like
+ // "beta-channel" and "dev-channel". Returns true on success.
+ virtual bool SetReleaseTrack(const std::string& track) = 0;
+
+ // Returns the release track (channel). On error, returns an empty
+ // string.
+ virtual std::string GetReleaseTrack() = 0;
+
virtual const Status& status() const = 0;
// Factory function, creates a new instance and returns ownership.
@@ -78,4 +86,3 @@ class UpdateLibrary {
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_CROS_UPDATE_LIBRARY_H_
-