| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 | 4 |
| 5 """A simple PageMeasurement used by page/record_wpr.py's unit tests.""" | 5 """A simple PageMeasurement used by page/record_wpr.py's unit tests.""" |
| 6 | 6 |
| 7 from telemetry.page import page_measurement | 7 from telemetry.page import page_measurement |
| 8 | 8 |
| 9 |
| 9 class MockPageMeasurementTwo(page_measurement.PageMeasurement): | 10 class MockPageMeasurementTwo(page_measurement.PageMeasurement): |
| 10 def __init__(self): | 11 def __init__(self): |
| 11 super(MockPageMeasurementTwo, self).__init__(action_name_to_run="RunBar") | 12 super(MockPageMeasurementTwo, self).__init__(action_name_to_run="RunBar") |
| 12 | 13 |
| 13 def MeasurePage(self, page, tab, results): | 14 def MeasurePage(self, page, tab, results): |
| 14 pass | 15 pass |
| OLD | NEW |