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

Side by Side Diff: chrome/browser/ui/webui/help/version_updater.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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_H_
6 #define CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 #if defined(OS_MACOSX) 69 #if defined(OS_MACOSX)
70 // Make updates available for all users. 70 // Make updates available for all users.
71 virtual void PromoteUpdater() const = 0; 71 virtual void PromoteUpdater() const = 0;
72 #endif 72 #endif
73 73
74 // Relaunches the browser, generally after being updated. 74 // Relaunches the browser, generally after being updated.
75 virtual void RelaunchBrowser() const = 0; 75 virtual void RelaunchBrowser() const = 0;
76 76
77 #if defined(OS_CHROMEOS) 77 #if defined(OS_CHROMEOS)
78 virtual void SetReleaseChannel(const std::string& channel) = 0; 78 virtual void SetChannel(const std::string& channel,
79 virtual void GetReleaseChannel(const ChannelCallback& callback) = 0; 79 bool is_powerwash_allowed) = 0;
80 virtual void GetChannel(bool get_current_channel,
81 const ChannelCallback& callback) = 0;
80 #endif 82 #endif
81 }; 83 };
82 84
83 #endif // CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_H_ 85 #endif // CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698