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

Unified Diff: chrome/browser/first_run/first_run.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
Index: chrome/browser/first_run/first_run.cc
diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc
index 95fb29d6aa08b7930d7faf72324cc916401776c0..0e88b9fb6fbcab8446c6578009906c8ec06debac 100644
--- a/chrome/browser/first_run/first_run.cc
+++ b/chrome/browser/first_run/first_run.cc
@@ -36,7 +36,6 @@
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "chrome/browser/shell_integration.h"
#include "chrome/browser/signin/signin_manager_factory.h"
-#include "chrome/browser/signin/signin_promo.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/chrome_pages.h"
@@ -365,15 +364,14 @@ void FirstRunBubbleLauncher::Observe(
content::WebContents* contents =
browser->tab_strip_model()->GetActiveWebContents();
- // Suppress the first run bubble if a Gaia sign in page, the continue
- // URL for the sign in page or the sync setup page is showing.
+ // Suppress the first run bubble if a Gaia sign in page or the sync setup
+ // page is showing.
if (contents &&
(contents->GetURL().GetOrigin().spec() ==
chrome::kChromeUIChromeSigninURL ||
gaia::IsGaiaSignonRealm(contents->GetURL().GetOrigin()) ||
- signin::IsContinueUrlForWebBasedSigninFlow(contents->GetURL()) ||
- (contents->GetURL() ==
- chrome::GetSettingsUrl(chrome::kSyncSetupSubPage)))) {
+ contents->GetURL() ==
+ chrome::GetSettingsUrl(chrome::kSyncSetupSubPage))) {
return;
}
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/password_manager/save_password_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698