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

Unified Diff: chrome/browser/ui/webui/help/version_updater_chromeos.h

Issue 17437004: Implemented new channel switcher UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed FakeUpdateEngineClient. Created 7 years, 6 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
Index: chrome/browser/ui/webui/help/version_updater_chromeos.h
diff --git a/chrome/browser/ui/webui/help/version_updater_chromeos.h b/chrome/browser/ui/webui/help/version_updater_chromeos.h
index ffd4782b6cf21a88bc48d475f438e89fc915c90d..59bbecd228ea41d7a14d8f45784069e120908710 100644
--- a/chrome/browser/ui/webui/help/version_updater_chromeos.h
+++ b/chrome/browser/ui/webui/help/version_updater_chromeos.h
@@ -16,8 +16,10 @@ class VersionUpdaterCros : public VersionUpdater,
// VersionUpdater implementation.
virtual void CheckForUpdate(const StatusCallback& callback) OVERRIDE;
virtual void RelaunchBrowser() const OVERRIDE;
- virtual void SetReleaseChannel(const std::string& channel) OVERRIDE;
- virtual void GetReleaseChannel(const ChannelCallback& callback) OVERRIDE;
+ virtual void SetChannel(const std::string& channel,
+ bool is_powerwash_allowed) OVERRIDE;
+ virtual void GetChannel(bool get_current_channel,
+ const ChannelCallback& callback) OVERRIDE;
protected:
friend class VersionUpdater;
@@ -34,15 +36,9 @@ class VersionUpdaterCros : public VersionUpdater,
// Callback from UpdateEngineClient::RequestUpdateCheck().
void OnUpdateCheck(chromeos::UpdateEngineClient::UpdateCheckResult result);
- // Callback from UpdateEngineClient::GetReleaseTrack().
- void UpdateSelectedChannel(const std::string& channel);
-
// Callback used to communicate update status to the client.
StatusCallback callback_;
- // Callback used to communicate current channel to the client.
- ChannelCallback channel_callback_;
-
// Last state received via UpdateStatusChanged().
chromeos::UpdateEngineClient::UpdateStatusOperation last_operation_;

Powered by Google App Engine
This is Rietveld 408576698