Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 23744004: Move the rest of extension_manifest_constants to top-level extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/debug/crash_logging.h" 8 #include "base/debug/crash_logging.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "chrome/common/chrome_content_client.h" 16 #include "chrome/common/chrome_content_client.h"
17 #include "chrome/common/chrome_paths.h" 17 #include "chrome/common/chrome_paths.h"
18 #include "chrome/common/chrome_switches.h" 18 #include "chrome/common/chrome_switches.h"
19 #include "chrome/common/content_settings_pattern.h" 19 #include "chrome/common/content_settings_pattern.h"
20 #include "chrome/common/crash_keys.h" 20 #include "chrome/common/crash_keys.h"
21 #include "chrome/common/extensions/chrome_extensions_client.h" 21 #include "chrome/common/extensions/chrome_extensions_client.h"
22 #include "chrome/common/extensions/extension.h" 22 #include "chrome/common/extensions/extension.h"
23 #include "chrome/common/extensions/extension_constants.h" 23 #include "chrome/common/extensions/extension_constants.h"
24 #include "chrome/common/extensions/extension_manifest_constants.h"
25 #include "chrome/common/extensions/extension_process_policy.h" 24 #include "chrome/common/extensions/extension_process_policy.h"
26 #include "chrome/common/extensions/extension_set.h" 25 #include "chrome/common/extensions/extension_set.h"
27 #include "chrome/common/external_ipc_fuzzer.h" 26 #include "chrome/common/external_ipc_fuzzer.h"
28 #include "chrome/common/localized_error.h" 27 #include "chrome/common/localized_error.h"
29 #include "chrome/common/pepper_permission_util.h" 28 #include "chrome/common/pepper_permission_util.h"
30 #include "chrome/common/render_messages.h" 29 #include "chrome/common/render_messages.h"
31 #include "chrome/common/url_constants.h" 30 #include "chrome/common/url_constants.h"
32 #include "chrome/renderer/benchmarking_extension.h" 31 #include "chrome/renderer/benchmarking_extension.h"
33 #include "chrome/renderer/chrome_render_process_observer.h" 32 #include "chrome/renderer/chrome_render_process_observer.h"
34 #include "chrome/renderer/chrome_render_view_observer.h" 33 #include "chrome/renderer/chrome_render_view_observer.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 #include "extensions/common/constants.h" 73 #include "extensions/common/constants.h"
75 #include "extensions/common/extension_urls.h" 74 #include "extensions/common/extension_urls.h"
76 #include "grit/generated_resources.h" 75 #include "grit/generated_resources.h"
77 #include "grit/locale_settings.h" 76 #include "grit/locale_settings.h"
78 #include "grit/renderer_resources.h" 77 #include "grit/renderer_resources.h"
79 #include "ipc/ipc_sync_channel.h" 78 #include "ipc/ipc_sync_channel.h"
80 #include "net/base/net_errors.h" 79 #include "net/base/net_errors.h"
81 #include "ppapi/c/private/ppb_nacl_private.h" 80 #include "ppapi/c/private/ppb_nacl_private.h"
82 #include "ppapi/c/private/ppb_pdf.h" 81 #include "ppapi/c/private/ppb_pdf.h"
83 #include "ppapi/shared_impl/ppapi_switches.h" 82 #include "ppapi/shared_impl/ppapi_switches.h"
83 #include "third_party/WebKit/public/platform/WebURL.h"
84 #include "third_party/WebKit/public/platform/WebURLError.h"
85 #include "third_party/WebKit/public/platform/WebURLRequest.h"
84 #include "third_party/WebKit/public/web/WebCache.h" 86 #include "third_party/WebKit/public/web/WebCache.h"
85 #include "third_party/WebKit/public/web/WebDataSource.h" 87 #include "third_party/WebKit/public/web/WebDataSource.h"
86 #include "third_party/WebKit/public/web/WebDocument.h" 88 #include "third_party/WebKit/public/web/WebDocument.h"
87 #include "third_party/WebKit/public/web/WebElement.h" 89 #include "third_party/WebKit/public/web/WebElement.h"
88 #include "third_party/WebKit/public/web/WebFrame.h" 90 #include "third_party/WebKit/public/web/WebFrame.h"
89 #include "third_party/WebKit/public/web/WebPluginContainer.h" 91 #include "third_party/WebKit/public/web/WebPluginContainer.h"
90 #include "third_party/WebKit/public/web/WebPluginParams.h" 92 #include "third_party/WebKit/public/web/WebPluginParams.h"
91 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" 93 #include "third_party/WebKit/public/web/WebSecurityOrigin.h"
92 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" 94 #include "third_party/WebKit/public/web/WebSecurityPolicy.h"
93 #include "third_party/WebKit/public/platform/WebURL.h"
94 #include "third_party/WebKit/public/platform/WebURLError.h"
95 #include "third_party/WebKit/public/platform/WebURLRequest.h"
96 #include "ui/base/l10n/l10n_util.h" 95 #include "ui/base/l10n/l10n_util.h"
97 #include "ui/base/layout.h" 96 #include "ui/base/layout.h"
98 #include "ui/base/resource/resource_bundle.h" 97 #include "ui/base/resource/resource_bundle.h"
99 #include "ui/webui/jstemplate_builder.h" 98 #include "ui/webui/jstemplate_builder.h"
100 #include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. 99 #include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR.
101 100
102 #if defined(ENABLE_WEBRTC) 101 #if defined(ENABLE_WEBRTC)
103 #include "chrome/renderer/media/webrtc_logging_message_filter.h" 102 #include "chrome/renderer/media/webrtc_logging_message_filter.h"
104 #endif 103 #endif
105 104
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 // SiteIsolationPolicy is off by default. We would like to activate cross-site 1317 // SiteIsolationPolicy is off by default. We would like to activate cross-site
1319 // document blocking (for UMA data collection) for normal renderer processes 1318 // document blocking (for UMA data collection) for normal renderer processes
1320 // running a normal web page from the Internet. We only turn on 1319 // running a normal web page from the Internet. We only turn on
1321 // SiteIsolationPolicy for a renderer process that does not have the extension 1320 // SiteIsolationPolicy for a renderer process that does not have the extension
1322 // flag on. 1321 // flag on.
1323 CommandLine* command_line = CommandLine::ForCurrentProcess(); 1322 CommandLine* command_line = CommandLine::ForCurrentProcess();
1324 return !command_line->HasSwitch(switches::kExtensionProcess); 1323 return !command_line->HasSwitch(switches::kExtensionProcess);
1325 } 1324 }
1326 1325
1327 } // namespace chrome 1326 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698