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

Side by Side Diff: tools/telemetry/telemetry/core/backends/chrome/cros_interface.py

Issue 23072018: [telemetry] Move telemetry/core/chrome/ to telemetry/core/backends/chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix perf smoothness_unittest. Created 7 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 """A wrapper around ssh for common operations on a CrOS-based device""" 4 """A wrapper around ssh for common operations on a CrOS-based device"""
5 import logging 5 import logging
6 import os 6 import os
7 import re 7 import re
8 import subprocess 8 import subprocess
9 import sys 9 import sys
10 import tempfile 10 import tempfile
11 11
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 (SCREENSHOT_DIR, screenshot_prefix, i, SCREENSHOT_EXT)) 336 (SCREENSHOT_DIR, screenshot_prefix, i, SCREENSHOT_EXT))
337 if not self.FileExistsOnDevice(screenshot_file): 337 if not self.FileExistsOnDevice(screenshot_file):
338 self.RunCmdOnDevice([ 338 self.RunCmdOnDevice([
339 'DISPLAY=:0.0 XAUTHORITY=/home/chronos/.Xauthority ' 339 'DISPLAY=:0.0 XAUTHORITY=/home/chronos/.Xauthority '
340 '/usr/local/bin/import', 340 '/usr/local/bin/import',
341 '-window root', 341 '-window root',
342 '-depth 8', 342 '-depth 8',
343 screenshot_file]) 343 screenshot_file])
344 return 344 return
345 logging.warning('screenshot directory full.') 345 logging.warning('screenshot directory full.')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698