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

Unified Diff: content/common/child_memory_coordinator.mojom

Issue 2685263002: Add PurgeMemory() method for ChildMemoryCoordinator.mojom (Closed)
Patch Set: comment Created 3 years, 10 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 | « content/child/memory/child_memory_coordinator_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_memory_coordinator.mojom
diff --git a/content/common/child_memory_coordinator.mojom b/content/common/child_memory_coordinator.mojom
index 0a20b7fbd3fce8589a4d74b99cfa8c83f3bf40ba..fe2d4f31257eeecc06802f5b8a8717162a52b866 100644
--- a/content/common/child_memory_coordinator.mojom
+++ b/content/common/child_memory_coordinator.mojom
@@ -20,4 +20,8 @@ interface ChildMemoryCoordinator {
// Called when the central memory coodinator changes the state for child
// processes.
OnStateChange(MemoryState state);
+
+ // Requests the child process to purge memory (e.g. by dropping caches that
+ // can be easily rebuilt).
+ PurgeMemory();
};
« no previous file with comments | « content/child/memory/child_memory_coordinator_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698