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

Side by Side Diff: tools/telemetry/unittest_data/page_measurements/page_measurement3.py

Issue 374793002: Refactor of record_wpr.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git rebase Created 6 years, 4 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
« no previous file with comments | « tools/telemetry/unittest_data/page_measurements/page_measurement2.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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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."""
6
5 from telemetry.page import page_measurement 7 from telemetry.page import page_measurement
6 8
7 class NoOp(page_measurement.PageMeasurement): 9 class MockPageMeasurementThree(page_measurement.PageMeasurement):
8 def __init__(self): 10 def __init__(self):
9 super(NoOp, self).__init__('RunNoOp') 11 super(MockPageMeasurementThree, self).__init__(action_name_to_run=None)
10 12
11 def MeasurePage(self, page, tab, results): 13 def MeasurePage(self, page, tab, results):
12 pass 14 pass
OLDNEW
« no previous file with comments | « tools/telemetry/unittest_data/page_measurements/page_measurement2.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698