| 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/tab_contents/chrome_web_contents_view_delegate.h" | 85 #include "chrome/browser/ui/tab_contents/chrome_web_contents_view_delegate.h" |
| 86 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" | 86 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.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/manifest_handlers/app_isolation_info.h" | 93 #include "chrome/common/extensions/manifest_handlers/app_isolation_info.h" |
| 94 #include "chrome/common/extensions/permissions/socket_permission.h" | 94 #include "chrome/common/extensions/permissions/socket_permission.h" |
| 95 #include "chrome/common/extensions/web_accessible_resources_handler.h" | |
| 96 #include "chrome/common/logging_chrome.h" | 95 #include "chrome/common/logging_chrome.h" |
| 97 #include "chrome/common/pepper_permission_util.h" | 96 #include "chrome/common/pepper_permission_util.h" |
| 98 #include "chrome/common/pref_names.h" | 97 #include "chrome/common/pref_names.h" |
| 99 #include "chrome/common/profile_management_switches.h" | 98 #include "chrome/common/profile_management_switches.h" |
| 100 #include "chrome/common/render_messages.h" | 99 #include "chrome/common/render_messages.h" |
| 101 #include "chrome/common/url_constants.h" | 100 #include "chrome/common/url_constants.h" |
| 102 #include "chrome/installer/util/google_update_settings.h" | 101 #include "chrome/installer/util/google_update_settings.h" |
| 103 #include "chromeos/chromeos_constants.h" | 102 #include "chromeos/chromeos_constants.h" |
| 104 #include "components/nacl/browser/nacl_browser.h" | 103 #include "components/nacl/browser/nacl_browser.h" |
| 105 #include "components/nacl/browser/nacl_host_message_filter.h" | 104 #include "components/nacl/browser/nacl_host_message_filter.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 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/extension_set.h" | 131 #include "extensions/common/extension_set.h" |
| 133 #include "extensions/common/manifest_handlers/background_info.h" | 132 #include "extensions/common/manifest_handlers/background_info.h" |
| 134 #include "extensions/common/manifest_handlers/shared_module_info.h" | 133 #include "extensions/common/manifest_handlers/shared_module_info.h" |
| 134 #include "extensions/common/manifest_handlers/web_accessible_resources_info.h" |
| 135 #include "extensions/common/permissions/permissions_data.h" | 135 #include "extensions/common/permissions/permissions_data.h" |
| 136 #include "extensions/common/switches.h" | 136 #include "extensions/common/switches.h" |
| 137 #include "grit/generated_resources.h" | 137 #include "grit/generated_resources.h" |
| 138 #include "grit/ui_resources.h" | 138 #include "grit/ui_resources.h" |
| 139 #include "net/base/mime_util.h" | 139 #include "net/base/mime_util.h" |
| 140 #include "net/cookies/canonical_cookie.h" | 140 #include "net/cookies/canonical_cookie.h" |
| 141 #include "net/cookies/cookie_options.h" | 141 #include "net/cookies/cookie_options.h" |
| 142 #include "net/ssl/ssl_cert_request_info.h" | 142 #include "net/ssl/ssl_cert_request_info.h" |
| 143 #include "ppapi/host/ppapi_host.h" | 143 #include "ppapi/host/ppapi_host.h" |
| 144 #include "ppapi/shared_impl/ppapi_switches.h" | 144 #include "ppapi/shared_impl/ppapi_switches.h" |
| (...skipping 2510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2655 // releases of Chrome. Permitting "Unknown" allows these APIs to be used on | 2655 // releases of Chrome. Permitting "Unknown" allows these APIs to be used on |
| 2656 // Chromium builds as well. | 2656 // Chromium builds as well. |
| 2657 return channel <= chrome::VersionInfo::CHANNEL_DEV; | 2657 return channel <= chrome::VersionInfo::CHANNEL_DEV; |
| 2658 #else | 2658 #else |
| 2659 return false; | 2659 return false; |
| 2660 #endif | 2660 #endif |
| 2661 } | 2661 } |
| 2662 | 2662 |
| 2663 | 2663 |
| 2664 } // namespace chrome | 2664 } // namespace chrome |
| OLD | NEW |