From 47ba44b23d9319b323284476a11227cf26d5be51 Mon Sep 17 00:00:00 2001 From: "asargent@chromium.org" Date: Wed, 2 Oct 2013 22:20:07 +0000 Subject: 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 --- extensions/common/manifest.cc | 4 ++++ extensions/common/manifest.h | 3 +++ 2 files changed, 7 insertions(+) (limited to 'extensions') 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 }; -- cgit v1.1