Home | History | Annotate | Download | only in extensions

Lines Matching refs:Location

27   enum Location {
65 static Location GetHigherPriorityLocation(Location loc1, Location loc2);
67 // Whether the |location| is external or not.
68 static inline bool IsExternalLocation(Location location) {
69 return location == EXTERNAL_PREF ||
70 location == EXTERNAL_REGISTRY ||
71 location == EXTERNAL_PREF_DOWNLOAD ||
72 location == EXTERNAL_POLICY_DOWNLOAD;
75 // Whether the |location| is unpacked (no CRX) or not.
76 static inline bool IsUnpackedLocation(Location location) {
77 return location == UNPACKED || location == COMMAND_LINE;
80 // Whether extensions with |location| are auto-updatable or not.
81 static inline bool IsAutoUpdateableLocation(Location location) {
83 return location == INTERNAL ||
84 IsExternalLocation(location);
89 static inline bool ShouldAlwaysAllowFileAccess(Location location) {
90 return IsUnpackedLocation(location);
93 Manifest(Location location, scoped_ptr<base::DictionaryValue> value);
99 Location location() const { return location_; }
164 // The location the extension was loaded from.
165 Location location_;