Chromium Code Reviews| Index: components/signin/core/browser/signin_client.h |
| diff --git a/components/signin/core/browser/signin_client.h b/components/signin/core/browser/signin_client.h |
| index 4b8837ce65dd4c451265487ab11dd974259014f6..4187f475cb76139f460ca50c02f86f5de8e8c186 100644 |
| --- a/components/signin/core/browser/signin_client.h |
| +++ b/components/signin/core/browser/signin_client.h |
| @@ -17,6 +17,14 @@ class CanonicalCookie; |
| class URLRequestContextGetter; |
| } |
| +#if defined(OS_IOS) |
| +namespace ios { |
| +// TODO(msarda): http://crbug.com/358544 Remove this iOS specific code from the |
| +// core SigninClient. |
|
Roger Tawa OOO till Jul 10th
2014/04/10 15:04:08
Is this a bug you plan to fix soon? Can you put m
msarda
2014/04/10 15:13:36
No, this is low priority. It was something Colin w
blundell
2014/04/10 15:17:58
Ideally the client wouldn't have anything platform
|
| +class ProfileOAuth2TokenServiceIOSProvider; |
| +} |
| +#endif |
| + |
| // An interface that needs to be supplied to the Signin component by its |
| // embedder. |
| class SigninClient { |
| @@ -57,6 +65,12 @@ class SigninClient { |
| // Called when Google signin has succeeded. |
| virtual void GoogleSigninSucceeded(const std::string& username, |
| const std::string& password) {} |
| + |
| +#if defined(OS_IOS) |
| + // TODO(msarda): http://crbug.com/358544 Remove this iOS specific code from |
| + // the core SigninClient. |
| + virtual ios::ProfileOAuth2TokenServiceIOSProvider* GetIOSProvider() = 0; |
| +#endif |
| }; |
| #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_CLIENT_H_ |