Index: tools/skp/page_sets/skia_chalkboard_desktop.py |
diff --git a/tools/skp/page_sets/skia_chalkboard_desktop.py b/tools/skp/page_sets/skia_chalkboard_desktop.py |
index 0998b7b0c70bc1ae66b0640d652ea67189909567..a235849330d90a0ac382c39cb9c8b2106938dac0 100644 |
--- a/tools/skp/page_sets/skia_chalkboard_desktop.py |
+++ b/tools/skp/page_sets/skia_chalkboard_desktop.py |
@@ -4,8 +4,9 @@ |
# pylint: disable=W0401,W0614 |
+from telemetry import story |
from telemetry.page import page as page_module |
-from telemetry.page import page_set as page_set_module |
+from telemetry.page import shared_page_state |
class SkiaBuildbotDesktopPage(page_module.Page): |
@@ -14,18 +15,17 @@ class SkiaBuildbotDesktopPage(page_module.Page): |
super(SkiaBuildbotDesktopPage, self).__init__( |
url=url, |
page_set=page_set, |
- credentials_path='data/credentials.json') |
- self.user_agent_type = 'desktop' |
+ credentials_path='data/credentials.json', |
+ shared_page_state_class=shared_page_state.SharedDesktopPageState) |
self.archive_data_file = 'data/skia_chalkboard_desktop.json' |
-class SkiaChalkboardDesktopPageSet(page_set_module.PageSet): |
+class SkiaChalkboardDesktopPageSet(story.StorySet): |
""" Pages designed to represent the median, not highly optimized web """ |
def __init__(self): |
super(SkiaChalkboardDesktopPageSet, self).__init__( |
- user_agent_type='desktop', |
archive_data_file='data/skia_chalkboard_desktop.json') |
urls_list = [ |