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

Unified Diff: trunk/src/base/memory/discardable_memory.h

Issue 135113003: Revert 244229 "base: Fix registering of memory pressure listener..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | « no previous file | trunk/src/base/memory/discardable_memory_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/base/memory/discardable_memory.h
===================================================================
--- trunk/src/base/memory/discardable_memory.h (revision 244277)
+++ trunk/src/base/memory/discardable_memory.h (working copy)
@@ -63,14 +63,6 @@
public:
virtual ~DiscardableMemory() {}
- // Call this on a thread with a MessageLoop current to allow discardable
- // memory implementations to respond to memory pressure signals.
- static void RegisterMemoryPressureListeners();
-
- // Call this to prevent discardable memory implementations from responding
- // to memory pressure signals.
- static void UnregisterMemoryPressureListeners();
-
// Gets the discardable memory type with a given name.
static DiscardableMemoryType GetNamedType(const std::string& name);
« no previous file with comments | « no previous file | trunk/src/base/memory/discardable_memory_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698