Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(930)

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: cleanup Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 "gin/v8_initializer.h" 189 #include "gin/v8_initializer.h"
190 #include "gpu/config/gpu_switches.h"
190 #include "media/media_features.h" 191 #include "media/media_features.h"
191 #include "net/base/mime_util.h" 192 #include "net/base/mime_util.h"
192 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" 193 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
193 #include "net/cookies/canonical_cookie.h" 194 #include "net/cookies/canonical_cookie.h"
194 #include "net/cookies/cookie_options.h" 195 #include "net/cookies/cookie_options.h"
195 #include "net/ssl/ssl_cert_request_info.h" 196 #include "net/ssl/ssl_cert_request_info.h"
196 #include "ppapi/features/features.h" 197 #include "ppapi/features/features.h"
197 #include "ppapi/host/ppapi_host.h" 198 #include "ppapi/host/ppapi_host.h"
198 #include "printing/features/features.h" 199 #include "printing/features/features.h"
199 #include "services/image_decoder/public/interfaces/constants.mojom.h" 200 #include "services/image_decoder/public/interfaces/constants.mojom.h"
(...skipping 3167 matching lines...) Expand 10 before | Expand all | Expand 10 after
3367 bool ChromeContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { 3368 bool ChromeContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() {
3368 return variations::GetVariationParamValue( 3369 return variations::GetVariationParamValue(
3369 "BrowserScheduler", "RedirectDOMStorageTaskRunner") == "true"; 3370 "BrowserScheduler", "RedirectDOMStorageTaskRunner") == "true";
3370 } 3371 }
3371 3372
3372 bool ChromeContentBrowserClient:: 3373 bool ChromeContentBrowserClient::
3373 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { 3374 RedirectNonUINonIOBrowserThreadsToTaskScheduler() {
3374 return variations::GetVariationParamValue( 3375 return variations::GetVariationParamValue(
3375 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; 3376 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true";
3376 } 3377 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698