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

Unified Diff: chrome/common/chrome_switches.cc

Issue 1257543004: Add oom tab killing and the about:discards page on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@memoryPressureOnLinux
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..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";
« 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