OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |