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

Unified Diff: chrome/browser/signin/chrome_signin_client.h

Issue 421583002: Show GAIA/cookie accounts on the signin-internals page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include for CrOS Created 6 years, 4 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/signin/chrome_signin_client.h
diff --git a/chrome/browser/signin/chrome_signin_client.h b/chrome/browser/signin/chrome_signin_client.h
index 98d1021273238492bbcd91d0df09cae3f4304987..76afa02b3bf86b1f4770e77bad96600139ec7bbd 100644
--- a/chrome/browser/signin/chrome_signin_client.h
+++ b/chrome/browser/signin/chrome_signin_client.h
@@ -56,8 +56,8 @@ class ChromeSigninClient : public SigninClient,
// <Build Info> <OS> <Version number> (<Last change>)<channel or "-devel">
// If version information is unavailable, returns "invalid."
virtual std::string GetProductVersion() OVERRIDE;
- virtual void SetCookieChangedCallback(const CookieChangedCallback& callback)
- OVERRIDE;
+ virtual scoped_ptr<CookieChangedCallbackList::Subscription>
+ AddCookieChangedCallback(const CookieChangedCallback& callback) OVERRIDE;
virtual void GoogleSigninSucceeded(const std::string& username,
const std::string& password) OVERRIDE;
@@ -73,9 +73,9 @@ class ChromeSigninClient : public SigninClient,
Profile* profile_;
content::NotificationRegistrar registrar_;
- // The callback that if non-empty will be called when notifications about
- // cookie changes are received.
- CookieChangedCallback callback_;
+ // The callbacks that will be called when notifications about cookie changes
+ // are received.
+ base::CallbackList<void(const net::CanonicalCookie* cookie)> callbacks_;
// See SetSigninProcess. Tracks the currently active signin process
// by ID, if there is one.
« no previous file with comments | « chrome/browser/resources/signin_internals/signin_internals.js ('k') | chrome/browser/signin/chrome_signin_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698