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

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

Issue 9320056: Help: Implement the initial version of the cross-platform help/about page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: String fix. Created 8 years, 10 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_CHROMEOS_H_
7 #pragma once
8
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"
12
13 class VersionUpdaterCros : public VersionUpdater,
14 public chromeos::UpdateEngineClient::Observer {
15 public:
16 // VersionUpdater implementation.
17 virtual bool CanBeUpdated() const OVERRIDE;
Nico 2012/02/05 04:50:28 Doesn't actually override anything.
18 virtual void CheckForUpdate(const StatusCallback& callback) OVERRIDE;
19 virtual void RelaunchBrowser() const OVERRIDE;
20
21 protected:
22 friend class VersionUpdater;
23
24 // Clients must use VersionUpdater::Create().
25 VersionUpdaterCros() {}
26 virtual ~VersionUpdaterCros();
27
28 private:
29 // UpdateEngineClient::Observer implementation.
30 virtual void UpdateStatusChanged(
31 const chromeos::UpdateEngineClient::Status& status) OVERRIDE;
32
33 // Callback used to communicate update status to the client.
34 StatusCallback callback_;
35
36 DISALLOW_COPY_AND_ASSIGN(VersionUpdaterCros);
37 };
38
39 #endif // CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698