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

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 1835 matching lines...) Expand 10 before | Expand all | Expand 10 after
1846 autofill::switches::kShowAutofillSignatures, 1846 autofill::switches::kShowAutofillSignatures,
1847 #if BUILDFLAG(ENABLE_EXTENSIONS) 1847 #if BUILDFLAG(ENABLE_EXTENSIONS)
1848 extensions::switches::kAllowHTTPBackgroundPage, 1848 extensions::switches::kAllowHTTPBackgroundPage,
1849 extensions::switches::kAllowLegacyExtensionManifests, 1849 extensions::switches::kAllowLegacyExtensionManifests,
1850 extensions::switches::kEnableEmbeddedExtensionOptions, 1850 extensions::switches::kEnableEmbeddedExtensionOptions,
1851 extensions::switches::kEnableExperimentalExtensionApis, 1851 extensions::switches::kEnableExperimentalExtensionApis,
1852 extensions::switches::kExtensionsOnChromeURLs, 1852 extensions::switches::kExtensionsOnChromeURLs,
1853 extensions::switches::kIsolateExtensions, 1853 extensions::switches::kIsolateExtensions,
1854 extensions::switches::kNativeCrxBindings, 1854 extensions::switches::kNativeCrxBindings,
1855 extensions::switches::kWhitelistedExtensionID, 1855 extensions::switches::kWhitelistedExtensionID,
1856 extensions::switches::kYieldBetweenContentScriptRuns,
1856 #endif 1857 #endif
1857 switches::kAllowInsecureLocalhost, 1858 switches::kAllowInsecureLocalhost,
1858 switches::kAppsGalleryURL, 1859 switches::kAppsGalleryURL,
1859 switches::kCloudPrintURL, 1860 switches::kCloudPrintURL,
1860 switches::kCloudPrintXmppEndpoint, 1861 switches::kCloudPrintXmppEndpoint,
1861 switches::kDisableBundledPpapiFlash, 1862 switches::kDisableBundledPpapiFlash,
1862 switches::kDisableCastStreamingHWEncoding, 1863 switches::kDisableCastStreamingHWEncoding,
1863 switches::kDisableJavaScriptHarmonyShipping, 1864 switches::kDisableJavaScriptHarmonyShipping,
1864 switches::kDisableNewBookmarkApps, 1865 switches::kDisableNewBookmarkApps,
1865 switches::kEnableBenchmarking, 1866 switches::kEnableBenchmarking,
(...skipping 1685 matching lines...) Expand 10 before | Expand all | Expand 10 after
3551 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { 3552 RedirectNonUINonIOBrowserThreadsToTaskScheduler() {
3552 return variations::GetVariationParamValue( 3553 return variations::GetVariationParamValue(
3553 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; 3554 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true";
3554 } 3555 }
3555 3556
3556 // static 3557 // static
3557 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( 3558 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting(
3558 const storage::QuotaSettings* settings) { 3559 const storage::QuotaSettings* settings) {
3559 g_default_quota_settings = settings; 3560 g_default_quota_settings = settings;
3560 } 3561 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/content_script_apitest.cc » ('j') | extensions/common/feature_switch.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698