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

Unified Diff: content/browser/tracing/memory_tracing_browsertest.cc

Issue 2777093009: [Memory UMA] Return a memory summary struct with the ack message (Closed)
Patch Set: Rebase Created 3 years, 8 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: content/browser/tracing/memory_tracing_browsertest.cc
diff --git a/content/browser/tracing/memory_tracing_browsertest.cc b/content/browser/tracing/memory_tracing_browsertest.cc
index a5f8b8a2aa1d8649ea41180e8106ce6167f94758..2e222a850f78f05696184ea8087528569a016b8b 100644
--- a/content/browser/tracing/memory_tracing_browsertest.cc
+++ b/content/browser/tracing/memory_tracing_browsertest.cc
@@ -42,9 +42,10 @@ class MockDumpProvider : public base::trace_event::MemoryDumpProvider {
class MemoryTracingTest : public ContentBrowserTest {
public:
- void DoRequestGlobalDump(const MemoryDumpType& dump_type,
- const MemoryDumpLevelOfDetail& level_of_detail,
- const base::trace_event::MemoryDumpCallback& cb) {
+ void DoRequestGlobalDump(
+ const MemoryDumpType& dump_type,
+ const MemoryDumpLevelOfDetail& level_of_detail,
+ const base::trace_event::GlobalMemoryDumpCallback& cb) {
MemoryDumpManager::GetInstance()->RequestGlobalDump(dump_type,
level_of_detail, cb);
}
@@ -78,7 +79,7 @@ class MemoryTracingTest : public ContentBrowserTest {
const MemoryDumpLevelOfDetail& level_of_detail,
const base::Closure& closure) {
uint32_t request_index = next_request_index_++;
- base::trace_event::MemoryDumpCallback callback = base::Bind(
+ base::trace_event::GlobalMemoryDumpCallback callback = base::Bind(
&MemoryTracingTest::OnGlobalMemoryDumpDone, base::Unretained(this),
base::ThreadTaskRunnerHandle::Get(), closure, request_index);
if (from_renderer_thread) {
« no previous file with comments | « base/trace_event/memory_dump_request_args.cc ('k') | services/resource_coordinator/memory/coordinator/coordinator_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698