diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/common/manifest.cc | 4 | ||||
-rw-r--r-- | extensions/common/manifest.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/extensions/common/manifest.cc b/extensions/common/manifest.cc index 4decdd3..39e6920 100644 --- a/extensions/common/manifest.cc +++ b/extensions/common/manifest.cc @@ -34,6 +34,10 @@ int GetLocationRank(Manifest::Location location) { switch (location) { // Component extensions can not be overriden by any other type. case Manifest::COMPONENT: + rank = 9; + break; + + case Manifest::EXTERNAL_COMPONENT: rank = 8; break; diff --git a/extensions/common/manifest.h b/extensions/common/manifest.h index 4bf92ec..ef76406 100644 --- a/extensions/common/manifest.h +++ b/extensions/common/manifest.h @@ -43,6 +43,9 @@ class Manifest { EXTERNAL_POLICY, // A crx file from an external directory (via admin // policies), cached locally and installed from the // cache. + EXTERNAL_COMPONENT, // Similar to COMPONENT in that it's considered an + // internal implementation detail of chrome, but + // installed from an update URL like the *DOWNLOAD ones. NUM_LOCATIONS }; |