OLD | NEW |
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_PLUGIN_INSTALLER_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_OBSERVER_H_ |
6 #define CHROME_BROWSER_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; |
11 | 11 |
12 class PluginInstallerObserver { | 12 class PluginInstallerObserver { |
13 public: | 13 public: |
14 explicit PluginInstallerObserver(PluginInstaller* installer); | 14 explicit PluginInstallerObserver(PluginInstaller* installer); |
15 virtual ~PluginInstallerObserver(); | 15 virtual ~PluginInstallerObserver(); |
16 | 16 |
(...skipping 19 matching lines...) Expand all Loading... |
36 public: | 36 public: |
37 explicit WeakPluginInstallerObserver(PluginInstaller* installer); | 37 explicit WeakPluginInstallerObserver(PluginInstaller* installer); |
38 virtual ~WeakPluginInstallerObserver(); | 38 virtual ~WeakPluginInstallerObserver(); |
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_PLUGIN_INSTALLER_OBSERVER_H_ | 46 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INSTALLER_OBSERVER_H_ |
OLD | NEW |