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

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

Issue 2633253002: Split content script injections into multiple tasks (Closed)
Patch Set: Inject document_idle scripts before window.onload 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 1828 matching lines...) Expand 10 before | Expand all | Expand 10 after
1839 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, 1839 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration,
1840 #if BUILDFLAG(ENABLE_EXTENSIONS) 1840 #if BUILDFLAG(ENABLE_EXTENSIONS)
1841 extensions::switches::kAllowHTTPBackgroundPage, 1841 extensions::switches::kAllowHTTPBackgroundPage,
1842 extensions::switches::kAllowLegacyExtensionManifests, 1842 extensions::switches::kAllowLegacyExtensionManifests,
1843 extensions::switches::kEnableEmbeddedExtensionOptions, 1843 extensions::switches::kEnableEmbeddedExtensionOptions,
1844 extensions::switches::kEnableExperimentalExtensionApis, 1844 extensions::switches::kEnableExperimentalExtensionApis,
1845 extensions::switches::kExtensionsOnChromeURLs, 1845 extensions::switches::kExtensionsOnChromeURLs,
1846 extensions::switches::kIsolateExtensions, 1846 extensions::switches::kIsolateExtensions,
1847 extensions::switches::kNativeCrxBindings, 1847 extensions::switches::kNativeCrxBindings,
1848 extensions::switches::kWhitelistedExtensionID, 1848 extensions::switches::kWhitelistedExtensionID,
1849 extensions::switches::kYieldBetweenContentScriptRuns,
1849 #endif 1850 #endif
1850 switches::kAllowInsecureLocalhost, 1851 switches::kAllowInsecureLocalhost,
1851 switches::kAppsGalleryURL, 1852 switches::kAppsGalleryURL,
1852 switches::kCloudPrintURL, 1853 switches::kCloudPrintURL,
1853 switches::kCloudPrintXmppEndpoint, 1854 switches::kCloudPrintXmppEndpoint,
1854 switches::kDisableBundledPpapiFlash, 1855 switches::kDisableBundledPpapiFlash,
1855 switches::kDisableCastStreamingHWEncoding, 1856 switches::kDisableCastStreamingHWEncoding,
1856 switches::kDisableJavaScriptHarmonyShipping, 1857 switches::kDisableJavaScriptHarmonyShipping,
1857 switches::kDisableNewBookmarkApps, 1858 switches::kDisableNewBookmarkApps,
1858 switches::kEnableBenchmarking, 1859 switches::kEnableBenchmarking,
(...skipping 1679 matching lines...) Expand 10 before | Expand all | Expand 10 after
3538 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { 3539 RedirectNonUINonIOBrowserThreadsToTaskScheduler() {
3539 return variations::GetVariationParamValue( 3540 return variations::GetVariationParamValue(
3540 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; 3541 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true";
3541 } 3542 }
3542 3543
3543 // static 3544 // static
3544 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( 3545 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting(
3545 const storage::QuotaSettings* settings) { 3546 const storage::QuotaSettings* settings) {
3546 g_default_quota_settings = settings; 3547 g_default_quota_settings = settings;
3547 } 3548 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/content_script_apitest.cc » ('j') | chrome/renderer/chrome_content_renderer_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698