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

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

Issue 10541013: Add relaunch prompt to linux help page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 8 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
(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_UNIMPLEMENTED_H_
6 #define CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_UNIMPLEMENTED_H_
7 #pragma once
8
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/webui/help/version_updater.h"
11
12 // Temporary empty implementation used by platforms that have not specialized
13 // VersionUpdater.
14 class VersionUpdaterUnimplemented : public VersionUpdater {
15 public:
16 // VersionUpdater implementation.
17 virtual void CheckForUpdate(const StatusCallback& callback) OVERRIDE {}
18 virtual void RelaunchBrowser() const OVERRIDE {}
19
20 protected:
21 friend class VersionUpdater;
22
23 // Clients must use VersionUpdater::Create().
24 VersionUpdaterUnimplemented() {}
25 virtual ~VersionUpdaterUnimplemented() {}
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(VersionUpdaterUnimplemented);
29 };
30
31 #endif // CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_UNIMPLEMENTED_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/help/version_updater_basic.cc ('k') | chrome/browser/ui/webui/help/version_updater_unimplemented.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698