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

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

Issue 12302036: Add a mode flag to the tracing framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. Created 7 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_controller_impl.h
diff --git a/content/browser/tracing/trace_controller_impl.h b/content/browser/tracing/trace_controller_impl.h
index 501f56147de483243c260fdcd5bc9d1ae7281d34..165965d818e80d8448993dbd4135c4e67a9a01c3 100644
--- a/content/browser/tracing/trace_controller_impl.h
+++ b/content/browser/tracing/trace_controller_impl.h
@@ -38,11 +38,13 @@ class TraceControllerImpl : public TraceController {
// Else if excluded_categories is non-empty, everything but those are traced.
bool BeginTracing(TraceSubscriber* subscriber,
const std::vector<std::string>& included_categories,
- const std::vector<std::string>& excluded_categories);
+ const std::vector<std::string>& excluded_categories,
+ base::debug::TraceLog::Options options);
// TraceController implementation:
virtual bool BeginTracing(TraceSubscriber* subscriber,
- const std::string& categories) OVERRIDE;
+ const std::string& categories,
+ base::debug::TraceLog::Options options) OVERRIDE;
virtual bool EndTracingAsync(TraceSubscriber* subscriber) OVERRIDE;
virtual bool GetTraceBufferPercentFullAsync(
TraceSubscriber* subscriber) OVERRIDE;
@@ -106,6 +108,7 @@ class TraceControllerImpl : public TraceController {
std::vector<std::string> excluded_categories_;
std::string watch_category_;
std::string watch_name_;
+ base::debug::TraceLog::Options trace_options_;
DISALLOW_COPY_AND_ASSIGN(TraceControllerImpl);
};
« no previous file with comments | « content/browser/devtools/devtools_tracing_handler.cc ('k') | content/browser/tracing/trace_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698