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

Unified Diff: tools/perf/page_sets/profile_safe_urls.py

Issue 1198823004: Update perf page_set to use story_set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/perf/page_sets/polymer.py ('k') | tools/perf/page_sets/service_worker.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/profile_safe_urls.py
diff --git a/tools/perf/page_sets/profile_safe_urls.py b/tools/perf/page_sets/profile_safe_urls.py
index 6dbe7ffa37d3a1946f37531f435226d1754a1591..c4681ec04a6b35c07d87ea9c15060aa6469bb262 100644
--- a/tools/perf/page_sets/profile_safe_urls.py
+++ b/tools/perf/page_sets/profile_safe_urls.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 profile_creators import profile_safe_url_list
-from telemetry.page import shared_page_state
+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 ProfileSafeUrlPage(page_module.Page):
@@ -17,13 +17,13 @@ class ProfileSafeUrlPage(page_module.Page):
self.credentials = 'google'
-class ProfileSafeUrlsPageSet(page_set_module.PageSet):
+class ProfileSafeUrlsPageSet(story.StorySet):
"""Safe urls used for profile generation."""
def __init__(self):
super(ProfileSafeUrlsPageSet, self).__init__(
archive_data_file='data/profile_safe_urls.json',
- bucket=page_set_module.PARTNER_BUCKET)
+ cloud_storage_bucket=story.PARTNER_BUCKET)
# Only use the first 500 urls to prevent the .wpr files from getting too
# big.
« no previous file with comments | « tools/perf/page_sets/polymer.py ('k') | tools/perf/page_sets/service_worker.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698