OLD | NEW |
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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 except Exception: | 371 except Exception: |
372 logging.exception('Failed to get browser standard output:') | 372 logging.exception('Failed to get browser standard output:') |
373 logging.info('*********** END OF BROWSER STANDARD OUTPUT ************') | 373 logging.info('*********** END OF BROWSER STANDARD OUTPUT ************') |
374 | 374 |
375 logging.info('********************* BROWSER LOG *********************') | 375 logging.info('********************* BROWSER LOG *********************') |
376 try: # pylint: disable=broad-except | 376 try: # pylint: disable=broad-except |
377 logging.info(self.GetLogFileContents()) | 377 logging.info(self.GetLogFileContents()) |
378 except Exception: | 378 except Exception: |
379 logging.exception('Failed to get browser log:') | 379 logging.exception('Failed to get browser log:') |
380 logging.info('***************** END OF BROWSER LOG ******************') | 380 logging.info('***************** END OF BROWSER LOG ******************') |
| 381 |
| 382 def SetInteractivityBoost(self, enable): |
| 383 self._platform_backend.SetInteractivityBoost(enable) |
OLD | NEW |