Index: chrome/common/chrome_switches.cc |
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc |
index 9e2406ecd96f1741cb32adbe50b0a8fda001cc31..9b6e5debfcf0c97cfd5bd73d2e8717269e8b82c5 100644 |
--- a/chrome/common/chrome_switches.cc |
+++ b/chrome/common/chrome_switches.cc |
@@ -1286,6 +1286,11 @@ const char kRelauncherProcess[] = "relauncher"; |
// Use bubbles for content permissions requests instead of infobars. |
const char kEnablePermissionsBubbles[] = "enable-permissions-bubbles"; |
+#if defined(OS_WIN) || defined(OS_LINUX) |
+// Enable tab discarding when system is under memory pressure. |
+const char kEnableTabDiscarding[] = "enable-tab-discarding"; |
+#endif |
+ |
#if defined(OS_WIN) |
// Fallback to XPS. By default connector uses CDD. |
const char kEnableCloudPrintXps[] = "enable-cloud-print-xps"; |
@@ -1294,9 +1299,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"; |