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

Side by Side Diff: chrome/browser/plugins/plugin_installer_observer.h

Issue 649683010: Standardize usage of virtual/override/final in chrome/browser/plugins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_PLUGINS_PLUGIN_INSTALLER_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_OBSERVER_H_
6 #define CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_OBSERVER_H_ 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 class PluginInstaller; 10 class PluginInstaller;
(...skipping 17 matching lines...) Expand all
28 // Weak pointer; Owned by PluginFinder, which is a singleton. 28 // Weak pointer; Owned by PluginFinder, which is a singleton.
29 PluginInstaller* installer_; 29 PluginInstaller* installer_;
30 }; 30 };
31 31
32 // A WeakPluginInstallerObserver is like a weak pointer to the installer, in the 32 // A WeakPluginInstallerObserver is like a weak pointer to the installer, in the
33 // sense that if only weak observers are left, we don't need to show 33 // sense that if only weak observers are left, we don't need to show
34 // installation UI anymore. 34 // installation UI anymore.
35 class WeakPluginInstallerObserver : public PluginInstallerObserver { 35 class WeakPluginInstallerObserver : public PluginInstallerObserver {
36 public: 36 public:
37 explicit WeakPluginInstallerObserver(PluginInstaller* installer); 37 explicit WeakPluginInstallerObserver(PluginInstaller* installer);
38 virtual ~WeakPluginInstallerObserver(); 38 ~WeakPluginInstallerObserver() override;
39 39
40 private: 40 private:
41 friend class PluginInstaller; 41 friend class PluginInstaller;
42 42
43 virtual void OnlyWeakObserversLeft(); 43 virtual void OnlyWeakObserversLeft();
44 }; 44 };
45 45
46 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_OBSERVER_H_ 46 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_installer.h ('k') | chrome/browser/plugins/plugin_installer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698