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

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

Issue 681823004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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_BASIC_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_BASIC_H_
6 #define CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_BASIC_H_ 6 #define CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_BASIC_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/ui/webui/help/version_updater.h" 9 #include "chrome/browser/ui/webui/help/version_updater.h"
10 10
11 // Bare bones implementation just checks if a new version is ready. 11 // Bare bones implementation just checks if a new version is ready.
12 class VersionUpdaterBasic : public VersionUpdater { 12 class VersionUpdaterBasic : public VersionUpdater {
13 public: 13 public:
14 // VersionUpdater implementation. 14 // VersionUpdater implementation.
15 virtual void CheckForUpdate(const StatusCallback& callback) override; 15 void CheckForUpdate(const StatusCallback& callback) override;
16 virtual void RelaunchBrowser() const override; 16 void RelaunchBrowser() const override;
17 17
18 protected: 18 protected:
19 friend class VersionUpdater; 19 friend class VersionUpdater;
20 20
21 // Clients must use VersionUpdater::Create(). 21 // Clients must use VersionUpdater::Create().
22 VersionUpdaterBasic() {} 22 VersionUpdaterBasic() {}
23 virtual ~VersionUpdaterBasic() {} 23 ~VersionUpdaterBasic() override {}
24 24
25 private: 25 private:
26 DISALLOW_COPY_AND_ASSIGN(VersionUpdaterBasic); 26 DISALLOW_COPY_AND_ASSIGN(VersionUpdaterBasic);
27 }; 27 };
28 28
29 #endif // CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_BASIC_H_ 29 #endif // CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_BASIC_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/gesture_config_ui.h ('k') | chrome/browser/ui/webui/identity_internals_ui_browsertest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698