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

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

Issue 235863025: Remove desktop auto-login since we don't plan on shipping it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 2f68fd0728a57862d6bf37effbb97568f5894c21..cf15890b935453154d7d8c0635e6b44a2ce03936 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -1330,11 +1330,6 @@ BrowserOptionsHandler::GetSyncStateDictionary() {
!signin->GetAuthenticatedUsername().empty());
sync_status->SetBoolean("hasUnrecoverableError",
service && service->HasUnrecoverableError());
- sync_status->SetBoolean(
- "autoLoginVisible",
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableAutologin) &&
- service && service->IsSyncEnabledAndLoggedIn() &&
- service->IsOAuthRefreshTokenAvailable());
return sync_status.Pass();
}

Powered by Google App Engine
This is Rietveld 408576698