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

Unified Diff: content/public/browser/tracing_controller.h

Issue 1002103004: NOT FOR REVIEW - Slow Reports Reference Implementation Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: JSON serialization. Created 5 years, 7 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 | « content/public/browser/background_tracing_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
//
« no previous file with comments | « content/public/browser/background_tracing_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698