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

Unified Diff: content/child/child_discardable_shared_memory_manager.cc

Issue 1028853002: content: Crash key and trace counter cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « chrome/common/crash_keys.cc ('k') | content/common/host_discardable_shared_memory_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_discardable_shared_memory_manager.cc
diff --git a/content/child/child_discardable_shared_memory_manager.cc b/content/child/child_discardable_shared_memory_manager.cc
index 335a42342d8f284f5d7e9dfde80ecfdad3043037..14dfe97e7df975420594e4de8ed44e358451f88d 100644
--- a/content/child/child_discardable_shared_memory_manager.cc
+++ b/content/child/child_discardable_shared_memory_manager.cc
@@ -282,12 +282,13 @@ void ChildDiscardableSharedMemoryManager::MemoryUsageChanged(
TRACE_COUNTER2("renderer", "DiscardableMemoryUsage", "allocated",
new_bytes_total - new_bytes_free, "free", new_bytes_free);
- static const char kDiscardableMemoryUsageKey[] = "dm-usage";
- base::debug::SetCrashKeyValue(kDiscardableMemoryUsageKey,
+ static const char kDiscardableMemoryAllocatedKey[] =
+ "discardable-memory-allocated";
+ base::debug::SetCrashKeyValue(kDiscardableMemoryAllocatedKey,
base::Uint64ToString(new_bytes_total));
- static const char kDiscardableMemoryUsageFreeKey[] = "dm-usage-free";
- base::debug::SetCrashKeyValue(kDiscardableMemoryUsageFreeKey,
+ static const char kDiscardableMemoryFreeKey[] = "discardable-memory-free";
+ base::debug::SetCrashKeyValue(kDiscardableMemoryFreeKey,
base::Uint64ToString(new_bytes_free));
}
« no previous file with comments | « chrome/common/crash_keys.cc ('k') | content/common/host_discardable_shared_memory_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698