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

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

Issue 2633253002: Split content script injections into multiple tasks (Closed)
Patch Set: Created 3 years, 10 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 1748 matching lines...) Expand 10 before | Expand all | Expand 10 after
1759 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, 1759 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration,
1760 #if BUILDFLAG(ENABLE_EXTENSIONS) 1760 #if BUILDFLAG(ENABLE_EXTENSIONS)
1761 extensions::switches::kAllowHTTPBackgroundPage, 1761 extensions::switches::kAllowHTTPBackgroundPage,
1762 extensions::switches::kAllowLegacyExtensionManifests, 1762 extensions::switches::kAllowLegacyExtensionManifests,
1763 extensions::switches::kEnableEmbeddedExtensionOptions, 1763 extensions::switches::kEnableEmbeddedExtensionOptions,
1764 extensions::switches::kEnableExperimentalExtensionApis, 1764 extensions::switches::kEnableExperimentalExtensionApis,
1765 extensions::switches::kExtensionsOnChromeURLs, 1765 extensions::switches::kExtensionsOnChromeURLs,
1766 extensions::switches::kIsolateExtensions, 1766 extensions::switches::kIsolateExtensions,
1767 extensions::switches::kNativeCrxBindings, 1767 extensions::switches::kNativeCrxBindings,
1768 extensions::switches::kWhitelistedExtensionID, 1768 extensions::switches::kWhitelistedExtensionID,
1769 extensions::switches::kYieldBetweenContentScriptRuns,
1769 #endif 1770 #endif
1770 switches::kAllowInsecureLocalhost, 1771 switches::kAllowInsecureLocalhost,
1771 switches::kAppsGalleryURL, 1772 switches::kAppsGalleryURL,
1772 switches::kCloudPrintURL, 1773 switches::kCloudPrintURL,
1773 switches::kCloudPrintXmppEndpoint, 1774 switches::kCloudPrintXmppEndpoint,
1774 switches::kDisableBundledPpapiFlash, 1775 switches::kDisableBundledPpapiFlash,
1775 switches::kDisableCastStreamingHWEncoding, 1776 switches::kDisableCastStreamingHWEncoding,
1776 switches::kDisableJavaScriptHarmonyShipping, 1777 switches::kDisableJavaScriptHarmonyShipping,
1777 switches::kDisableNewBookmarkApps, 1778 switches::kDisableNewBookmarkApps,
1778 switches::kEnableBenchmarking, 1779 switches::kEnableBenchmarking,
(...skipping 1648 matching lines...) Expand 10 before | Expand all | Expand 10 after
3427 return variations::GetVariationParamValue( 3428 return variations::GetVariationParamValue(
3428 "BrowserScheduler", "RedirectDOMStorageTaskRunner") == "true"; 3429 "BrowserScheduler", "RedirectDOMStorageTaskRunner") == "true";
3429 } 3430 }
3430 3431
3431 bool ChromeContentBrowserClient:: 3432 bool ChromeContentBrowserClient::
3432 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { 3433 RedirectNonUINonIOBrowserThreadsToTaskScheduler() {
3433 return variations::GetVariationParamValue( 3434 return variations::GetVariationParamValue(
3434 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; 3435 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true";
3435 } 3436 }
3436 3437
3437 //static 3438 // static
3438 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( 3439 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting(
3439 const storage::QuotaSettings* settings) { 3440 const storage::QuotaSettings* settings) {
3440 g_default_quota_settings = settings; 3441 g_default_quota_settings = settings;
3441 } 3442 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698