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

Unified Diff: chrome/browser/background/background_contents_service.cc

Issue 156153005: [Hotword, Extensions] Removing EXTERNAL_COMPONENT from IsPolicyLocation, adding a function to check… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | extensions/browser/admin_policy.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 dd03caac4c2fb6400b3178ac84ef290d08af3722..89cb69dee4d05bef266089b4303c6041cf7bd26a 100644
--- a/chrome/browser/background/background_contents_service.cc
+++ b/chrome/browser/background/background_contents_service.cc
@@ -433,6 +433,7 @@ void BackgroundContentsService::Observe(
break;
const bool force_installed =
+ extension->location() == extensions::Manifest::EXTERNAL_COMPONENT ||
Marijn Kruisselbrink 2014/02/06 23:37:09 I'm not entirely sure if this should be included h
rpetterson 2014/02/07 00:23:51 Seems reasonable. I've updated it to include both
extensions::Manifest::IsPolicyLocation(extension->location());
if (!force_installed) {
ShowBalloon(extension, profile);
« no previous file with comments | « no previous file | extensions/browser/admin_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698