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

Unified Diff: chrome/browser/extensions/extension_util.cc

Issue 2004043002: Supervised Users Initiated Installs v2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kid_initiated_install
Patch Set: Hiding extensions related code behind #ifdefine Created 4 years, 6 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/extensions/extension_util.cc
diff --git a/chrome/browser/extensions/extension_util.cc b/chrome/browser/extensions/extension_util.cc
index 4c019be7b86784d0c95a53a011f50a5fb73532be..8ce2f4247deccb7a95f82bf494fdb1570e87f230 100644
--- a/chrome/browser/extensions/extension_util.cc
+++ b/chrome/browser/extensions/extension_util.cc
@@ -257,6 +257,7 @@ void SetWasInstalledByCustodian(const std::string& extension_id,
// supervised user flag has been received.
if (!extension) {
service->ReloadExtension(extension_id);
+ service->EnableExtension(extension_id);
Marc Treib 2016/06/24 10:58:55 ? I'm pretty sure we don't want to do this.
mamir 2016/06/24 14:43:07 For the record, discussed in patchset 29
}
}

Powered by Google App Engine
This is Rietveld 408576698