| Index: systrace/profile_chrome/fake_agent_1.py
|
| diff --git a/systrace/profile_chrome/fake_agent_1.py b/systrace/profile_chrome/fake_agent_1.py
|
| index 62889f4526fe83b9c6679df12fc74885d0e323c3..4428e8a59919f4c63214d6bdb8f9e7e2664aecd7 100644
|
| --- a/systrace/profile_chrome/fake_agent_1.py
|
| +++ b/systrace/profile_chrome/fake_agent_1.py
|
| @@ -7,6 +7,7 @@ import tempfile
|
|
|
| from systrace import trace_result
|
| from systrace import tracing_agents
|
| +from telemetry.timeline import trace_data as trace_data_module
|
|
|
|
|
| class FakeAgent(object):
|
| @@ -50,6 +51,9 @@ class FakeAgent(object):
|
| def __repr__(self):
|
| return 'faketrace'
|
|
|
| + def CollectAgentTraceData(self, builder):
|
| + builder.AddTraceFor(trace_data_module.SURFACE_FLINGER_PART, 'fake-contents')
|
| +
|
|
|
| class FakeConfig(tracing_agents.TracingConfig):
|
| def __init__(self):
|
|
|