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

Unified Diff: third_party/WebKit/Source/platform/MemoryCacheDumpProvider.cpp

Issue 2337733002: [tracing] Support BACKGROUND mode in MemoryCache dump provider (Closed)
Patch Set: remove trace_event change. Created 4 years, 3 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
Index: third_party/WebKit/Source/platform/MemoryCacheDumpProvider.cpp
diff --git a/third_party/WebKit/Source/platform/MemoryCacheDumpProvider.cpp b/third_party/WebKit/Source/platform/MemoryCacheDumpProvider.cpp
index e4d7bd5aeecc2271777beb0dfd6f0fce02a751d6..030b3700786bf26f4fc491f7fc7d19d6f30d6ce5 100644
--- a/third_party/WebKit/Source/platform/MemoryCacheDumpProvider.cpp
+++ b/third_party/WebKit/Source/platform/MemoryCacheDumpProvider.cpp
@@ -24,6 +24,9 @@ bool MemoryCacheDumpProvider::OnMemoryDump(const base::trace_event::MemoryDumpAr
WebMemoryDumpLevelOfDetail level;
switch (args.level_of_detail) {
+ case base::trace_event::MemoryDumpLevelOfDetail::BACKGROUND:
+ level = blink::WebMemoryDumpLevelOfDetail::Background;
+ break;
case base::trace_event::MemoryDumpLevelOfDetail::LIGHT:
level = blink::WebMemoryDumpLevelOfDetail::Light;
break;
« no previous file with comments | « third_party/WebKit/Source/core/fetch/MemoryCache.cpp ('k') | third_party/WebKit/Source/platform/SharedBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698