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

Unified Diff: tools/telemetry/telemetry/inspector_backend.py

Issue 12079070: Rename tab_backend to inspector_backend. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | tools/telemetry/telemetry/inspector_console.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/inspector_backend.py
===================================================================
--- tools/telemetry/telemetry/inspector_backend.py (revision 179449)
+++ tools/telemetry/telemetry/inspector_backend.py (working copy)
@@ -18,7 +18,7 @@
class InspectorException(Exception):
pass
-class TabBackend(object):
+class InspectorBackend(object):
def __init__(self, browser, browser_backend, debugger_url):
assert debugger_url
self._browser = browser
@@ -278,14 +278,14 @@
domain_name, notification_handler, will_close_handler):
"""Registers a given domain for handling notification methods.
- For example, given tab_backend:
+ For example, given inspector_backend:
def OnConsoleNotification(msg):
if msg['method'] == 'Console.messageAdded':
print msg['params']['message']
return
def OnConsoleClose(self):
pass
- tab_backend.RegisterDomain('Console',
+ inspector_backend.RegisterDomain('Console',
OnConsoleNotification, OnConsoleClose)
"""
assert domain_name not in self._domain_handlers
« no previous file with comments | « no previous file | tools/telemetry/telemetry/inspector_console.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698