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

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

Issue 93733002: [Telemetry] Refactoring in preparation for video-based Speed Index support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change to generators Created 7 years, 1 month 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/platform_backend.py
diff --git a/tools/telemetry/telemetry/core/platform/platform_backend.py b/tools/telemetry/telemetry/core/platform/platform_backend.py
index 7f74deabf1978ca302bea45219da4acb30157d51..cc86b857e937e93aaa60f1353703dd8b139f4b47 100644
--- a/tools/telemetry/telemetry/core/platform/platform_backend.py
+++ b/tools/telemetry/telemetry/core/platform/platform_backend.py
@@ -75,3 +75,12 @@ class PlatformBackend(object):
def InstallApplication(self, application):
raise NotImplementedError()
+
+ def CanCaptureVideo(self):
+ return False
+
+ def StartVideoCapture(self, min_bitrate_mbps):
+ raise NotImplementedError()
+
+ def StopVideoCapture(self):
slamm 2013/12/02 22:51:15 Should this have a doc string? BTW, it surprised
tonyg 2013/12/02 23:18:36 The docs all live in platform/__init__.py
+ raise NotImplementedError()

Powered by Google App Engine
This is Rietveld 408576698