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

Unified Diff: tools/telemetry/telemetry/page/profile_creator.py

Issue 449963002: Modify all usage of PageMeasurement to use PageTest in tools/telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/telemetry/telemetry/page/page_test_unittest.py ('k') | tools/telemetry/telemetry/page/record_wpr.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/page/profile_creator.py
diff --git a/tools/telemetry/telemetry/page/profile_creator.py b/tools/telemetry/telemetry/page/profile_creator.py
index 1fc092ffe81f5e78b98985c420be29b8d6463cb9..77260f59d200f47ebe290f3b53af3600ba1378d2 100644
--- a/tools/telemetry/telemetry/page/profile_creator.py
+++ b/tools/telemetry/telemetry/page/profile_creator.py
@@ -2,9 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from telemetry.page import page_measurement
+from telemetry.page import page_test
-class ProfileCreator(page_measurement.PageMeasurement):
+class ProfileCreator(page_test.PageTest):
"""Base class for an object that constructs a Chrome profile."""
def __init__(self):
@@ -15,5 +15,5 @@ class ProfileCreator(page_measurement.PageMeasurement):
def page_set(self):
return self._page_set
- def MeasurePage(self, _, tab, results):
- pass
+ def ValidateAndMeasurePage(self, _, tab, results):
+ pass
« no previous file with comments | « tools/telemetry/telemetry/page/page_test_unittest.py ('k') | tools/telemetry/telemetry/page/record_wpr.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698