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

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

Issue 1171113002: [Telemetry] Add Deprecated decorators and apply it for page_set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittest after grammar fix 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/telemetry/telemetry/decorators_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/page/page_set.py
diff --git a/tools/telemetry/telemetry/page/page_set.py b/tools/telemetry/telemetry/page/page_set.py
index 0287c51eae04e0f070d386a18d66aa3c5b5dda71..6c30ce0bc914f0014a6c7d1c4b7fcfe3eb3832b3 100644
--- a/tools/telemetry/telemetry/page/page_set.py
+++ b/tools/telemetry/telemetry/page/page_set.py
@@ -5,13 +5,16 @@
import os
from telemetry.page import page as page_module
+from telemetry import decorators
from telemetry import story
PUBLIC_BUCKET = story.PUBLIC_BUCKET
PARTNER_BUCKET = story.PARTNER_BUCKET
INTERNAL_BUCKET = story.INTERNAL_BUCKET
-
+@decorators.Deprecated(
+ 2015, 6, 25, 'Please use the UserStory class instead (crbug.com/439512). '
+ 'Instructions for conversion can be found in: https://goo.gl/JsaEez')
class PageSet(story.StorySet):
def __init__(self, file_path=None, archive_data_file='', user_agent_type=None,
serving_dirs=None, bucket=None):
« no previous file with comments | « tools/telemetry/telemetry/decorators_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698