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

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: Comments addressed. 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/enterprise_extension_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..9ab995cde88b5ace6ef0b9b090a4e497532a22f6 100644
--- a/chrome/browser/background/background_contents_service.cc
+++ b/chrome/browser/background/background_contents_service.cc
@@ -409,8 +409,8 @@ void BackgroundContentsService::Observe(
if (!extension)
break;
- const bool force_installed = extension->location() ==
- extensions::Manifest::EXTERNAL_POLICY_DOWNLOAD;
+ const bool force_installed =
+ extensions::Manifest::IsPolicyLocation(extension->location());
if (!force_installed) {
// When an extension crashes, EXTENSION_PROCESS_TERMINATED is followed
// by an EXTENSION_UNLOADED notification. This UNLOADED signal causes
« no previous file with comments | « no previous file | chrome/browser/chromeos/enterprise_extension_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698