| 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/browser/chrome_content_browser_client.h" | 5 #include "chrome/browser/chrome_content_browser_client.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" | 85 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" |
| 86 #include "chrome/browser/validation_message_message_filter.h" | 86 #include "chrome/browser/validation_message_message_filter.h" |
| 87 #include "chrome/common/chrome_constants.h" | 87 #include "chrome/common/chrome_constants.h" |
| 88 #include "chrome/common/chrome_paths.h" | 88 #include "chrome/common/chrome_paths.h" |
| 89 #include "chrome/common/chrome_switches.h" | 89 #include "chrome/common/chrome_switches.h" |
| 90 #include "chrome/common/chrome_version_info.h" | 90 #include "chrome/common/chrome_version_info.h" |
| 91 #include "chrome/common/env_vars.h" | 91 #include "chrome/common/env_vars.h" |
| 92 #include "chrome/common/extensions/extension_process_policy.h" | 92 #include "chrome/common/extensions/extension_process_policy.h" |
| 93 #include "chrome/common/extensions/extension_set.h" | 93 #include "chrome/common/extensions/extension_set.h" |
| 94 #include "chrome/common/extensions/manifest_handlers/app_isolation_info.h" | 94 #include "chrome/common/extensions/manifest_handlers/app_isolation_info.h" |
| 95 #include "chrome/common/extensions/manifest_handlers/shared_module_info.h" | |
| 96 #include "chrome/common/extensions/permissions/socket_permission.h" | 95 #include "chrome/common/extensions/permissions/socket_permission.h" |
| 97 #include "chrome/common/extensions/web_accessible_resources_handler.h" | 96 #include "chrome/common/extensions/web_accessible_resources_handler.h" |
| 98 #include "chrome/common/logging_chrome.h" | 97 #include "chrome/common/logging_chrome.h" |
| 99 #include "chrome/common/pepper_permission_util.h" | 98 #include "chrome/common/pepper_permission_util.h" |
| 100 #include "chrome/common/pref_names.h" | 99 #include "chrome/common/pref_names.h" |
| 101 #include "chrome/common/render_messages.h" | 100 #include "chrome/common/render_messages.h" |
| 102 #include "chrome/common/url_constants.h" | 101 #include "chrome/common/url_constants.h" |
| 103 #include "chrome/installer/util/google_update_settings.h" | 102 #include "chrome/installer/util/google_update_settings.h" |
| 104 #include "chromeos/chromeos_constants.h" | 103 #include "chromeos/chromeos_constants.h" |
| 105 #include "components/nacl/browser/nacl_browser.h" | 104 #include "components/nacl/browser/nacl_browser.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 123 #include "content/public/browser/web_contents_view.h" | 122 #include "content/public/browser/web_contents_view.h" |
| 124 #include "content/public/common/child_process_host.h" | 123 #include "content/public/common/child_process_host.h" |
| 125 #include "content/public/common/content_descriptors.h" | 124 #include "content/public/common/content_descriptors.h" |
| 126 #include "content/public/common/url_utils.h" | 125 #include "content/public/common/url_utils.h" |
| 127 #include "extensions/browser/info_map.h" | 126 #include "extensions/browser/info_map.h" |
| 128 #include "extensions/browser/process_manager.h" | 127 #include "extensions/browser/process_manager.h" |
| 129 #include "extensions/browser/view_type_utils.h" | 128 #include "extensions/browser/view_type_utils.h" |
| 130 #include "extensions/common/constants.h" | 129 #include "extensions/common/constants.h" |
| 131 #include "extensions/common/extension.h" | 130 #include "extensions/common/extension.h" |
| 132 #include "extensions/common/manifest_handlers/background_info.h" | 131 #include "extensions/common/manifest_handlers/background_info.h" |
| 132 #include "extensions/common/manifest_handlers/shared_module_info.h" |
| 133 #include "extensions/common/permissions/permissions_data.h" | 133 #include "extensions/common/permissions/permissions_data.h" |
| 134 #include "extensions/common/switches.h" | 134 #include "extensions/common/switches.h" |
| 135 #include "grit/generated_resources.h" | 135 #include "grit/generated_resources.h" |
| 136 #include "grit/ui_resources.h" | 136 #include "grit/ui_resources.h" |
| 137 #include "net/base/mime_util.h" | 137 #include "net/base/mime_util.h" |
| 138 #include "net/cookies/canonical_cookie.h" | 138 #include "net/cookies/canonical_cookie.h" |
| 139 #include "net/cookies/cookie_options.h" | 139 #include "net/cookies/cookie_options.h" |
| 140 #include "net/ssl/ssl_cert_request_info.h" | 140 #include "net/ssl/ssl_cert_request_info.h" |
| 141 #include "ppapi/host/ppapi_host.h" | 141 #include "ppapi/host/ppapi_host.h" |
| 142 #include "ui/base/l10n/l10n_util.h" | 142 #include "ui/base/l10n/l10n_util.h" |
| (...skipping 2488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2631 return IsExtensionOrSharedModuleWhitelisted(url, extension_set, | 2631 return IsExtensionOrSharedModuleWhitelisted(url, extension_set, |
| 2632 allowed_file_handle_origins_) || | 2632 allowed_file_handle_origins_) || |
| 2633 IsHostAllowedByCommandLine(url, extension_set, | 2633 IsHostAllowedByCommandLine(url, extension_set, |
| 2634 switches::kAllowNaClFileHandleAPI); | 2634 switches::kAllowNaClFileHandleAPI); |
| 2635 #else | 2635 #else |
| 2636 return false; | 2636 return false; |
| 2637 #endif | 2637 #endif |
| 2638 } | 2638 } |
| 2639 | 2639 |
| 2640 } // namespace chrome | 2640 } // namespace chrome |
| OLD | NEW |