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 CONTENT_RENDERER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_REGISTRY_H_ | 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_REGISTRY_H_ |
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_REGISTRY_H_ | 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_REGISTRY_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/id_map.h" | 8 #include "base/id_map.h" |
10 #include "base/process.h" | 9 #include "base/process.h" |
11 #include "webkit/plugins/ppapi/plugin_delegate.h" | 10 #include "webkit/plugins/ppapi/plugin_delegate.h" |
12 | 11 |
13 namespace content { | 12 namespace content { |
14 | 13 |
15 // This class holds references to all of the known live browser plugin | 14 // This class holds references to all of the known live browser plugin |
16 // modules. There is one browser plugin module per guest renderer process. | 15 // modules. There is one browser plugin module per guest renderer process. |
17 class BrowserPluginRegistry | 16 class BrowserPluginRegistry |
(...skipping 10 matching lines...) Expand all Loading... |
28 virtual void PluginModuleDead( | 27 virtual void PluginModuleDead( |
29 webkit::ppapi::PluginModule* dead_module) OVERRIDE; | 28 webkit::ppapi::PluginModule* dead_module) OVERRIDE; |
30 | 29 |
31 private: | 30 private: |
32 IDMap<webkit::ppapi::PluginModule> modules_; | 31 IDMap<webkit::ppapi::PluginModule> modules_; |
33 }; | 32 }; |
34 | 33 |
35 } // namespace content | 34 } // namespace content |
36 | 35 |
37 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_REGISTRY_H_ | 36 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_OLD_BROWSER_PLUGIN_REGISTRY_H_ |
OLD | NEW |