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

Side by Side Diff: chrome/browser/ui/webui/help/version_updater.h

Issue 2039273003: Cleanup: Remove VersionUpdater::RelaunchBrowser interface method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comment. Created 4 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 unified diff | Download patch
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // (which is only used on the Mac) can be used to show or hide the promote UI 66 // (which is only used on the Mac) can be used to show or hide the promote UI
67 // elements. 67 // elements.
68 virtual void CheckForUpdate(const StatusCallback& status_callback, 68 virtual void CheckForUpdate(const StatusCallback& status_callback,
69 const PromoteCallback& promote_callback) = 0; 69 const PromoteCallback& promote_callback) = 0;
70 70
71 #if defined(OS_MACOSX) 71 #if defined(OS_MACOSX)
72 // Make updates available for all users. 72 // Make updates available for all users.
73 virtual void PromoteUpdater() const = 0; 73 virtual void PromoteUpdater() const = 0;
74 #endif 74 #endif
75 75
76 // Relaunches the browser, generally after being updated.
77 virtual void RelaunchBrowser() const = 0;
78
79 #if defined(OS_CHROMEOS) 76 #if defined(OS_CHROMEOS)
80 virtual void SetChannel(const std::string& channel, 77 virtual void SetChannel(const std::string& channel,
81 bool is_powerwash_allowed) = 0; 78 bool is_powerwash_allowed) = 0;
82 virtual void GetChannel(bool get_current_channel, 79 virtual void GetChannel(bool get_current_channel,
83 const ChannelCallback& callback) = 0; 80 const ChannelCallback& callback) = 0;
84 #endif 81 #endif
85 }; 82 };
86 83
87 #endif // CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_H_ 84 #endif // CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/help/help_handler.cc ('k') | chrome/browser/ui/webui/help/version_updater_basic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698