Index: tools/skp/page_sets/skia_digg_nexus10.py |
diff --git a/tools/skp/page_sets/skia_digg_nexus10.py b/tools/skp/page_sets/skia_digg_nexus10.py |
index 68a5f1b68ad756276efcee72fc044489fd4b6e31..3c1b80d5f688bf8c8d32ed58c771317a29165992 100644 |
--- a/tools/skp/page_sets/skia_digg_nexus10.py |
+++ b/tools/skp/page_sets/skia_digg_nexus10.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,21 +15,20 @@ class SkiaBuildbotDesktopPage(page_module.Page): |
super(SkiaBuildbotDesktopPage, self).__init__( |
url=url, |
page_set=page_set, |
- credentials_path='data/credentials.json') |
- self.user_agent_type = 'tablet' |
+ credentials_path='data/credentials.json', |
+ shared_page_state_class=shared_page_state.Shared10InchTabletPageState) |
self.archive_data_file = 'data/skia_digg_nexus10.json' |
def RunNavigateSteps(self, action_runner): |
action_runner.Navigate(self.url) |
action_runner.Wait(5) |
-class SkiaDiggNexus10PageSet(page_set_module.PageSet): |
+class SkiaDiggNexus10PageSet(story.StorySet): |
""" Pages designed to represent the median, not highly optimized web """ |
def __init__(self): |
super(SkiaDiggNexus10PageSet, self).__init__( |
- user_agent_type='tablet', |
archive_data_file='data/skia_digg_nexus10.json') |
urls_list = [ |