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

Unified Diff: components/signin/core/browser/test_signin_client.cc

Issue 695553002: Account reconcilor: Use cookie store cookie changed subscription. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 6 years, 1 month 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
« no previous file with comments | « components/signin/core/browser/test_signin_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/core/browser/test_signin_client.cc
diff --git a/components/signin/core/browser/test_signin_client.cc b/components/signin/core/browser/test_signin_client.cc
index 32b34987ba6d7b34a48ba081a87baf6e9518382b..68b32df46e6f663616bd672d4b2dbbbd48911e88 100644
--- a/components/signin/core/browser/test_signin_client.cc
+++ b/components/signin/core/browser/test_signin_client.cc
@@ -79,10 +79,13 @@ bool TestSigninClient::ShouldMergeSigninCredentialsIntoCookieJar() {
return true;
}
-scoped_ptr<SigninClient::CookieChangedCallbackList::Subscription>
+scoped_ptr<SigninClient::CookieChangedSubscription>
TestSigninClient::AddCookieChangedCallback(
- const SigninClient::CookieChangedCallback& callback) {
- return cookie_callbacks_.Add(callback);
+ const GURL& url,
+ const std::string& name,
+ const net::CookieStore::CookieChangedCallback& callback) {
+ return scoped_ptr<SigninClient::CookieChangedSubscription>(
+ new SigninClient::CookieChangedSubscription);
}
#if defined(OS_IOS)
« no previous file with comments | « components/signin/core/browser/test_signin_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698