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
3 # found in the LICENSE file.
5 from telemetry.page import page_test
8 class PageMeasurement(page_test.PageTest):
9 """DEPRECATED: Please extend page_test.PageTest directly."""
11 action_name_to_run='',
12 needs_browser_restart_after_each_page=False,
13 discard_first_result=False,
14 clear_cache_before_each_run=False,
15 is_action_name_to_run_optional=False):
16 super(PageMeasurement, self).__init__(
18 needs_browser_restart_after_each_page,
20 clear_cache_before_each_run,
21 is_action_name_to_run_optional=is_action_name_to_run_optional)