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

Unified Diff: tools/telemetry/telemetry/core/web_contents.py

Issue 176863005: Add is_tracing to browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 | « tools/telemetry/telemetry/core/tab_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/web_contents.py
diff --git a/tools/telemetry/telemetry/core/web_contents.py b/tools/telemetry/telemetry/core/web_contents.py
index 550103444d234706540362a30102980eef562106..4e29c7d5a7f7fc1164c00705555279b75f65eac4 100644
--- a/tools/telemetry/telemetry/core/web_contents.py
+++ b/tools/telemetry/telemetry/core/web_contents.py
@@ -82,6 +82,10 @@ class WebContents(object):
def StartTimelineRecording(self, options=None):
self._inspector_backend.StartTimelineRecording(options)
+ @property
+ def is_timeline_recording_running(self):
+ return self._inspector_backend.is_timeline_recording_running
+
def StopTimelineRecording(self):
self._inspector_backend.StopTimelineRecording()
« no previous file with comments | « tools/telemetry/telemetry/core/tab_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698