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

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

Issue 16632008: Use a direct include of strings headers in chrome/browser/ui/webui/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 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"
11 #include "base/string16.h" 11 #include "base/strings/string16.h"
12 12
13 // Interface implemented to expose per-platform updating functionality. 13 // Interface implemented to expose per-platform updating functionality.
14 class VersionUpdater { 14 class VersionUpdater {
15 public: 15 public:
16 // Update process state machine. 16 // Update process state machine.
17 enum Status { 17 enum Status {
18 CHECKING, 18 CHECKING,
19 UPDATING, 19 UPDATING,
20 NEARLY_UPDATED, 20 NEARLY_UPDATED,
21 UPDATED, 21 UPDATED,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 SetReleaseChannel(const std::string& channel) = 0;
79 virtual void GetReleaseChannel(const ChannelCallback& callback) = 0; 79 virtual void GetReleaseChannel(const ChannelCallback& callback) = 0;
80 #endif 80 #endif
81 }; 81 };
82 82
83 #endif // CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_H_ 83 #endif // CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/help/help_utils_chromeos.h ('k') | chrome/browser/ui/webui/help/version_updater_basic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698