Add ICU message format support
[chromium-blink-merge.git] / tools / chrome_proxy / common / chrome_proxy_benchmark.py
blob7c4aa8266661ecd5a61a2fe6f7550d6f39983aeb
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 from common import chrome_proxy_measurements as measurements
6 from telemetry import benchmark
9 class ChromeProxyBenchmark(benchmark.Benchmark):
10 @classmethod
11 def AddCommandLineArgs(cls, parser):
12 parser.add_option(
13 '--extra-chrome-proxy-via-header',
14 type='string', dest="extra_header",
15 help='Adds an expected Via header for the Chrome-Proxy tests.')
17 @classmethod
18 def ProcessCommandLineArgs(cls, parser, args):
19 if args.extra_header:
20 measurements.ChromeProxyValidation.extra_via_header = args.extra_header