Index: chrome/common/extensions/extension.h |
=================================================================== |
--- chrome/common/extensions/extension.h (revision 95819) |
+++ chrome/common/extensions/extension.h (working copy) |
@@ -287,6 +287,12 @@ |
location == Extension::COMPONENT; |
} |
+ // Unpacked extensions start off with file access since they are a developer |
+ // feature. |
+ static inline bool ShouldAlwaysAllowFileAccess(Location location) { |
+ return location == Extension::LOAD; |
+ } |
+ |
// See Type definition above. |
Type GetType() const; |