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

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

Issue 2805683003: Allow for pausing background tabs on desktop via about:flags. (Closed)
Patch Set: Created 3 years, 8 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 1888 matching lines...) Expand 10 before | Expand all | Expand 10 after
1899 switches::kEnableNaClNonSfiMode, 1899 switches::kEnableNaClNonSfiMode,
1900 #endif 1900 #endif
1901 switches::kEnableNetBenchmarking, 1901 switches::kEnableNetBenchmarking,
1902 #if !defined(DISABLE_NACL) 1902 #if !defined(DISABLE_NACL)
1903 switches::kForcePNaClSubzero, 1903 switches::kForcePNaClSubzero,
1904 #endif 1904 #endif
1905 switches::kJavaScriptHarmony, 1905 switches::kJavaScriptHarmony,
1906 switches::kOriginTrialDisabledFeatures, 1906 switches::kOriginTrialDisabledFeatures,
1907 switches::kOriginTrialDisabledTokens, 1907 switches::kOriginTrialDisabledTokens,
1908 switches::kOriginTrialPublicKey, 1908 switches::kOriginTrialPublicKey,
1909 #if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \
1910 defined(OS_WIN)
1911 switches::kPauseBackgroundTabs,
1912 #endif
1909 switches::kPpapiFlashArgs, 1913 switches::kPpapiFlashArgs,
1910 switches::kPpapiFlashPath, 1914 switches::kPpapiFlashPath,
1911 switches::kPpapiFlashVersion, 1915 switches::kPpapiFlashVersion,
1912 switches::kProfilingAtStart, 1916 switches::kProfilingAtStart,
1913 switches::kProfilingFile, 1917 switches::kProfilingFile,
1914 switches::kProfilingFlush, 1918 switches::kProfilingFlush,
1915 switches::kReaderModeHeuristics, 1919 switches::kReaderModeHeuristics,
1916 switches::kUnsafelyTreatInsecureOriginAsSecure, 1920 switches::kUnsafelyTreatInsecureOriginAsSecure,
1917 translate::switches::kTranslateSecurityOrigin, 1921 translate::switches::kTranslateSecurityOrigin,
1918 }; 1922 };
(...skipping 1691 matching lines...) Expand 10 before | Expand all | Expand 10 after
3610 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { 3614 RedirectNonUINonIOBrowserThreadsToTaskScheduler() {
3611 return variations::GetVariationParamValue( 3615 return variations::GetVariationParamValue(
3612 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; 3616 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true";
3613 } 3617 }
3614 3618
3615 // static 3619 // static
3616 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( 3620 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting(
3617 const storage::QuotaSettings* settings) { 3621 const storage::QuotaSettings* settings) {
3618 g_default_quota_settings = settings; 3622 g_default_quota_settings = settings;
3619 } 3623 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698