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 "chrome/renderer/chrome_content_renderer_client.h" | 5 #include "chrome/renderer/chrome_content_renderer_client.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
13 #include "base/path_service.h" | 13 #include "base/path_service.h" |
14 #include "base/string_tokenizer.h" | |
15 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
16 #include "base/values.h" | 15 #include "base/values.h" |
17 #include "chrome/common/child_process_logging.h" | 16 #include "chrome/common/child_process_logging.h" |
18 #include "chrome/common/chrome_content_client.h" | 17 #include "chrome/common/chrome_content_client.h" |
19 #include "chrome/common/chrome_paths.h" | 18 #include "chrome/common/chrome_paths.h" |
20 #include "chrome/common/chrome_switches.h" | 19 #include "chrome/common/chrome_switches.h" |
21 #include "chrome/common/content_settings_pattern.h" | 20 #include "chrome/common/content_settings_pattern.h" |
22 #include "chrome/common/extensions/extension.h" | 21 #include "chrome/common/extensions/extension.h" |
23 #include "chrome/common/extensions/extension_constants.h" | 22 #include "chrome/common/extensions/extension_constants.h" |
24 #include "chrome/common/extensions/extension_manifest_constants.h" | 23 #include "chrome/common/extensions/extension_manifest_constants.h" |
(...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 } | 1059 } |
1061 | 1060 |
1062 void ChromeContentRendererClient::RegisterPPAPIInterfaceFactories( | 1061 void ChromeContentRendererClient::RegisterPPAPIInterfaceFactories( |
1063 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { | 1062 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { |
1064 #if defined(ENABLE_PLUGINS) | 1063 #if defined(ENABLE_PLUGINS) |
1065 factory_manager->RegisterFactory(ChromePPAPIInterfaceFactory); | 1064 factory_manager->RegisterFactory(ChromePPAPIInterfaceFactory); |
1066 #endif | 1065 #endif |
1067 } | 1066 } |
1068 | 1067 |
1069 } // namespace chrome | 1068 } // namespace chrome |
OLD | NEW |