OLD | NEW |
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 Loading... |
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 |
OLD | NEW |