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

Unified Diff: base/chromeos/memory_pressure_observer_chromeos_unittest.cc

Issue 803443006: Adding flag to specify the used memory pressure strategy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding flag to histograms 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
« no previous file with comments | « base/chromeos/memory_pressure_observer_chromeos.cc ('k') | chrome/app/chromeos_strings.grdp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/chromeos/memory_pressure_observer_chromeos_unittest.cc
diff --git a/base/chromeos/memory_pressure_observer_chromeos_unittest.cc b/base/chromeos/memory_pressure_observer_chromeos_unittest.cc
index 8b28957c7e32751235569d6900b39833de783da0..a227f93dc0e79ad49814b3f43fff3bfbfdf04533 100644
--- a/base/chromeos/memory_pressure_observer_chromeos_unittest.cc
+++ b/base/chromeos/memory_pressure_observer_chromeos_unittest.cc
@@ -42,7 +42,10 @@ bool WasOnMemoryPressureCalled() {
class TestMemoryPressureObserver : public MemoryPressureObserverChromeOS {
public:
- TestMemoryPressureObserver() : memory_in_percent_override_(0) {
+ TestMemoryPressureObserver() :
+ MemoryPressureObserverChromeOS(
+ MemoryPressureObserverChromeOS::THRESHOLD_DEFAULT),
+ memory_in_percent_override_(0) {
// Disable any timers which are going on and set a special memory reporting
// function.
StopObserving();
« no previous file with comments | « base/chromeos/memory_pressure_observer_chromeos.cc ('k') | chrome/app/chromeos_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698