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

Unified Diff: tools/telemetry/telemetry/core/chrome/inspector_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/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)

Powered by Google App Engine
This is Rietveld 408576698