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

Unified Diff: content/child/memory/child_memory_coordinator_impl.cc

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.h ('k') | content/common/child_memory_coordinator.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/memory/child_memory_coordinator_impl.cc
diff --git a/content/child/memory/child_memory_coordinator_impl.cc b/content/child/memory/child_memory_coordinator_impl.cc
index 847794220f6057729e418ac4e2972bfdb664234f..6c381413d175be079291d9887df1a341897724ce 100644
--- a/content/child/memory/child_memory_coordinator_impl.cc
+++ b/content/child/memory/child_memory_coordinator_impl.cc
@@ -59,6 +59,8 @@ ChildMemoryCoordinatorImpl::~ChildMemoryCoordinatorImpl() {
}
void ChildMemoryCoordinatorImpl::PurgeMemory() {
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("memory-infra"),
+ "ChildMemoryCoordinatorImpl::PurgeMemory");
// TODO(bashi): Remove Notify() call when all clients implement
// OnPurgeMemory();
base::MemoryCoordinatorClientRegistry::GetInstance()->Notify(
« no previous file with comments | « content/child/memory/child_memory_coordinator_impl.h ('k') | content/common/child_memory_coordinator.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698