| Index: base/memory/memory_pressure_listener.h
|
| diff --git a/base/memory/memory_pressure_listener.h b/base/memory/memory_pressure_listener.h
|
| index 6adaeeed7fd272224b43fd63eb0a5ffc36416abd..83d47d7097e7949e2872a8aba38fc2be5dd46ae2 100644
|
| --- a/base/memory/memory_pressure_listener.h
|
| +++ b/base/memory/memory_pressure_listener.h
|
| @@ -72,6 +72,12 @@ class BASE_EXPORT MemoryPressureListener {
|
| // Intended for use by the platform specific implementation.
|
| static void NotifyMemoryPressure(MemoryPressureLevel memory_pressure_level);
|
|
|
| + // These methods should not be used anywhere else but in memory measurement
|
| + // code, where they are intended to maintain stable conditions across
|
| + // measurements.
|
| + static bool AreNotificationsSuppressed();
|
| + static void SetNotificationsSuppressed(bool suppressed);
|
| +
|
| private:
|
| void Notify(MemoryPressureLevel memory_pressure_level);
|
|
|
|
|