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

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

Issue 14066003: Don't allow elevation for CHROME_OS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments. Created 7 years, 8 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_uninstall_dialog.cc
diff --git a/chrome/browser/extensions/extension_uninstall_dialog.cc b/chrome/browser/extensions/extension_uninstall_dialog.cc
index 44db08b45fcc83069e51ce03ab38475247a7674d..0b65ebefa744d88c9c92c1069e00927c4b7fda6f 100644
--- a/chrome/browser/extensions/extension_uninstall_dialog.cc
+++ b/chrome/browser/extensions/extension_uninstall_dialog.cc
@@ -78,7 +78,7 @@ void ExtensionUninstallDialog::ConfirmUninstall(
DCHECK(ui_loop_ == MessageLoop::current());
extension_ = extension;
-#if defined(ENABLE_MANAGED_USERS)
+#if defined(ENABLE_MANAGED_USERS) && !defined(OS_CHROMEOS)
// If the profile belongs to a managed user, and the profile is not in
// elevated state, a passphrase dialog is shown, and if the custodian
// authorizes by entering his passphrase, the uninstall is continued by

Powered by Google App Engine
This is Rietveld 408576698