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 #include "content/renderer/pepper/pepper_plugin_registry.h" | 5 #include "content/renderer/pepper/pepper_plugin_registry.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
8 #include "content/common/pepper_plugin_list.h" | 10 #include "content/common/pepper_plugin_list.h" |
9 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" | 11 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
10 #include "content/renderer/pepper/plugin_module.h" | 12 #include "content/renderer/pepper/plugin_module.h" |
11 #include "ppapi/shared_impl/ppapi_permissions.h" | 13 #include "ppapi/shared_impl/ppapi_permissions.h" |
12 | 14 |
13 namespace content { | 15 namespace content { |
14 | 16 |
15 // static | 17 // static |
16 PepperPluginRegistry* PepperPluginRegistry::GetInstance() { | 18 PepperPluginRegistry* PepperPluginRegistry::GetInstance() { |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 if (!module->InitAsLibrary(current.path)) { | 133 if (!module->InitAsLibrary(current.path)) { |
132 DVLOG(1) << "Failed to load pepper module: " << current.path.value(); | 134 DVLOG(1) << "Failed to load pepper module: " << current.path.value(); |
133 continue; | 135 continue; |
134 } | 136 } |
135 } | 137 } |
136 preloaded_modules_[current.path] = module; | 138 preloaded_modules_[current.path] = module; |
137 } | 139 } |
138 } | 140 } |
139 | 141 |
140 } // namespace content | 142 } // namespace content |
OLD | NEW |