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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 1922143002: Disabled ARC for ephemeral users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: same Created 4 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/ui/webui/options/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index 8563731be6060b6ed38accc28901e9a987ebe201..155362ebdd0554d71a035636af2b1a700a25c94f 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -1091,8 +1091,9 @@ void BrowserOptionsHandler::InitializePage() {
if (arc::ArcBridgeService::GetEnabled(
base::CommandLine::ForCurrentProcess()) &&
!arc::ArcAuthService::IsOptInVerificationDisabled() &&
- !profile->IsLegacySupervised() &&
- user->HasGaiaAccount()) {
+ !profile->IsLegacySupervised() && user->HasGaiaAccount() &&
+ !user_manager::UserManager::Get()
+ ->IsCurrentUserCryptohomeDataEphemeral()) {
web_ui()->CallJavascriptFunction("BrowserOptions.showAndroidAppsSection");
}
OnSystemTimezoneAutomaticDetectionPolicyChanged();

Powered by Google App Engine
This is Rietveld 408576698