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

Unified Diff: tools/telemetry/telemetry/core/browser.py

Issue 471443002: [Telemetry] Remove some dead code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/browser.py
diff --git a/tools/telemetry/telemetry/core/browser.py b/tools/telemetry/telemetry/core/browser.py
index c2200e779520085f5a776ed9ff25a92669320846..c711b0939a89b82a44e035c5c433e249a3838fd6 100644
--- a/tools/telemetry/telemetry/core/browser.py
+++ b/tools/telemetry/telemetry/core/browser.py
@@ -35,7 +35,6 @@ class Browser(object):
self._browser_backend = backend
self._platform_backend = platform_backend
- self._http_server = None
self._wpr_server = None
self._active_profilers = []
self._profilers_states = {}
@@ -327,10 +326,6 @@ class Browser(object):
self._wpr_server.Close()
self._wpr_server = None
- if self._http_server:
- self._http_server.Close()
- self._http_server = None
-
self._local_server_controller.Close()
self._browser_backend.Close()
self.credentials = None
@@ -338,7 +333,7 @@ class Browser(object):
@property
def http_server(self):
return self._local_server_controller.GetRunningServer(
- memory_cache_http_server.MemoryCacheHTTPServer, None)
+ memory_cache_http_server.MemoryCacheHTTPServer, None)
def SetHTTPServerDirectories(self, paths):
"""Returns True if the HTTP server was started, False otherwise."""
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698