| Index: extensions/common/manifest.h
|
| diff --git a/extensions/common/manifest.h b/extensions/common/manifest.h
|
| index 8f4c3c700ee9d0116dc55e8ada16c27d3b6b82af..a50e724c5792814e0c4c99962da0e031d1d04638 100644
|
| --- a/extensions/common/manifest.h
|
| +++ b/extensions/common/manifest.h
|
| @@ -96,8 +96,13 @@ class Manifest {
|
| // policy.
|
| static inline bool IsPolicyLocation(Location location) {
|
| return location == EXTERNAL_POLICY ||
|
| - location == EXTERNAL_POLICY_DOWNLOAD ||
|
| - location == EXTERNAL_COMPONENT;
|
| + location == EXTERNAL_POLICY_DOWNLOAD;
|
| + }
|
| +
|
| + // Whether the |location| is an extension intended to be an internal part of
|
| + // Chrome.
|
| + static inline bool IsComponentLocation(Location location) {
|
| + return location == COMPONENT || location == EXTERNAL_COMPONENT;
|
| }
|
|
|
| // Unpacked extensions start off with file access since they are a developer
|
|
|