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

Unified Diff: extensions/browser/admin_policy.cc

Issue 196753002: [Hotword] Making enabling/disabling the setting enable/disable the hotword extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update comment Created 6 years, 9 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/browser/admin_policy.cc
diff --git a/extensions/browser/admin_policy.cc b/extensions/browser/admin_policy.cc
index cb948879aa7aea51d6d2b0e4fc564ed9a4129391..d961da1c1783d3dfab86df96eb78932c8d16eeff 100644
--- a/extensions/browser/admin_policy.cc
+++ b/extensions/browser/admin_policy.cc
@@ -16,7 +16,7 @@ bool ManagementPolicyImpl(const extensions::Extension* extension,
base::string16* error,
bool modifiable_value) {
bool modifiable =
- !extensions::Manifest::IsComponentLocation(extension->location()) &&
+ extension->location() != extensions::Manifest::COMPONENT &&
miket_OOO 2014/03/12 21:54:46 Please add a comment indicating that this test imp
rpetterson 2014/03/12 23:27:32 Done.
!extensions::Manifest::IsPolicyLocation(extension->location());
// Some callers equate "no restriction" to true, others to false.
if (modifiable)
« chrome/browser/search/hotword_service.cc ('K') | « chrome/browser/search/hotword_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698