1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_MANAGER_DELEGATE_H_
6 #define CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_MANAGER_DELEGATE_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "components/signin/core/signin_manager_delegate.h"
15 class ChromeSigninManagerDelegate
: public SigninManagerDelegate
{
17 explicit ChromeSigninManagerDelegate(Profile
* profile
);
18 virtual ~ChromeSigninManagerDelegate();
21 static bool ProfileAllowsSigninCookies(Profile
* profile
);
22 static bool SettingsAllowSigninCookies(CookieSettings
* cookie_settings
);
24 // SigninManagerDelegate implementation.
25 virtual bool AreSigninCookiesAllowed() OVERRIDE
;
28 // Non-owning; this object is owned by the SigninManager, which is
29 // outlived by Profile.
32 DISALLOW_COPY_AND_ASSIGN(ChromeSigninManagerDelegate
);
35 #endif // CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_MANAGER_DELEGATE_H_