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

Side by Side Diff: tools/telemetry/telemetry/inspector_backend.py

Issue 12294002: Revert 182991 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 import json 4 import json
5 import logging 5 import logging
6 import socket 6 import socket
7 import sys 7 import sys
8 8
9 from telemetry import inspector_console 9 from telemetry import inspector_console
10 from telemetry import inspector_page 10 from telemetry import inspector_page
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 OnConsoleNotification, OnConsoleClose) 289 OnConsoleNotification, OnConsoleClose)
290 """ 290 """
291 assert domain_name not in self._domain_handlers 291 assert domain_name not in self._domain_handlers
292 self._domain_handlers[domain_name] = (notification_handler, 292 self._domain_handlers[domain_name] = (notification_handler,
293 will_close_handler) 293 will_close_handler)
294 294
295 def UnregisterDomain(self, domain_name): 295 def UnregisterDomain(self, domain_name):
296 """Unregisters a previously registered domain.""" 296 """Unregisters a previously registered domain."""
297 assert domain_name in self._domain_handlers 297 assert domain_name in self._domain_handlers
298 self._domain_handlers.pop(domain_name) 298 self._domain_handlers.pop(domain_name)
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/gtest_testrunner.py ('k') | tools/telemetry/telemetry/inspector_console.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698