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

Unified Diff: telemetry/telemetry/story/story.py

Issue 2626373004: [WPR] Implement platform dependent recordings for WPR archives. (Closed)
Patch Set: Rebase Created 3 years, 11 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 | « telemetry/telemetry/page/shared_page_state.py ('k') | telemetry/telemetry/story/story_set.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/story/story.py
diff --git a/telemetry/telemetry/story/story.py b/telemetry/telemetry/story/story.py
index d879f27d3afb14711a37d77a77029ea77cdf008a..445ede5317a3be7df0b54e25b400d8b663a8e63c 100644
--- a/telemetry/telemetry/story/story.py
+++ b/telemetry/telemetry/story/story.py
@@ -30,7 +30,7 @@ class Story(object):
def __init__(self, shared_state_class, name='', tags=None,
is_local=False, make_javascript_deterministic=True,
- grouping_keys=None):
+ grouping_keys=None, platform_specific=False):
"""
Args:
make_javascript_deterministic: Whether JavaScript performed on
@@ -39,11 +39,14 @@ class Story(object):
to take effect. This setting does not affect stories containing no web
content or where the HTTP MIME type is not text/html.See also:
_InjectScripts method in third_party/web-page-replay/httpclient.py.
+ platform_specific: Boolean indicating if a separate web page replay
+ recording is required on each platform.
"""
assert issubclass(shared_state_class,
shared_state_module.SharedState)
self._shared_state_class = shared_state_class
self._name = name
+ self._platform_specific = platform_specific
global _next_story_id
self._id = _next_story_id
_next_story_id += 1
« no previous file with comments | « telemetry/telemetry/page/shared_page_state.py ('k') | telemetry/telemetry/story/story_set.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698