| Index: chrome/browser/ui/tab_helpers.cc
|
| diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
|
| index fd8a661b76ae8951af04ef53e7578196392237d6..561ff5bec9da07020c2cb11e9ab3a015773a6663 100644
|
| --- a/chrome/browser/ui/tab_helpers.cc
|
| +++ b/chrome/browser/ui/tab_helpers.cc
|
| @@ -34,7 +34,6 @@
|
| #include "components/autofill/core/browser/autofill_manager.h"
|
| #include "components/dom_distiller/content/web_contents_main_frame_observer.h"
|
| #include "components/password_manager/core/browser/password_manager.h"
|
| -#include "components/signin/core/common/profile_management_switches.h"
|
| #include "content/public/browser/web_contents.h"
|
|
|
| #if defined(OS_ANDROID)
|
| @@ -86,10 +85,6 @@
|
| #endif // defined(ENABLE_PRINT_PREVIEW)
|
| #endif // defined(ENABLE_PRINTING)
|
|
|
| -#if defined(ENABLE_ONE_CLICK_SIGNIN)
|
| -#include "chrome/browser/ui/sync/one_click_signin_helper.h"
|
| -#endif
|
| -
|
| using content::WebContents;
|
|
|
| namespace {
|
| @@ -219,21 +214,6 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
| web_contents);
|
| }
|
|
|
| -#if defined(ENABLE_ONE_CLICK_SIGNIN)
|
| - // If this is not an incognito window, setup to handle one-click login.
|
| - // We don't want to check that the profile is already connected at this time
|
| - // because the connected state may change while this tab is open. Having a
|
| - // one-click signin helper attached does not cause problems if the profile
|
| - // happens to be already connected.
|
| - if (switches::IsEnableWebBasedSignin() &&
|
| - OneClickSigninHelper::CanOffer(web_contents,
|
| - OneClickSigninHelper::CAN_OFFER_FOR_ALL,
|
| - std::string(),
|
| - NULL)) {
|
| - OneClickSigninHelper::CreateForWebContents(web_contents);
|
| - }
|
| -#endif
|
| -
|
| if (predictors::ResourcePrefetchPredictorFactory::GetForProfile(
|
| web_contents->GetBrowserContext())) {
|
| predictors::ResourcePrefetchPredictorTabHelper::CreateForWebContents(
|
|
|