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

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

Issue 2633253002: Split content script injections into multiple tasks (Closed)
Patch Set: rebase Created 3 years, 9 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 1829 matching lines...) Expand 10 before | Expand all | Expand 10 after
1840 autofill::switches::kShowAutofillSignatures, 1840 autofill::switches::kShowAutofillSignatures,
1841 #if BUILDFLAG(ENABLE_EXTENSIONS) 1841 #if BUILDFLAG(ENABLE_EXTENSIONS)
1842 extensions::switches::kAllowHTTPBackgroundPage, 1842 extensions::switches::kAllowHTTPBackgroundPage,
1843 extensions::switches::kAllowLegacyExtensionManifests, 1843 extensions::switches::kAllowLegacyExtensionManifests,
1844 extensions::switches::kEnableEmbeddedExtensionOptions, 1844 extensions::switches::kEnableEmbeddedExtensionOptions,
1845 extensions::switches::kEnableExperimentalExtensionApis, 1845 extensions::switches::kEnableExperimentalExtensionApis,
1846 extensions::switches::kExtensionsOnChromeURLs, 1846 extensions::switches::kExtensionsOnChromeURLs,
1847 extensions::switches::kIsolateExtensions, 1847 extensions::switches::kIsolateExtensions,
1848 extensions::switches::kNativeCrxBindings, 1848 extensions::switches::kNativeCrxBindings,
1849 extensions::switches::kWhitelistedExtensionID, 1849 extensions::switches::kWhitelistedExtensionID,
1850 extensions::switches::kYieldBetweenContentScriptRuns,
1850 #endif 1851 #endif
1851 switches::kAllowInsecureLocalhost, 1852 switches::kAllowInsecureLocalhost,
1852 switches::kAppsGalleryURL, 1853 switches::kAppsGalleryURL,
1853 switches::kCloudPrintURL, 1854 switches::kCloudPrintURL,
1854 switches::kCloudPrintXmppEndpoint, 1855 switches::kCloudPrintXmppEndpoint,
1855 switches::kDisableBundledPpapiFlash, 1856 switches::kDisableBundledPpapiFlash,
1856 switches::kDisableCastStreamingHWEncoding, 1857 switches::kDisableCastStreamingHWEncoding,
1857 switches::kDisableJavaScriptHarmonyShipping, 1858 switches::kDisableJavaScriptHarmonyShipping,
1858 switches::kDisableNewBookmarkApps, 1859 switches::kDisableNewBookmarkApps,
1859 switches::kEnableBenchmarking, 1860 switches::kEnableBenchmarking,
(...skipping 1684 matching lines...) Expand 10 before | Expand all | Expand 10 after
3544 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { 3545 RedirectNonUINonIOBrowserThreadsToTaskScheduler() {
3545 return variations::GetVariationParamValue( 3546 return variations::GetVariationParamValue(
3546 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; 3547 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true";
3547 } 3548 }
3548 3549
3549 // static 3550 // static
3550 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( 3551 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting(
3551 const storage::QuotaSettings* settings) { 3552 const storage::QuotaSettings* settings) {
3552 g_default_quota_settings = settings; 3553 g_default_quota_settings = settings;
3553 } 3554 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698