| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 import os | 4 import os |
| 5 | 5 |
| 6 from telemetry import crx_id | 6 from telemetry import crx_id |
| 7 | 7 |
| 8 class ExtensionPathNonExistentException(Exception): | 8 class ExtensionPathNonExistentException(Exception): |
| 9 pass | 9 pass |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 @property | 24 @property |
| 25 def path(self): | 25 def path(self): |
| 26 """Path to extension directory.""" | 26 """Path to extension directory.""" |
| 27 return self._path | 27 return self._path |
| 28 | 28 |
| 29 @property | 29 @property |
| 30 def is_component(self): | 30 def is_component(self): |
| 31 """Whether this extension should be loaded as a component extension.""" | 31 """Whether this extension should be loaded as a component extension.""" |
| 32 return self._is_component | 32 return self._is_component |
| OLD | NEW |