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

Side by Side Diff: telemetry/telemetry/internal/browser/browser.py

Issue 3013133002: Add browser backend property to browser
Patch Set: Created 3 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 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 4
5 import logging 5 import logging
6 import sys 6 import sys
7 7
8 from py_utils import cloud_storage # pylint: disable=import-error 8 from py_utils import cloud_storage # pylint: disable=import-error
9 9
10 from telemetry.core import exceptions 10 from telemetry.core import exceptions
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 except Exception: # pylint: disable=broad-except 391 except Exception: # pylint: disable=broad-except
392 logging.exception('Failed to get browser standard output:') 392 logging.exception('Failed to get browser standard output:')
393 logging.info('*********** END OF BROWSER STANDARD OUTPUT ************') 393 logging.info('*********** END OF BROWSER STANDARD OUTPUT ************')
394 394
395 logging.info('********************* BROWSER LOG *********************') 395 logging.info('********************* BROWSER LOG *********************')
396 try: 396 try:
397 logging.info(self.GetLogFileContents()) 397 logging.info(self.GetLogFileContents())
398 except Exception: # pylint: disable=broad-except 398 except Exception: # pylint: disable=broad-except
399 logging.exception('Failed to get browser log:') 399 logging.exception('Failed to get browser log:')
400 logging.info('***************** END OF BROWSER LOG ******************') 400 logging.info('***************** END OF BROWSER LOG ******************')
401
402 @property
403 def browser_backed(self):
404 return self._browser_backend
OLDNEW
« 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