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

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

Issue 2876843002: Simulate interactivity boost for simulated user input events
Patch Set: Created 3 years, 7 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 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
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)
OLDNEW
« no previous file with comments | « telemetry/telemetry/internal/actions/tap.py ('k') | telemetry/telemetry/internal/platform/cros_platform_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698