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

Unified Diff: content/browser/tracing/trace_message_filter.h

Issue 2724793002: Revert of memory-infra: Finish moving memory_infra from TracingController (Closed)
Patch Set: Created 3 years, 10 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/trace_message_filter.h
diff --git a/content/browser/tracing/trace_message_filter.h b/content/browser/tracing/trace_message_filter.h
index 97ae0a26ba532efc7365611d27bfc51c2a699d92..94c435ed1b6abfbee6fd9ecef67a7e27e873eaf5 100644
--- a/content/browser/tracing/trace_message_filter.h
+++ b/content/browser/tracing/trace_message_filter.h
@@ -11,6 +11,7 @@
#include <vector>
#include "base/macros.h"
+#include "base/trace_event/memory_dump_request_args.h"
#include "base/trace_event/trace_event.h"
#include "content/public/browser/browser_message_filter.h"
@@ -35,6 +36,8 @@
void SendSetWatchEvent(const std::string& category_name,
const std::string& event_name);
void SendCancelWatchEvent();
+ void SendProcessMemoryDumpRequest(
+ const base::trace_event::MemoryDumpRequestArgs& args);
protected:
~TraceMessageFilter() override;
@@ -46,6 +49,11 @@
void OnWatchEventMatched();
void OnTraceLogStatusReply(const base::trace_event::TraceLogStatus& status);
void OnTraceDataCollected(const std::string& data);
+ void OnGlobalMemoryDumpRequest(
+ const base::trace_event::MemoryDumpRequestArgs& args);
+ void OnProcessMemoryDumpResponse(uint64_t dump_guid, bool success);
+
+ void SendGlobalMemoryDumpResponse(uint64_t dump_guid, bool success);
void OnTriggerBackgroundTrace(const std::string& histogram_name);
void OnAbortBackgroundTrace();
« no previous file with comments | « content/browser/tracing/memory_tracing_browsertest.cc ('k') | content/browser/tracing/trace_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698