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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents.cc

Issue 11411267: Make sure to display an errors that occur during the chrome sign in process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests Created 8 years 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/tab_contents/tab_contents.cc
diff --git a/chrome/browser/ui/tab_contents/tab_contents.cc b/chrome/browser/ui/tab_contents/tab_contents.cc
index 06ed203224fed536dc09fedc69de22fda1f422ea..fd2acbf4f9e2d2da3423710b6bd74fb14c5d54c5 100644
--- a/chrome/browser/ui/tab_contents/tab_contents.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents.cc
@@ -188,8 +188,9 @@ TabContents::TabContents(WebContents* contents)
// 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 (OneClickSigninHelper::CanOffer(contents, "", false))
- OneClickSigninHelper::CreateForWebContents(contents);
+ if (OneClickSigninHelper::CanOffer(contents,
+ OneClickSigninHelper::CAN_OFFER_FOR_ALL, "", NULL))
+ OneClickSigninHelper::CreateForWebContents(contents);
#endif
#if defined(OS_WIN)
« no previous file with comments | « chrome/browser/ui/sync/one_click_signin_helper_unittest.cc ('k') | chrome/browser/ui/webui/ntp/ntp_login_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698