summaryrefslogtreecommitdiffstats
path: root/content/browser/trace_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/trace_controller.h')
-rw-r--r--content/browser/trace_controller.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/content/browser/trace_controller.h b/content/browser/trace_controller.h
index 4308e82..33e14c6 100644
--- a/content/browser/trace_controller.h
+++ b/content/browser/trace_controller.h
@@ -8,6 +8,7 @@
#include <set>
#include <string>
+#include "base/debug/trace_event.h"
#include "base/memory/ref_counted.h"
#include "base/memory/singleton.h"
#include "base/task.h"
@@ -110,7 +111,9 @@ class TraceController {
void AddFilter(TraceMessageFilter* filter);
void RemoveFilter(TraceMessageFilter* filter);
void OnEndTracingAck();
- void OnTraceDataCollected(const std::string& data);
+ void OnTraceDataCollected(
+ const scoped_refptr<base::debug::TraceLog::RefCountedString>&
+ json_events_str_ptr);
void OnTraceBufferFull();
void OnTraceBufferPercentFullReply(float percent_full);