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

Unified Diff: chrome/browser/ui/webui/extensions/extension_settings_handler.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: chrome/browser/ui/webui/extensions/extension_settings_handler.cc
diff --git a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
index d9fffda9a0f4b3723e519f17af270d56cb0e11e2..90e774128291e40fd9ee4a0641b7c2a88d39deaf 100644
--- a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
+++ b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
@@ -192,7 +192,8 @@ base::DictionaryValue* ExtensionSettingsHandler::CreateExtensionDetailValue(
ManifestURL::GetHomepageURL(extension).is_valid());
string16 location_text;
- if (extension->location() == Manifest::EXTERNAL_POLICY_DOWNLOAD) {
+ if (extension->location() == Manifest::EXTERNAL_POLICY ||
+ extension->location() == Manifest::EXTERNAL_POLICY_DOWNLOAD) {
not at google - send to devlin 2013/09/23 21:17:32 there is a lot of this. perhaps add Manifest::IsPo
bartfab (slow) 2013/09/26 14:29:54 Done.
location_text = l10n_util::GetStringUTF16(
IDS_OPTIONS_INSTALL_LOCATION_ENTERPRISE);
} else if (extension->location() == Manifest::INTERNAL &&

Powered by Google App Engine
This is Rietveld 408576698