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

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

Issue 192313002: Make ChromeSigninClient a BrowserContextKeyedService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit 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
« no previous file with comments | « no previous file | chrome/browser/signin/chrome_signin_client_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8d625e8b93591cb0addb9ceab960445bd2bcd030..5f226c5737c548c86ba7a48d2b733fe8063ce5bf 100644
--- a/chrome/browser/signin/chrome_signin_client.h
+++ b/chrome/browser/signin/chrome_signin_client.h
@@ -7,12 +7,14 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "components/browser_context_keyed_service/browser_context_keyed_service.h"
#include "components/signin/core/signin_client.h"
class CookieSettings;
class Profile;
-class ChromeSigninClient : public SigninClient {
+class ChromeSigninClient : public SigninClient,
+ public BrowserContextKeyedService {
public:
explicit ChromeSigninClient(Profile* profile);
virtual ~ChromeSigninClient();
@@ -25,8 +27,6 @@ class ChromeSigninClient : public SigninClient {
virtual bool AreSigninCookiesAllowed() OVERRIDE;
private:
- // Non-owning; this object is owned by the SigninManager, which is
- // outlived by Profile.
Profile* profile_;
DISALLOW_COPY_AND_ASSIGN(ChromeSigninClient);
« no previous file with comments | « no previous file | chrome/browser/signin/chrome_signin_client_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698