summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-02 22:20:07 +0000
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-02 22:20:07 +0000
commit47ba44b23d9319b323284476a11227cf26d5be51 (patch)
tree4e78a16177435b251afe4e72eb61e7903507af11 /extensions
parentf5316f1b51cefeb86b6f7263891809b8705e1554 (diff)
downloadchromium_src-47ba44b23d9319b323284476a11227cf26d5be51.zip
chromium_src-47ba44b23d9319b323284476a11227cf26d5be51.tar.gz
chromium_src-47ba44b23d9319b323284476a11227cf26d5be51.tar.bz2
Change the install type of the wallet in-app payment support app
We are accidentally using one that makes it look like enterprise policy install, which isn't what we want. BUG=285983 Review URL: https://codereview.chromium.org/23437027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226581 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions')
-rw-r--r--extensions/common/manifest.cc4
-rw-r--r--extensions/common/manifest.h3
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
};