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

Unified Diff: base/memory/memory_pressure_monitor.h

Issue 1122863005: Create base::win::MemoryPressureMonitor class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and pretty_print to make histograms.xml happy. Created 5 years, 7 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: base/memory/memory_pressure_monitor.h
diff --git a/base/memory/memory_pressure_monitor.h b/base/memory/memory_pressure_monitor.h
index 9aeeaca3cdca26f0f1376af981000cfeced6aa5b..50260c4c13bce644df3297737b992cc833d2f870 100644
--- a/base/memory/memory_pressure_monitor.h
+++ b/base/memory/memory_pressure_monitor.h
@@ -20,6 +20,8 @@ class BASE_EXPORT MemoryPressureMonitor {
public:
using MemoryPressureLevel = base::MemoryPressureListener::MemoryPressureLevel;
+ virtual ~MemoryPressureMonitor();
+
// Return the singleton MemoryPressureMonitor.
static MemoryPressureMonitor* Get();
@@ -28,7 +30,6 @@ class BASE_EXPORT MemoryPressureMonitor {
protected:
MemoryPressureMonitor();
- virtual ~MemoryPressureMonitor();
private:
DISALLOW_COPY_AND_ASSIGN(MemoryPressureMonitor);

Powered by Google App Engine
This is Rietveld 408576698