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

Unified Diff: devil/devil/android/logcat_monitor.py

Issue 2112643004: Add device_serial (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: Delete unsused variables and comments. Created 4 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: devil/devil/android/logcat_monitor.py
diff --git a/devil/devil/android/logcat_monitor.py b/devil/devil/android/logcat_monitor.py
index 9ec94125b94c42225bfd6b58f888f95619173b40..b88862243abb9b7d418137060f0dddcb2c42fcaf 100644
--- a/devil/devil/android/logcat_monitor.py
+++ b/devil/devil/android/logcat_monitor.py
@@ -52,6 +52,10 @@ class LogcatMonitor(object):
def output_file(self):
return self._output_file
+ @property
+ def get_device_serial(self):
+ return self._adb.GetDeviceSerial()
+
@decorators.WithTimeoutAndRetriesDefaults(10, 0)
def WaitFor(self, success_regex, failure_regex=None, timeout=None,
retries=None):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698