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

Unified Diff: chrome/browser/signin/signin_header_helper.cc

Issue 872433006: Disconnect one click sign in code. The code itself will be removed in followup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix merge Created 5 years, 10 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
« no previous file with comments | « chrome/browser/signin/signin_browsertest.cc ('k') | chrome/browser/signin/signin_promo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/signin_header_helper.cc
diff --git a/chrome/browser/signin/signin_header_helper.cc b/chrome/browser/signin/signin_header_helper.cc
index c4dd4190ed4f99541083f0b388fcc82538ca993d..8909ced265b95d159ac12969148434dbb7bcf686 100644
--- a/chrome/browser/signin/signin_header_helper.cc
+++ b/chrome/browser/signin/signin_header_helper.cc
@@ -214,7 +214,7 @@ bool AppendMirrorRequestHeaderIfPossible(
}
// Only set the header for Drive and Gaia always, and other Google properties
- // if new-profile-management is enabled.
+ // if account consistency is enabled.
// Vasquette, which is integrated with most Google properties, needs the
// header to redirect certain user actions to Chrome native UI. Drive and Gaia
// need the header to tell if the current user is connected. The drive path is
@@ -224,7 +224,6 @@ bool AppendMirrorRequestHeaderIfPossible(
GURL origin(url.GetOrigin());
bool is_enable_account_consistency = switches::IsEnableAccountConsistency();
bool is_google_url =
- !switches::IsEnableWebBasedSignin() &&
is_enable_account_consistency &&
(google_util::IsGoogleDomainUrl(
url,
« no previous file with comments | « chrome/browser/signin/signin_browsertest.cc ('k') | chrome/browser/signin/signin_promo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698