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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 #include "content/public/common/sandbox_type.h" | 179 #include "content/public/common/sandbox_type.h" |
180 #include "content/public/common/service_manager_connection.h" | 180 #include "content/public/common/service_manager_connection.h" |
181 #include "content/public/common/service_names.mojom.h" | 181 #include "content/public/common/service_names.mojom.h" |
182 #include "content/public/common/url_utils.h" | 182 #include "content/public/common/url_utils.h" |
183 #include "content/public/common/web_preferences.h" | 183 #include "content/public/common/web_preferences.h" |
184 #include "device/bluetooth/adapter_factory.h" | 184 #include "device/bluetooth/adapter_factory.h" |
185 #include "device/bluetooth/public/interfaces/adapter.mojom.h" | 185 #include "device/bluetooth/public/interfaces/adapter.mojom.h" |
186 #include "device/usb/public/interfaces/chooser_service.mojom.h" | 186 #include "device/usb/public/interfaces/chooser_service.mojom.h" |
187 #include "device/usb/public/interfaces/device_manager.mojom.h" | 187 #include "device/usb/public/interfaces/device_manager.mojom.h" |
188 #include "extensions/features/features.h" | 188 #include "extensions/features/features.h" |
| 189 #include "gpu/config/gpu_switches.h" |
189 #include "media/media_features.h" | 190 #include "media/media_features.h" |
190 #include "net/base/mime_util.h" | 191 #include "net/base/mime_util.h" |
191 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" | 192 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
192 #include "net/cookies/canonical_cookie.h" | 193 #include "net/cookies/canonical_cookie.h" |
193 #include "net/cookies/cookie_options.h" | 194 #include "net/cookies/cookie_options.h" |
194 #include "net/ssl/ssl_cert_request_info.h" | 195 #include "net/ssl/ssl_cert_request_info.h" |
195 #include "ppapi/features/features.h" | 196 #include "ppapi/features/features.h" |
196 #include "ppapi/host/ppapi_host.h" | 197 #include "ppapi/host/ppapi_host.h" |
197 #include "printing/features/features.h" | 198 #include "printing/features/features.h" |
198 #include "services/image_decoder/public/interfaces/constants.mojom.h" | 199 #include "services/image_decoder/public/interfaces/constants.mojom.h" |
(...skipping 3201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3400 bool ChromeContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { | 3401 bool ChromeContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { |
3401 return variations::GetVariationParamValue( | 3402 return variations::GetVariationParamValue( |
3402 "BrowserScheduler", "RedirectDOMStorageTaskRunner") == "true"; | 3403 "BrowserScheduler", "RedirectDOMStorageTaskRunner") == "true"; |
3403 } | 3404 } |
3404 | 3405 |
3405 bool ChromeContentBrowserClient:: | 3406 bool ChromeContentBrowserClient:: |
3406 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 3407 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
3407 return variations::GetVariationParamValue( | 3408 return variations::GetVariationParamValue( |
3408 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; | 3409 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; |
3409 } | 3410 } |
OLD | NEW |