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

Unified Diff: chrome/browser/ui/sync/one_click_signin_helper.h

Issue 10555005: Address bug where the one-click sign-in bar would never show again once (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: lint Created 8 years, 6 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/ui/sync/one_click_signin_helper.h
===================================================================
--- chrome/browser/ui/sync/one_click_signin_helper.h (revision 144169)
+++ chrome/browser/ui/sync/one_click_signin_helper.h (working copy)
@@ -7,6 +7,8 @@
#pragma once
#include <string>
+#include <utility>
+#include <vector>
Roger Tawa OOO till Jul 10th 2012/06/27 21:17:08 are these two includes needed here? It seems not.
mathp 2012/06/29 13:44:00 Done. Lint seemed to think so. Apparently not!
#include "content/public/browser/web_contents_observer.h"
@@ -28,9 +30,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,

Powered by Google App Engine
This is Rietveld 408576698