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

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

Issue 276463002: non-new-profile-management creates a "no-op" style account_reconcilor, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 6 years, 7 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: 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 d5ad38c747a6ec6123c5f8a185a7573009726d0b..cdadb05cfd8dcd26b3381ed07d7b3941bb2c5039 100644
--- a/components/signin/core/browser/test_signin_client.h
+++ b/components/signin/core/browser/test_signin_client.h
@@ -17,12 +17,15 @@
#include "ios/public/test/fake_profile_oauth2_token_service_ios_provider.h"
#endif
+class PrefService;
+
// An implementation of SigninClient for use in unittests. Instantiates test
// versions of the various objects that SigninClient is required to provide as
// part of its interface.
class TestSigninClient : public SigninClient {
public:
TestSigninClient();
+ TestSigninClient(PrefService* pref_service);
virtual ~TestSigninClient();
// SigninClient implementation that is specialized for unit tests.
@@ -74,6 +77,8 @@ class TestSigninClient : public SigninClient {
scoped_refptr<TokenWebData> database_;
int signin_host_id_;
+ PrefService* pref_service_;
+
#if defined(OS_IOS)
scoped_ptr<ios::FakeProfileOAuth2TokenServiceIOSProvider> iosProvider_;
#endif
« no previous file with comments | « components/signin/core/browser/account_reconcilor.cc ('k') | components/signin/core/browser/test_signin_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698