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

Unified Diff: systrace/systrace/tracing_agents/battor_trace_agent.py

Issue 2297403003: Use Systrace tracing controller in profile_chrome (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: Added property method for tracing controller's child agents Created 4 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
Index: systrace/systrace/tracing_agents/battor_trace_agent.py
diff --git a/systrace/systrace/tracing_agents/battor_trace_agent.py b/systrace/systrace/tracing_agents/battor_trace_agent.py
index ad40ec1634768377a7763609b89ad6a5800c9f17..96137a64c49a1601bd2d1c8c5588d08862096d51 100644
--- a/systrace/systrace/tracing_agents/battor_trace_agent.py
+++ b/systrace/systrace/tracing_agents/battor_trace_agent.py
@@ -19,10 +19,10 @@ from systrace import tracing_agents
def try_create_agent(config):
if config.from_file is not None:
- return False
+ return None
if config.battor:
return BattorTraceAgent()
- return False
+ return None
class BattorConfig(tracing_agents.TracingConfig):

Powered by Google App Engine
This is Rietveld 408576698