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

Unified Diff: chrome/common/chrome_switches.cc

Issue 1244033005: Enable tab discarding on Mac (behind a flag). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 9e2406ecd96f1741cb32adbe50b0a8fda001cc31..3204441685588fe6adeefc8baed891aaa0a0ec1d 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1294,9 +1294,6 @@ const char kEnableCloudPrintXps[] = "enable-cloud-print-xps";
// they use a custom-user-data-dir which disables this.
const char kEnableProfileShortcutManager[] = "enable-profile-shortcut-manager";
-// Enable tab discarding when system is under memory pressure.
-const char kEnableTabDiscarding[] = "enable-tab-discarding";
-
// For the DelegateExecute verb handler to launch Chrome in metro mode on
// Windows 8 and higher. Used when relaunching metro Chrome.
const char kForceImmersive[] = "force-immersive";
@@ -1337,6 +1334,11 @@ const char kWaitForMutex[] = "wait-for-mutex";
const char kWindows8Search[] = "windows8-search";
#endif // defined(OS_WIN)
+#if defined(OS_WIN) || defined(OS_MACOSX)
+// Enable tab discarding when system is under memory pressure.
+const char kEnableTabDiscarding[] = "enable-tab-discarding";
+#endif // defined(OS_WIN) || defined(OS_MACOSX)
+
#if defined(ENABLE_IPC_FUZZER)
// Specifies the testcase used by the IPC fuzzer.
const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698