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

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: Response to code review by Devlin and fixing a test 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);
mamir 2016/06/23 11:43:20 Marc, Devlin, I had to add this call because the t
Marc Treib 2016/06/24 12:46:33 Why does MustRemainDisabled keep it disabled? If w
mamir 2016/06/24 14:43:07 hmm, this is for extension installed by custodian,
Marc Treib 2016/06/24 15:00:59 But it should be called again afterwards, no? That
Devlin 2016/06/24 16:09:39 I would have also thought that calling Reload() wo
mamir 2016/06/27 14:26:59 OK, here is how it works. The way reload works is
}
}

Powered by Google App Engine
This is Rietveld 408576698