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

Unified Diff: chromeos/chromeos_switches.h

Issue 803443006: Adding flag to specify the used memory pressure strategy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Created 5 years, 11 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
Index: chromeos/chromeos_switches.h
diff --git a/chromeos/chromeos_switches.h b/chromeos/chromeos_switches.h
index ee1171d9d39e57fb2fcc3dec03edf14e46d7a1bb..b62b39b19a7ea04c479980948319f352b08751f5 100644
--- a/chromeos/chromeos_switches.h
+++ b/chromeos/chromeos_switches.h
@@ -5,6 +5,7 @@
#ifndef CHROMEOS_CHROMEOS_SWITCHES_H_
#define CHROMEOS_CHROMEOS_SWITCHES_H_
+#include "base/chromeos/memory_pressure_observer_chromeos.h"
#include "chromeos/chromeos_export.h"
namespace chromeos {
@@ -82,6 +83,7 @@ CHROMEOS_EXPORT extern const char kIgnoreUserProfileMappingForTests[];
CHROMEOS_EXPORT extern const char kLoginManager[];
CHROMEOS_EXPORT extern const char kLoginProfile[];
CHROMEOS_EXPORT extern const char kLoginUser[];
+CHROMEOS_EXPORT extern const char kMemoryPressureThresholds[];
CHROMEOS_EXPORT extern const char kNaturalScrollDefault[];
CHROMEOS_EXPORT extern const char kOobeGuestSession[];
CHROMEOS_EXPORT extern const char kOobeSkipPostLogin[];
@@ -97,6 +99,9 @@ CHROMEOS_EXPORT extern const char kEnableCaptivePortalBypassProxy[];
CHROMEOS_EXPORT bool WakeOnWifiEnabled();
+CHROMEOS_EXPORT base::MemoryPressureObserverChromeOS::MemoryPressureThresholds
+GetMemoryPressureThresholds();
+
} // namespace switches
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698