Index: tools/telemetry/telemetry/core/chrome/inspector_backend.py |
diff --git a/tools/telemetry/telemetry/inspector_backend.py b/tools/telemetry/telemetry/core/chrome/inspector_backend.py |
similarity index 95% |
rename from tools/telemetry/telemetry/inspector_backend.py |
rename to tools/telemetry/telemetry/core/chrome/inspector_backend.py |
index b2ec53c993a7286a6089cffb2a630f4776b27436..8a5f8b109626db87602ad599b574d918ff8ab880 100644 |
--- a/tools/telemetry/telemetry/inspector_backend.py |
+++ b/tools/telemetry/telemetry/core/chrome/inspector_backend.py |
@@ -6,14 +6,14 @@ import logging |
import socket |
import sys |
-from telemetry import inspector_console |
-from telemetry import inspector_page |
-from telemetry import inspector_runtime |
-from telemetry import inspector_timeline |
-from telemetry import png_bitmap |
-from telemetry import tab_crash_exception |
-from telemetry import util |
-from telemetry import websocket |
+from telemetry.core import util |
+from telemetry.core import exceptions |
+from telemetry.core.chrome import inspector_console |
+from telemetry.core.chrome import inspector_page |
+from telemetry.core.chrome import inspector_runtime |
+from telemetry.core.chrome import inspector_timeline |
+from telemetry.core.chrome import png_bitmap |
+from telemetry.core.chrome import websocket |
class InspectorException(Exception): |
pass |
@@ -195,7 +195,7 @@ class InspectorBackend(object): |
if self._browser_backend.tab_list_backend.DoesDebuggerUrlExist( |
self._debugger_url): |
return |
- raise tab_crash_exception.TabCrashException() |
+ raise exceptions.TabCrashException() |
res = json.loads(data) |
logging.debug('got [%s]', data) |
@@ -261,7 +261,7 @@ class InspectorBackend(object): |
self._debugger_url): |
raise util.TimeoutException( |
'Timed out waiting for reply. This is unusual.') |
- raise tab_crash_exception.TabCrashException() |
+ raise exceptions.TabCrashException() |
res = json.loads(data) |
logging.debug('got [%s]', data) |