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

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

Issue 2633253002: Split content script injections into multiple tasks (Closed)
Patch Set: comments addressed 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
« no previous file with comments | « no previous file | chrome/browser/extensions/content_script_apitest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1837 matching lines...) Expand 10 before | Expand all | Expand 10 after
1848 autofill::switches::kShowAutofillSignatures, 1848 autofill::switches::kShowAutofillSignatures,
1849 #if BUILDFLAG(ENABLE_EXTENSIONS) 1849 #if BUILDFLAG(ENABLE_EXTENSIONS)
1850 extensions::switches::kAllowHTTPBackgroundPage, 1850 extensions::switches::kAllowHTTPBackgroundPage,
1851 extensions::switches::kAllowLegacyExtensionManifests, 1851 extensions::switches::kAllowLegacyExtensionManifests,
1852 extensions::switches::kEnableEmbeddedExtensionOptions, 1852 extensions::switches::kEnableEmbeddedExtensionOptions,
1853 extensions::switches::kEnableExperimentalExtensionApis, 1853 extensions::switches::kEnableExperimentalExtensionApis,
1854 extensions::switches::kExtensionsOnChromeURLs, 1854 extensions::switches::kExtensionsOnChromeURLs,
1855 extensions::switches::kIsolateExtensions, 1855 extensions::switches::kIsolateExtensions,
1856 extensions::switches::kNativeCrxBindings, 1856 extensions::switches::kNativeCrxBindings,
1857 extensions::switches::kWhitelistedExtensionID, 1857 extensions::switches::kWhitelistedExtensionID,
1858 extensions::switches::kYieldBetweenContentScriptRuns,
1858 #endif 1859 #endif
1859 switches::kAllowInsecureLocalhost, 1860 switches::kAllowInsecureLocalhost,
1860 switches::kAppsGalleryURL, 1861 switches::kAppsGalleryURL,
1861 switches::kCloudPrintURL, 1862 switches::kCloudPrintURL,
1862 switches::kCloudPrintXmppEndpoint, 1863 switches::kCloudPrintXmppEndpoint,
1863 switches::kDisableBundledPpapiFlash, 1864 switches::kDisableBundledPpapiFlash,
1864 switches::kDisableCastStreamingHWEncoding, 1865 switches::kDisableCastStreamingHWEncoding,
1865 switches::kDisableJavaScriptHarmonyShipping, 1866 switches::kDisableJavaScriptHarmonyShipping,
1866 switches::kDisableNewBookmarkApps, 1867 switches::kDisableNewBookmarkApps,
1867 switches::kEnableBenchmarking, 1868 switches::kEnableBenchmarking,
(...skipping 1687 matching lines...) Expand 10 before | Expand all | Expand 10 after
3555 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { 3556 RedirectNonUINonIOBrowserThreadsToTaskScheduler() {
3556 return variations::GetVariationParamValue( 3557 return variations::GetVariationParamValue(
3557 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; 3558 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true";
3558 } 3559 }
3559 3560
3560 // static 3561 // static
3561 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( 3562 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting(
3562 const storage::QuotaSettings* settings) { 3563 const storage::QuotaSettings* settings) {
3563 g_default_quota_settings = settings; 3564 g_default_quota_settings = settings;
3564 } 3565 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/content_script_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698