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

Side by Side Diff: tools/telemetry/telemetry/desktop_browser_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 os as os 4 import os as os
5 import subprocess as subprocess 5 import subprocess as subprocess
6 import shutil 6 import shutil
7 import tempfile 7 import tempfile
8 8
9 from telemetry import browser_backend 9 from telemetry import browser_backend
10 from telemetry import util 10 from telemetry import util
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 def __init__(self, *port_pairs): 117 def __init__(self, *port_pairs):
118 self._host_port = port_pairs[0].local_port 118 self._host_port = port_pairs[0].local_port
119 119
120 @property 120 @property
121 def url(self): 121 def url(self):
122 assert self._host_port 122 assert self._host_port
123 return 'http://localhost:%i' % self._host_port 123 return 'http://localhost:%i' % self._host_port
124 124
125 def Close(self): 125 def Close(self):
126 self._host_port = None 126 self._host_port = None
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/csv_page_benchmark_results_unittest.py ('k') | tools/telemetry/telemetry/desktop_browser_finder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698