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

Unified Diff: base/memory/memory_coordinator_client_registry.h

Issue 2655083003: Add OnPurgeMemory() to MemoryCoordinatorClient (Closed)
Patch Set: comment Created 3 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/memory/memory_coordinator_client.h ('k') | base/memory/memory_coordinator_client_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/memory_coordinator_client_registry.h
diff --git a/base/memory/memory_coordinator_client_registry.h b/base/memory/memory_coordinator_client_registry.h
index 8b5e7b561343116bbb1ea2212ae938940a614d06..e2c81b71876fa4676137fe704cf24eadf22c08c0 100644
--- a/base/memory/memory_coordinator_client_registry.h
+++ b/base/memory/memory_coordinator_client_registry.h
@@ -39,6 +39,9 @@ class BASE_EXPORT MemoryCoordinatorClientRegistry {
// Notify clients of a memory state change.
void Notify(MemoryState state);
+ // Requests purging memory.
+ void PurgeMemory();
+
private:
friend struct DefaultSingletonTraits<MemoryCoordinatorClientRegistry>;
« no previous file with comments | « base/memory/memory_coordinator_client.h ('k') | base/memory/memory_coordinator_client_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698