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

Side by Side Diff: tools/telemetry/telemetry/core/chrome/desktop_browser_backend.py

Issue 20672002: [telemetry] Add a webdriver backend with support for IE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 7 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 unified diff | Download patch
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 logging 4 import logging
5 import os 5 import os
6 import subprocess as subprocess 6 import subprocess as subprocess
7 import shutil 7 import shutil
8 import sys 8 import sys
9 import tempfile 9 import tempfile
10 10
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 if self._delete_profile_dir_after_run and \ 168 if self._delete_profile_dir_after_run and \
169 self._tmpdir and os.path.exists(self._tmpdir): 169 self._tmpdir and os.path.exists(self._tmpdir):
170 shutil.rmtree(self._tmpdir, ignore_errors=True) 170 shutil.rmtree(self._tmpdir, ignore_errors=True)
171 self._tmpdir = None 171 self._tmpdir = None
172 172
173 if self._tmp_output_file: 173 if self._tmp_output_file:
174 self._tmp_output_file.close() 174 self._tmp_output_file.close()
175 self._tmp_output_file = None 175 self._tmp_output_file = None
176 176
177 def CreateForwarder(self, *port_pairs): 177 def CreateForwarder(self, *port_pairs):
178 return browser_backend.DoNothingForwarder(*port_pairs) 178 return util.DoNothingForwarder(*port_pairs)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698