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 <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "base/threading/sequenced_worker_pool.h" | 27 #include "base/threading/sequenced_worker_pool.h" |
28 #include "base/threading/thread_task_runner_handle.h" | 28 #include "base/threading/thread_task_runner_handle.h" |
29 #include "build/build_config.h" | 29 #include "build/build_config.h" |
30 #include "chrome/browser/after_startup_task_utils.h" | 30 #include "chrome/browser/after_startup_task_utils.h" |
31 #include "chrome/browser/apps/app_url_redirector.h" | 31 #include "chrome/browser/apps/app_url_redirector.h" |
32 #include "chrome/browser/browser_about_handler.h" | 32 #include "chrome/browser/browser_about_handler.h" |
33 #include "chrome/browser/browser_process.h" | 33 #include "chrome/browser/browser_process.h" |
34 #include "chrome/browser/browser_shutdown.h" | 34 #include "chrome/browser/browser_shutdown.h" |
35 #include "chrome/browser/browsing_data/browsing_data_helper.h" | 35 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
36 #include "chrome/browser/browsing_data/browsing_data_remover.h" | 36 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
| 37 #include "components/subresource_filter/content/browser/content_subresource_filt
er_driver_factory.h" |
37 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h" | 38 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h" |
38 #include "chrome/browser/character_encoding.h" | 39 #include "chrome/browser/character_encoding.h" |
39 #include "chrome/browser/chrome_content_browser_client_parts.h" | 40 #include "chrome/browser/chrome_content_browser_client_parts.h" |
40 #include "chrome/browser/chrome_net_benchmarking_message_filter.h" | 41 #include "chrome/browser/chrome_net_benchmarking_message_filter.h" |
41 #include "chrome/browser/chrome_quota_permission_context.h" | 42 #include "chrome/browser/chrome_quota_permission_context.h" |
42 #include "chrome/browser/content_settings/cookie_settings_factory.h" | 43 #include "chrome/browser/content_settings/cookie_settings_factory.h" |
43 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" | 44 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" |
44 #include "chrome/browser/content_settings/tab_specific_content_settings.h" | 45 #include "chrome/browser/content_settings/tab_specific_content_settings.h" |
45 #include "chrome/browser/defaults.h" | 46 #include "chrome/browser/defaults.h" |
46 #include "chrome/browser/devtools/chrome_devtools_manager_delegate.h" | 47 #include "chrome/browser/devtools/chrome_devtools_manager_delegate.h" |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 #include "components/metrics/client_info.h" | 126 #include "components/metrics/client_info.h" |
126 #include "components/net_log/chrome_net_log.h" | 127 #include "components/net_log/chrome_net_log.h" |
127 #include "components/pref_registry/pref_registry_syncable.h" | 128 #include "components/pref_registry/pref_registry_syncable.h" |
128 #include "components/prefs/pref_service.h" | 129 #include "components/prefs/pref_service.h" |
129 #include "components/prefs/scoped_user_pref_update.h" | 130 #include "components/prefs/scoped_user_pref_update.h" |
130 #include "components/rappor/rappor_utils.h" | 131 #include "components/rappor/rappor_utils.h" |
131 #include "components/security_interstitials/core/ssl_error_ui.h" | 132 #include "components/security_interstitials/core/ssl_error_ui.h" |
132 #include "components/signin/core/common/profile_management_switches.h" | 133 #include "components/signin/core/common/profile_management_switches.h" |
133 #include "components/spellcheck/common/spellcheck_switches.h" | 134 #include "components/spellcheck/common/spellcheck_switches.h" |
134 #include "components/startup_metric_utils/browser/startup_metric_host_impl.h" | 135 #include "components/startup_metric_utils/browser/startup_metric_host_impl.h" |
135 #include "components/subresource_filter/content/browser/content_subresource_filt
er_driver_factory.h" | |
136 #include "components/subresource_filter/content/browser/subresource_filter_navig
ation_throttle.h" | 136 #include "components/subresource_filter/content/browser/subresource_filter_navig
ation_throttle.h" |
137 #include "components/translate/core/common/translate_switches.h" | 137 #include "components/translate/core/common/translate_switches.h" |
138 #include "components/url_formatter/url_fixer.h" | 138 #include "components/url_formatter/url_fixer.h" |
139 #include "components/variations/variations_associated_data.h" | 139 #include "components/variations/variations_associated_data.h" |
140 #include "components/version_info/version_info.h" | 140 #include "components/version_info/version_info.h" |
141 #include "content/public/browser/browser_child_process_host.h" | 141 #include "content/public/browser/browser_child_process_host.h" |
142 #include "content/public/browser/browser_main_parts.h" | 142 #include "content/public/browser/browser_main_parts.h" |
143 #include "content/public/browser/browser_ppapi_host.h" | 143 #include "content/public/browser/browser_ppapi_host.h" |
144 #include "content/public/browser/browser_thread.h" | 144 #include "content/public/browser/browser_thread.h" |
145 #include "content/public/browser/browser_url_handler.h" | 145 #include "content/public/browser/browser_url_handler.h" |
(...skipping 2907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3053 if (channel <= kMaxDisableEncryptionChannel) { | 3053 if (channel <= kMaxDisableEncryptionChannel) { |
3054 static const char* const kWebRtcDevSwitchNames[] = { | 3054 static const char* const kWebRtcDevSwitchNames[] = { |
3055 switches::kDisableWebRtcEncryption, | 3055 switches::kDisableWebRtcEncryption, |
3056 }; | 3056 }; |
3057 to_command_line->CopySwitchesFrom(from_command_line, | 3057 to_command_line->CopySwitchesFrom(from_command_line, |
3058 kWebRtcDevSwitchNames, | 3058 kWebRtcDevSwitchNames, |
3059 arraysize(kWebRtcDevSwitchNames)); | 3059 arraysize(kWebRtcDevSwitchNames)); |
3060 } | 3060 } |
3061 } | 3061 } |
3062 #endif // defined(ENABLE_WEBRTC) | 3062 #endif // defined(ENABLE_WEBRTC) |
OLD | NEW |