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
):
11 def AddCommandLineArgs(cls
, parser
):
13 '--extra-chrome-proxy-via-header',
14 type='string', dest
="extra_header",
15 help='Adds an expected Via header for the Chrome-Proxy tests.')
18 def ProcessCommandLineArgs(cls
, parser
, args
):
20 measurements
.ChromeProxyValidation
.extra_via_header
= args
.extra_header