Index: content/public/browser/tracing_controller.h |
diff --git a/content/public/browser/tracing_controller.h b/content/public/browser/tracing_controller.h |
index 37ac2f75551b9cab659d1955b3495d6b9fe3ce02..70d608ce9b8eecda5ff632df31e38494fc4ccdda 100644 |
--- a/content/public/browser/tracing_controller.h |
+++ b/content/public/browser/tracing_controller.h |
@@ -74,6 +74,12 @@ class TracingController { |
const base::FilePath& file_path, |
const base::Closure& callback); |
+ // Create an endpoint that may be supplied to any TraceDataSink to |
+ // dump the trace data to a file. |
+ CONTENT_EXPORT static scoped_refptr<TraceDataEndpoint> CreateFileEndpoint( |
+ const base::FilePath& file_path, |
+ const base::Closure& callback); |
+ |
// Get a set of category groups. The category groups can change as |
// new code paths are reached. |
// |