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

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

Issue 915173012: telemetry: Add a method to access tabs by key in TabList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/backends/chrome_inspector/inspector_backend_list.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/tab_list.py
diff --git a/tools/telemetry/telemetry/core/tab_list.py b/tools/telemetry/telemetry/core/tab_list.py
index 06cb667e1f6a3aa2dbacc51106f198afa92fce2f..cbc519a1ed3b7d93338b4490ab9bff72e1a8aa00 100644
--- a/tools/telemetry/telemetry/core/tab_list.py
+++ b/tools/telemetry/telemetry/core/tab_list.py
@@ -16,3 +16,7 @@ class TabList(object):
def __getitem__(self, index):
return self._tab_list_backend.__getitem__(index)
+
+ def GetTabFromContextId(self, context_id):
nednguyen 2015/02/13 16:46:06 GetTabById(...) ContextId is an implementation de
erikchen 2015/02/13 23:17:15 Done.
+ return self._tab_list_backend.GetTabFromContextId(context_id)
+
« no previous file with comments | « tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_backend_list.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698