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

Side by Side Diff: tools/telemetry/telemetry/user_story/__init__.py

Issue 1005903004: Revert of Refactor serving_dirs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import re 5 import re
6 from telemetry.user_story import shared_user_story_state 6 from telemetry.user_story import shared_user_story_state
7 7
8 _next_user_story_id = 0 8 _next_user_story_id = 0
9 9
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 return self.name 92 return self.name
93 else: 93 else:
94 return self.__class__.__name__ 94 return self.__class__.__name__
95 95
96 @property 96 @property
97 def is_local(self): 97 def is_local(self):
98 """Returns True iff this user story does not require network.""" 98 """Returns True iff this user story does not require network."""
99 return self._is_local 99 return self._is_local
100 100
101 @property 101 @property
102 def serving_dir(self):
103 """Returns the absolute path to a directory with hash files to data that
104 should be updated from cloud storage, or None if no files need to be
105 updated.
106 """
107 return None
108
109 @property
110 def make_javascript_deterministic(self): 102 def make_javascript_deterministic(self):
111 return self._make_javascript_deterministic 103 return self._make_javascript_deterministic
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698