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

Unified Diff: chrome/browser/extensions/crx_installer.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/crx_installer.cc
diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc
index 87f4b1c6161072da7dd90e2ba63980de5e02ddc4..f9c05b3f3e8db0d01ea45a0e32e5e195b0054d2b 100644
--- a/chrome/browser/extensions/crx_installer.cc
+++ b/chrome/browser/extensions/crx_installer.cc
@@ -427,7 +427,7 @@ void CrxInstaller::OnRequirementsChecked(
has_requirement_errors_ = true;
}
-#if defined(ENABLE_MANAGED_USERS)
+#if defined(ENABLE_MANAGED_USERS) && !defined(OS_CHROMEOS)
// Check whether the profile is managed.
ManagedUserService* service =
ManagedUserServiceFactory::GetForProfile(profile_);

Powered by Google App Engine
This is Rietveld 408576698