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_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_OBSERVER_H_ |
6 #define CHROME_BROWSER_PLUGIN_OBSERVER_H_ | 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_OBSERVER_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "content/public/browser/web_contents_observer.h" | 9 #include "content/public/browser/web_contents_observer.h" |
10 | 10 |
11 #if defined(ENABLE_PLUGIN_INSTALLATION) | 11 #if defined(ENABLE_PLUGIN_INSTALLATION) |
12 #include <map> | 12 #include <map> |
13 #endif | 13 #endif |
14 | 14 |
15 class GURL; | 15 class GURL; |
16 class InfoBarDelegate; | 16 class InfoBarDelegate; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 TabContents* tab_contents_; | 63 TabContents* tab_contents_; |
64 | 64 |
65 #if defined(ENABLE_PLUGIN_INSTALLATION) | 65 #if defined(ENABLE_PLUGIN_INSTALLATION) |
66 // Stores all PluginPlaceholderHosts, keyed by their routing ID. | 66 // Stores all PluginPlaceholderHosts, keyed by their routing ID. |
67 std::map<int, PluginPlaceholderHost*> plugin_placeholders_; | 67 std::map<int, PluginPlaceholderHost*> plugin_placeholders_; |
68 #endif | 68 #endif |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(PluginObserver); | 70 DISALLOW_COPY_AND_ASSIGN(PluginObserver); |
71 }; | 71 }; |
72 | 72 |
73 #endif // CHROME_BROWSER_PLUGIN_OBSERVER_H_ | 73 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_OBSERVER_H_ |
OLD | NEW |