Index: components/signin/core/browser/test_signin_client.h |
diff --git a/components/signin/core/browser/test_signin_client.h b/components/signin/core/browser/test_signin_client.h |
index 09da08f30d0d4efeb9b91331ee28100dfd936318..18b28a4bb039612c1b23598cb79ef742321609cd 100644 |
--- a/components/signin/core/browser/test_signin_client.h |
+++ b/components/signin/core/browser/test_signin_client.h |
@@ -61,8 +61,8 @@ class TestSigninClient : public SigninClient { |
virtual bool ShouldMergeSigninCredentialsIntoCookieJar() OVERRIDE; |
// Does nothing. |
- virtual void SetCookieChangedCallback(const CookieChangedCallback& callback) |
- OVERRIDE; |
+ virtual scoped_ptr<CookieChangedCallbackList::Subscription> |
+ AddCookieChangedCallback(const CookieChangedCallback& callback) OVERRIDE; |
#if defined(OS_IOS) |
ios::FakeProfileOAuth2TokenServiceIOSProvider* GetIOSProviderAsFake(); |
@@ -82,6 +82,7 @@ class TestSigninClient : public SigninClient { |
scoped_refptr<net::TestURLRequestContextGetter> request_context_; |
scoped_refptr<TokenWebData> database_; |
int signin_host_id_; |
+ CookieChangedCallbackList cookie_callbacks_; |
PrefService* pref_service_; |