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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 #include "components/content_settings/core/common/content_settings.h" | 124 #include "components/content_settings/core/common/content_settings.h" |
125 #include "components/content_settings/core/common/content_settings_types.h" | 125 #include "components/content_settings/core/common/content_settings_types.h" |
126 #include "components/dom_distiller/core/dom_distiller_switches.h" | 126 #include "components/dom_distiller/core/dom_distiller_switches.h" |
127 #include "components/dom_distiller/core/url_constants.h" | 127 #include "components/dom_distiller/core/url_constants.h" |
128 #include "components/error_page/common/error_page_switches.h" | 128 #include "components/error_page/common/error_page_switches.h" |
129 #include "components/google/core/browser/google_util.h" | 129 #include "components/google/core/browser/google_util.h" |
130 #include "components/metrics/call_stack_profile_collector.h" | 130 #include "components/metrics/call_stack_profile_collector.h" |
131 #include "components/metrics/client_info.h" | 131 #include "components/metrics/client_info.h" |
132 #include "components/net_log/chrome_net_log.h" | 132 #include "components/net_log/chrome_net_log.h" |
133 #include "components/password_manager/content/browser/content_password_manager_d
river_factory.h" | 133 #include "components/password_manager/content/browser/content_password_manager_d
river_factory.h" |
| 134 #include "components/payments/payment_request.mojom.h" |
134 #include "components/pref_registry/pref_registry_syncable.h" | 135 #include "components/pref_registry/pref_registry_syncable.h" |
135 #include "components/prefs/pref_service.h" | 136 #include "components/prefs/pref_service.h" |
136 #include "components/prefs/scoped_user_pref_update.h" | 137 #include "components/prefs/scoped_user_pref_update.h" |
137 #include "components/rappor/rappor_recorder_impl.h" | 138 #include "components/rappor/rappor_recorder_impl.h" |
138 #include "components/rappor/rappor_utils.h" | 139 #include "components/rappor/rappor_utils.h" |
139 #include "components/security_interstitials/core/ssl_error_ui.h" | 140 #include "components/security_interstitials/core/ssl_error_ui.h" |
140 #include "components/signin/core/common/profile_management_switches.h" | 141 #include "components/signin/core/common/profile_management_switches.h" |
141 #include "components/startup_metric_utils/browser/startup_metric_host_impl.h" | 142 #include "components/startup_metric_utils/browser/startup_metric_host_impl.h" |
142 #include "components/subresource_filter/content/browser/content_subresource_filt
er_driver_factory.h" | 143 #include "components/subresource_filter/content/browser/content_subresource_filt
er_driver_factory.h" |
143 #include "components/subresource_filter/content/browser/subresource_filter_navig
ation_throttle.h" | 144 #include "components/subresource_filter/content/browser/subresource_filter_navig
ation_throttle.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 #include "gin/v8_initializer.h" | 180 #include "gin/v8_initializer.h" |
180 #include "net/base/mime_util.h" | 181 #include "net/base/mime_util.h" |
181 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" | 182 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
182 #include "net/cookies/canonical_cookie.h" | 183 #include "net/cookies/canonical_cookie.h" |
183 #include "net/cookies/cookie_options.h" | 184 #include "net/cookies/cookie_options.h" |
184 #include "net/ssl/ssl_cert_request_info.h" | 185 #include "net/ssl/ssl_cert_request_info.h" |
185 #include "ppapi/host/ppapi_host.h" | 186 #include "ppapi/host/ppapi_host.h" |
186 #include "services/service_manager/public/cpp/interface_provider.h" | 187 #include "services/service_manager/public/cpp/interface_provider.h" |
187 #include "services/service_manager/public/cpp/service.h" | 188 #include "services/service_manager/public/cpp/service.h" |
188 #include "storage/browser/fileapi/external_mount_points.h" | 189 #include "storage/browser/fileapi/external_mount_points.h" |
189 #include "third_party/WebKit/public/platform/modules/payments/payment_request.mo
jom.h" | |
190 #include "third_party/WebKit/public/platform/modules/webshare/webshare.mojom.h" | 190 #include "third_party/WebKit/public/platform/modules/webshare/webshare.mojom.h" |
191 #include "ui/base/l10n/l10n_util.h" | 191 #include "ui/base/l10n/l10n_util.h" |
192 #include "ui/base/resource/resource_bundle.h" | 192 #include "ui/base/resource/resource_bundle.h" |
193 #include "ui/resources/grit/ui_resources.h" | 193 #include "ui/resources/grit/ui_resources.h" |
194 #include "url/gurl.h" | 194 #include "url/gurl.h" |
195 #include "url/origin.h" | 195 #include "url/origin.h" |
196 | 196 |
197 #if defined(OS_WIN) | 197 #if defined(OS_WIN) |
198 #include "base/strings/string_tokenizer.h" | 198 #include "base/strings/string_tokenizer.h" |
199 #include "chrome/browser/chrome_browser_main_win.h" | 199 #include "chrome/browser/chrome_browser_main_win.h" |
(...skipping 3047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3247 kWebRtcDevSwitchNames, | 3247 kWebRtcDevSwitchNames, |
3248 arraysize(kWebRtcDevSwitchNames)); | 3248 arraysize(kWebRtcDevSwitchNames)); |
3249 } | 3249 } |
3250 } | 3250 } |
3251 #endif // defined(ENABLE_WEBRTC) | 3251 #endif // defined(ENABLE_WEBRTC) |
3252 | 3252 |
3253 std::unique_ptr<content::MemoryCoordinatorDelegate> | 3253 std::unique_ptr<content::MemoryCoordinatorDelegate> |
3254 ChromeContentBrowserClient::GetMemoryCoordinatorDelegate() { | 3254 ChromeContentBrowserClient::GetMemoryCoordinatorDelegate() { |
3255 return memory::ChromeMemoryCoordinatorDelegate::Create(); | 3255 return memory::ChromeMemoryCoordinatorDelegate::Create(); |
3256 } | 3256 } |
OLD | NEW |