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

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

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 8 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_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_CHROMEOS_H_ 6 #define CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_CHROMEOS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/chromeos/dbus/update_engine_client.h"
11 #include "chrome/browser/ui/webui/help/version_updater.h" 10 #include "chrome/browser/ui/webui/help/version_updater.h"
11 #include "chromeos/dbus/update_engine_client.h"
12 12
13 class VersionUpdaterCros : public VersionUpdater, 13 class VersionUpdaterCros : public VersionUpdater,
14 public chromeos::UpdateEngineClient::Observer { 14 public chromeos::UpdateEngineClient::Observer {
15 public: 15 public:
16 // VersionUpdater implementation. 16 // VersionUpdater implementation.
17 virtual void CheckForUpdate(const StatusCallback& callback) OVERRIDE; 17 virtual void CheckForUpdate(const StatusCallback& callback) OVERRIDE;
18 virtual void RelaunchBrowser() const OVERRIDE; 18 virtual void RelaunchBrowser() const OVERRIDE;
19 virtual void SetReleaseChannel(const std::string& channel) OVERRIDE; 19 virtual void SetReleaseChannel(const std::string& channel) OVERRIDE;
20 virtual void GetReleaseChannel(const ChannelCallback& callback) OVERRIDE; 20 virtual void GetReleaseChannel(const ChannelCallback& callback) OVERRIDE;
21 21
(...skipping 18 matching lines...) Expand all
40 // Callback used to communicate update status to the client. 40 // Callback used to communicate update status to the client.
41 StatusCallback callback_; 41 StatusCallback callback_;
42 42
43 // Callback used to communicate current channel to the client. 43 // Callback used to communicate current channel to the client.
44 ChannelCallback channel_callback_; 44 ChannelCallback channel_callback_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(VersionUpdaterCros); 46 DISALLOW_COPY_AND_ASSIGN(VersionUpdaterCros);
47 }; 47 };
48 48
49 #endif // CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_CHROMEOS_H_ 49 #endif // CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698