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

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

Issue 226643012: Upstream iOS implementation of ProfileOAuth2TokenService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 6 years, 8 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/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_

Powered by Google App Engine
This is Rietveld 408576698