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

Side by Side Diff: tools/telemetry/telemetry/page/perf_tests_helper.py

Issue 14780004: [Telemetry] Escape URLs in "Pages:" list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also escape commas Created 7 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 | Annotate | Revision Log
« no previous file with comments | « tools/telemetry/telemetry/page/page_measurement_results.py ('k') | 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 (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 from __future__ import absolute_import 4 from __future__ import absolute_import
5 5
6 import os 6 import os
7 import sys 7 import sys
8 8
9 def __init__(): 9 def __init__():
10 path = os.path.join(os.path.dirname(__file__), 10 path = os.path.join(os.path.dirname(__file__),
11 '..', '..', '..', '..', 'build', 'android') 11 '..', '..', '..', '..', 'build', 'android')
12 path = os.path.abspath(path) 12 path = os.path.abspath(path)
13 assert os.path.exists(os.path.join(path, 13 assert os.path.exists(os.path.join(path,
14 'pylib', '__init__.py')) 14 'pylib', '__init__.py'))
15 if path not in sys.path: 15 if path not in sys.path:
16 sys.path.append(path) 16 sys.path.append(path)
17 17
18 __init__() 18 __init__()
19 19
20 from pylib import perf_tests_helper # pylint: disable=F0401 20 from pylib import perf_tests_helper # pylint: disable=F0401
21 GeomMeanAndStdDevFromHistogram = \ 21 GeomMeanAndStdDevFromHistogram = \
22 perf_tests_helper.GeomMeanAndStdDevFromHistogram 22 perf_tests_helper.GeomMeanAndStdDevFromHistogram
23 PrintPerfResult = \ 23 PrintPerfResult = \
24 perf_tests_helper.PrintPerfResult 24 perf_tests_helper.PrintPerfResult
25 PrintPages = \
26 perf_tests_helper.PrintPages
25 27
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/page/page_measurement_results.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698