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

Unified Diff: chrome/browser/background/background_contents_service.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/background/background_contents_service.cc
diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc
index 9e2230f5befcbfa9b6bb7cb4b0f5c5a3dc5f6983..78bf5a4729becd4877b73fdff4ec96592554e945 100644
--- a/chrome/browser/background/background_contents_service.cc
+++ b/chrome/browser/background/background_contents_service.cc
@@ -410,6 +410,7 @@ void BackgroundContentsService::Observe(
break;
const bool force_installed = extension->location() ==
+ extensions::Manifest::EXTERNAL_POLICY ||
extensions::Manifest::EXTERNAL_POLICY_DOWNLOAD;
if (!force_installed) {
// When an extension crashes, EXTENSION_PROCESS_TERMINATED is followed

Powered by Google App Engine
This is Rietveld 408576698