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

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

Issue 23556003: Implement about:tracing UI for the sampling profiler (Chromium part) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/trace_controller.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/trace_subscriber.h
diff --git a/content/public/browser/trace_subscriber.h b/content/public/browser/trace_subscriber.h
index 02e9f1cf35d279cec99493d3eba6e481fef244f4..4758f6f25174de75f1e1acaba362b59caef620c3 100644
--- a/content/public/browser/trace_subscriber.h
+++ b/content/public/browser/trace_subscriber.h
@@ -20,11 +20,16 @@ class TraceSubscriber {
// Called once after TraceController::EndTracingAsync.
virtual void OnEndTracingComplete() = 0;
+ // Called once after TraceController::ShowContinuousSamplingTracing.
+ virtual void OnShowContinuousSamplingTracingComplete() {}
+
// Called 0 or more times between TraceController::BeginTracing and
// OnEndTracingComplete. Use base::debug::TraceResultBuffer to convert one or
// more trace fragments to JSON.
virtual void OnTraceDataCollected(
const scoped_refptr<base::RefCountedString>& trace_fragment) = 0;
+ virtual void OnContinuousSamplingTraceDataCollected(
+ const scoped_refptr<base::RefCountedString>& trace_fragment) {}
// Called once after TraceController::GetKnownCategoryGroupsAsync.
virtual void OnKnownCategoriesCollected(
« no previous file with comments | « content/public/browser/trace_controller.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698