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

Unified Diff: chrome/browser/signin/chrome_signin_client.h

Issue 205703005: Componentize SigninIdAccountHelper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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: chrome/browser/signin/chrome_signin_client.h
diff --git a/chrome/browser/signin/chrome_signin_client.h b/chrome/browser/signin/chrome_signin_client.h
index 4bd7369dd73c592c61016fe6198ad99c64961bed..a7465e0260a69aafbd2c53cfe2eea7a05a0ff099 100644
--- a/chrome/browser/signin/chrome_signin_client.h
+++ b/chrome/browser/signin/chrome_signin_client.h
@@ -7,11 +7,13 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "base/memory/scoped_ptr.h"
#include "components/keyed_service/core/keyed_service.h"
#include "components/signin/core/signin_client.h"
class CookieSettings;
class Profile;
+class SigninAccountIdHelper;
class ChromeSigninClient : public SigninClient, public KeyedService {
public:
@@ -26,10 +28,20 @@ class ChromeSigninClient : public SigninClient, public KeyedService {
virtual scoped_refptr<TokenWebData> GetDatabase() OVERRIDE;
virtual bool CanRevokeCredentials() OVERRIDE;
virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE;
+ virtual void GoogleSigninSucceeded(const std::string& username,
+ const std::string& password) OVERRIDE;
+
+#if !defined(OS_CHROMEOS)
blundell 2014/03/21 15:01:46 I decided to make this API non-ChromeOS to make it
+ virtual void SigninManagerInitialized(SigninManager* manager) OVERRIDE;
+ virtual void SigninManagerShutdown(SigninManager* manager) OVERRIDE;
+#endif
private:
Profile* profile_;
+ // Fetcher for the obfuscated user id.
+ scoped_ptr<SigninAccountIdHelper> account_id_helper_;
+
DISALLOW_COPY_AND_ASSIGN(ChromeSigninClient);
};
« no previous file with comments | « no previous file | chrome/browser/signin/chrome_signin_client.cc » ('j') | chrome/browser/signin/signin_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698