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

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

Issue 2752153002: memory coordinator: Change tracing event category (Closed)
Patch Set: Created 3 years, 9 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/browser/memory/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/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 6616a22e1b7d320a2aeb5339914c886f8b7eae54..3bc4fda1dc949766145fa2cef6a963e617866570 100644
--- a/content/child/memory/child_memory_coordinator_impl.cc
+++ b/content/child/memory/child_memory_coordinator_impl.cc
@@ -64,14 +64,14 @@ base::MemoryState ChildMemoryCoordinatorImpl::GetCurrentMemoryState() const {
}
void ChildMemoryCoordinatorImpl::PurgeMemory() {
- TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("memory-infra"),
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("memory_coordinator"),
"ChildMemoryCoordinatorImpl::PurgeMemory");
base::MemoryCoordinatorClientRegistry::GetInstance()->PurgeMemory();
}
void ChildMemoryCoordinatorImpl::OnStateChange(mojom::MemoryState state) {
current_state_ = ToBaseMemoryState(state);
- TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("memory-infra"),
+ TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("memory_coordinator"),
"ChildMemoryCoordinatorImpl::OnStateChange", "state",
MemoryStateToString(current_state_));
base::MemoryCoordinatorClientRegistry::GetInstance()->Notify(current_state_);
« no previous file with comments | « content/browser/memory/memory_coordinator_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698