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

Unified Diff: tools/telemetry/telemetry/core/platform/tracing_options.py

Issue 414253004: Introduce TracingController and TracingControllerBackend skeleton (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ready_to_land Created 6 years, 4 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: tools/telemetry/telemetry/core/platform/tracing_options.py
diff --git a/tools/telemetry/telemetry/core/platform/tracing_options.py b/tools/telemetry/telemetry/core/platform/tracing_options.py
new file mode 100644
index 0000000000000000000000000000000000000000..f2d747718bde5da4bc8264fad26e9cb05007642c
--- /dev/null
+++ b/tools/telemetry/telemetry/core/platform/tracing_options.py
@@ -0,0 +1,13 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+class TracingOptions(object):
+ """Tracing options control which core tracing systems should be enabled.
+
+ This simply turns on those systems. If those systems have additional options,
+ e.g. what to trace, then they are typically configured by adding
+ categories to the TracingCategoryFilter.
+ """
+ def __init__(self):
+ self.enable_chrome_trace = False
« no previous file with comments | « tools/telemetry/telemetry/core/platform/tracing_controller_backend.py ('k') | tools/telemetry/telemetry/core/tab_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698