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

Unified Diff: systrace/profile_chrome/chrome_tracing_agent_unittest.py

Issue 2276263003: Pass in custom options to Systrace agents (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: Rebase Created 4 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
« no previous file with comments | « systrace/profile_chrome/chrome_tracing_agent.py ('k') | systrace/profile_chrome/ddms_tracing_agent.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: systrace/profile_chrome/chrome_tracing_agent_unittest.py
diff --git a/systrace/profile_chrome/chrome_tracing_agent_unittest.py b/systrace/profile_chrome/chrome_tracing_agent_unittest.py
index edae8afb8414664ec292ae6efce5158d1db6dbe6..27df2c7ae3bbe7c3a9f8ac2b66919b2b91e4a6c0 100644
--- a/systrace/profile_chrome/chrome_tracing_agent_unittest.py
+++ b/systrace/profile_chrome/chrome_tracing_agent_unittest.py
@@ -23,10 +23,12 @@ class ChromeAgentTest(agents_unittest.BaseAgentTest):
ring_buffer = False
agent = chrome_tracing_agent.ChromeTracingAgent(self.device,
self.package_info,
- categories,
ring_buffer)
- agent.StartAgentTracing(None, None)
+ agent.StartAgentTracing(chrome_tracing_agent.ChromeConfig(categories, None,
+ None, None, None,
+ None, None,
+ None))
agent.StopAgentTracing()
result = agent.GetResults()
json.loads(result.raw_data)
« no previous file with comments | « systrace/profile_chrome/chrome_tracing_agent.py ('k') | systrace/profile_chrome/ddms_tracing_agent.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698