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

Unified Diff: tools/telemetry/telemetry/core/chrome/tab_list_backend.py

Issue 12278015: [Telemetry] Reorganize everything. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-add shebangs. Created 7 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
Index: tools/telemetry/telemetry/core/chrome/tab_list_backend.py
diff --git a/tools/telemetry/telemetry/tab_list_backend.py b/tools/telemetry/telemetry/core/chrome/tab_list_backend.py
similarity index 94%
rename from tools/telemetry/telemetry/tab_list_backend.py
rename to tools/telemetry/telemetry/core/chrome/tab_list_backend.py
index 9b4c78498c880d148f37251049d0a20b13bd7f72..ee1f4320d4679002e42e1603d6d92a059ff8ccdf 100644
--- a/tools/telemetry/telemetry/tab_list_backend.py
+++ b/tools/telemetry/telemetry/core/chrome/tab_list_backend.py
@@ -7,10 +7,10 @@ import socket
import urllib2
import weakref
-from telemetry import browser_gone_exception
-from telemetry import tab
-from telemetry import inspector_backend
-from telemetry import util
+from telemetry.core import util
+from telemetry.core import exceptions
+from telemetry.core import tab
+from telemetry.core.chrome import inspector_backend
class TabListBackend(object):
def __init__(self, browser_backend):
@@ -124,8 +124,8 @@ class TabListBackend(object):
return tabs
except (socket.error, httplib.BadStatusLine, urllib2.URLError):
if not self._browser_backend.IsBrowserRunning():
- raise browser_gone_exception.BrowserGoneException()
- raise browser_gone_exception.BrowserConnectionGoneException()
+ raise exceptions.BrowserGoneException()
+ raise exceptions.BrowserConnectionGoneException()
def _UpdateTabList(self):
def GetDebuggerUrl(tab_info):
« no previous file with comments | « tools/telemetry/telemetry/core/chrome/png_bitmap_unittest.py ('k') | tools/telemetry/telemetry/core/chrome/timeline_event.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698