| Index: chrome/browser/ui/sync/one_click_signin_helper.h
|
| ===================================================================
|
| --- chrome/browser/ui/sync/one_click_signin_helper.h (revision 148749)
|
| +++ chrome/browser/ui/sync/one_click_signin_helper.h (working copy)
|
| @@ -27,9 +27,11 @@
|
| // Returns true if the one-click signin feature can be offered at this time.
|
| // It can be offered if the contents is not in an incognito window. If
|
| // |check_connected| is true, then the profile is checked to see if it's
|
| - // already connected to a google account, in which case a one click signin
|
| + // already connected to a google account or if the user has already rejected
|
| + // one-click sign-in with this email, in which cases a one click signin
|
| // should not be offered.
|
| static bool CanOffer(content::WebContents* web_contents,
|
| + const std::string& email,
|
| bool check_connected);
|
|
|
| // Looks for the Google-Accounts-SignIn response header, and if found,
|
|
|