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

Unified Diff: media/filters/vpx_video_decoder.cc

Issue 1262333005: [tracing] Introduce MemoryDumpArgs to enable light and heavy dumps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 4 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 | « gpu/command_buffer/service/texture_manager.cc ('k') | skia/ext/skia_memory_dump_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/vpx_video_decoder.cc
diff --git a/media/filters/vpx_video_decoder.cc b/media/filters/vpx_video_decoder.cc
index ef60cfe013a9b34404d1fc7d6eb7b08de3f9e6e7..6c467db427ec9ca4ec309f335c74d0a25bd73108 100644
--- a/media/filters/vpx_video_decoder.cc
+++ b/media/filters/vpx_video_decoder.cc
@@ -102,7 +102,8 @@ class VpxVideoDecoder::MemoryPool
// to this pool.
base::Closure CreateFrameCallback(void* fb_priv_data);
- bool OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd) override;
+ bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args,
+ base::trace_event::ProcessMemoryDump* pmd) override;
private:
friend class base::RefCountedThreadSafe<VpxVideoDecoder::MemoryPool>;
@@ -194,6 +195,7 @@ base::Closure VpxVideoDecoder::MemoryPool::CreateFrameCallback(
}
bool VpxVideoDecoder::MemoryPool::OnMemoryDump(
+ const base::trace_event::MemoryDumpArgs& args,
base::trace_event::ProcessMemoryDump* pmd) {
base::trace_event::MemoryAllocatorDump* memory_dump =
pmd->CreateAllocatorDump("media/vpx/memory_pool");
« no previous file with comments | « gpu/command_buffer/service/texture_manager.cc ('k') | skia/ext/skia_memory_dump_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698