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 |