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 03e0b880c02d708e923c74f996d74d86292584e2..0f66ef88f562b02cabf659e5477766af1f036de1 100644 |
--- a/components/signin/core/browser/test_signin_client.h |
+++ b/components/signin/core/browser/test_signin_client.h |
@@ -9,9 +9,14 @@ |
#include "base/compiler_specific.h" |
#include "base/files/scoped_temp_dir.h" |
#include "base/memory/ref_counted.h" |
+#include "base/memory/scoped_ptr.h" |
#include "components/signin/core/browser/signin_client.h" |
#include "net/url_request/url_request_test_util.h" |
+#if defined(OS_IOS) |
+#include "ios/public/test/fake_profile_oauth2_token_service_ios_provider.h" |
+#endif |
+ |
// 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. |
@@ -50,6 +55,10 @@ class TestSigninClient : public SigninClient { |
virtual void SetCookieChangedCallback(const CookieChangedCallback& callback) |
OVERRIDE; |
+#if defined(OS_IOS) |
+ ios::FakeProfileOAuth2TokenServiceIOSProvider* GetIOSProviderAsFake(); |
+#endif |
+ |
private: |
// Loads the token database. |
void LoadDatabase(); |
@@ -58,6 +67,10 @@ class TestSigninClient : public SigninClient { |
scoped_refptr<net::TestURLRequestContextGetter> request_context_; |
scoped_refptr<TokenWebData> database_; |
+#if defined(OS_IOS) |
+ scoped_ptr<ios::FakeProfileOAuth2TokenServiceIOSProvider> iosProvider_; |
+#endif |
+ |
DISALLOW_COPY_AND_ASSIGN(TestSigninClient); |
}; |