| 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 f1737c18131025190b51ca0ce8c34f2654e23a1d..29fcd2cfeba741f923e12c169885e75c2d11aa00 100644
|
| --- a/chrome/browser/first_run/first_run.cc
|
| +++ b/chrome/browser/first_run/first_run.cc
|
| @@ -33,6 +33,7 @@
|
| #include "chrome/browser/ui/browser_tabstrip.h"
|
| #include "chrome/browser/ui/global_error/global_error_service.h"
|
| #include "chrome/browser/ui/global_error/global_error_service_factory.h"
|
| +#include "chrome/browser/ui/sync/one_click_signin_helper.h"
|
| #include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/common/chrome_switches.h"
|
| @@ -532,8 +533,7 @@ void FirstRunBubbleLauncher::Observe(
|
| content::WebContents* contents = chrome::GetActiveWebContents(browser);
|
|
|
| // Suppress the first run bubble if a Gaia sign in page is showing.
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kUseWebBasedSigninFlow) &&
|
| + if (OneClickSigninHelper::UseWebBasedSigninFlow() &&
|
| gaia::IsGaiaSignonRealm(contents->GetURL().GetOrigin())) {
|
| return;
|
| }
|
|
|