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

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: Addressed thakis@ and brucedawson@ comments. 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..f115df561b8799564fb78d0a5c49b3f7ef6ed509 100644
--- a/base/memory/memory_pressure_monitor.h
+++ b/base/memory/memory_pressure_monitor.h
@@ -20,6 +20,9 @@ class BASE_EXPORT MemoryPressureMonitor {
public:
using MemoryPressureLevel = base::MemoryPressureListener::MemoryPressureLevel;
+ // Exposed for use with scoped_ptr.
grt (UTC plus 2) 2015/05/06 13:26:36 the fact that you need this for scoped_ptr at the
chrisha 2015/05/06 15:09:57 Done.
+ virtual ~MemoryPressureMonitor();
+
// Return the singleton MemoryPressureMonitor.
static MemoryPressureMonitor* Get();
@@ -28,7 +31,6 @@ class BASE_EXPORT MemoryPressureMonitor {
protected:
MemoryPressureMonitor();
- virtual ~MemoryPressureMonitor();
private:
DISALLOW_COPY_AND_ASSIGN(MemoryPressureMonitor);

Powered by Google App Engine
This is Rietveld 408576698