diff options
Diffstat (limited to 'chrome/browser/chromeos/cros/update_library.h')
| -rw-r--r-- | chrome/browser/chromeos/cros/update_library.h | 9 |
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_ - |
