| 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_PEPPER_PEPPER_PLUGIN_REGISTRY_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_REGISTRY_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_REGISTRY_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_REGISTRY_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 12 #include "content/public/common/pepper_plugin_info.h" | 13 #include "content/public/common/pepper_plugin_info.h" |
| 13 | 14 |
| 14 namespace content { | 15 namespace content { |
| 15 class PluginModule; | 16 class PluginModule; |
| 16 | 17 |
| 17 // This class holds references to all of the known pepper plugin modules. | 18 // This class holds references to all of the known pepper plugin modules. |
| 18 // | 19 // |
| 19 // It keeps two lists. One list of preloaded in-process modules, and one list | 20 // It keeps two lists. One list of preloaded in-process modules, and one list |
| 20 // is a list of all live modules (some of which may be out-of-process and hence | 21 // is a list of all live modules (some of which may be out-of-process and hence |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 // appear in this list. | 67 // appear in this list. |
| 67 typedef std::map<base::FilePath, PluginModule*> NonOwningModuleMap; | 68 typedef std::map<base::FilePath, PluginModule*> NonOwningModuleMap; |
| 68 NonOwningModuleMap live_modules_; | 69 NonOwningModuleMap live_modules_; |
| 69 | 70 |
| 70 DISALLOW_COPY_AND_ASSIGN(PepperPluginRegistry); | 71 DISALLOW_COPY_AND_ASSIGN(PepperPluginRegistry); |
| 71 }; | 72 }; |
| 72 | 73 |
| 73 } // namespace content | 74 } // namespace content |
| 74 | 75 |
| 75 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_REGISTRY_H_ | 76 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_REGISTRY_H_ |
| OLD | NEW |