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

Unified Diff: telemetry/telemetry/internal/platform/platform_backend.py

Issue 2123713005: [Telemetry] Add MeasureMemory method to action_runner (Closed) Base URL: git@github.com:catapult-project/catapult@master
Patch Set: rephrase comment 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 | « telemetry/telemetry/internal/platform/android_platform_backend.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/platform/platform_backend.py
diff --git a/telemetry/telemetry/internal/platform/platform_backend.py b/telemetry/telemetry/internal/platform/platform_backend.py
index c1085cddfce06f1f68b56a31159faaaaca4f55eb..2f3eebc8085be85778541c19765b48ebe6d0341b 100644
--- a/telemetry/telemetry/internal/platform/platform_backend.py
+++ b/telemetry/telemetry/internal/platform/platform_backend.py
@@ -186,6 +186,11 @@ class PlatformBackend(object):
def FlushDnsCache(self):
pass
+ def CanElevatePrivilege(self):
+ # TODO: Implement for all platforms.
+ # https://github.com/catapult-project/catapult/issues/2612
+ return False
+
def LaunchApplication(
self, application, parameters=None, elevate_privilege=False):
raise NotImplementedError()
« no previous file with comments | « telemetry/telemetry/internal/platform/android_platform_backend.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698