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/common/pepper_plugin_registry.h" | 5 #include "content/common/pepper_plugin_registry.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_util.h" | |
9 #include "base/native_library.h" | 8 #include "base/native_library.h" |
10 #include "base/string_util.h" | 9 #include "base/string_util.h" |
11 #include "base/strings/string_split.h" | 10 #include "base/strings/string_split.h" |
12 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
13 #include "content/public/common/content_client.h" | 12 #include "content/public/common/content_client.h" |
14 #include "content/public/common/content_switches.h" | 13 #include "content/public/common/content_switches.h" |
15 #include "ppapi/shared_impl/ppapi_permissions.h" | 14 #include "ppapi/shared_impl/ppapi_permissions.h" |
16 #include "webkit/plugins/npapi/plugin_list.h" | 15 #include "webkit/plugins/npapi/plugin_list.h" |
17 | 16 |
18 namespace content { | 17 namespace content { |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 if (!module->InitAsLibrary(current.path)) { | 241 if (!module->InitAsLibrary(current.path)) { |
243 DLOG(ERROR) << "Failed to load pepper module: " << current.path.value(); | 242 DLOG(ERROR) << "Failed to load pepper module: " << current.path.value(); |
244 continue; | 243 continue; |
245 } | 244 } |
246 } | 245 } |
247 preloaded_modules_[current.path] = module; | 246 preloaded_modules_[current.path] = module; |
248 } | 247 } |
249 } | 248 } |
250 | 249 |
251 } // namespace content | 250 } // namespace content |
OLD | NEW |