Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: extensions/common/manifest.cc

Issue 24365004: Add EXTERNAL_POLICY to list of possible extension locations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/common/manifest.cc
diff --git a/extensions/common/manifest.cc b/extensions/common/manifest.cc
index 85b5d986f99b61223aea700868004717812c24fb..4decdd30135ec4f67521e6b4640c4de740ac3244 100644
--- a/extensions/common/manifest.cc
+++ b/extensions/common/manifest.cc
@@ -34,11 +34,15 @@ int GetLocationRank(Manifest::Location location) {
switch (location) {
// Component extensions can not be overriden by any other type.
case Manifest::COMPONENT:
- rank = 7;
+ rank = 8;
break;
// Policy controlled extensions may not be overridden by any type
// that is not part of chrome.
+ case Manifest::EXTERNAL_POLICY:
+ rank = 7;
+ break;
+
case Manifest::EXTERNAL_POLICY_DOWNLOAD:
rank = 6;
break;

Powered by Google App Engine
This is Rietveld 408576698