| Index: chrome/browser/signin/chrome_signin_client.h
|
| diff --git a/chrome/browser/signin/chrome_signin_manager_delegate.h b/chrome/browser/signin/chrome_signin_client.h
|
| similarity index 54%
|
| rename from chrome/browser/signin/chrome_signin_manager_delegate.h
|
| rename to chrome/browser/signin/chrome_signin_client.h
|
| index fd9bad57276f5da341a96b1d559adb6524a28c48..8d625e8b93591cb0addb9ceab960445bd2bcd030 100644
|
| --- a/chrome/browser/signin/chrome_signin_manager_delegate.h
|
| +++ b/chrome/browser/signin/chrome_signin_client.h
|
| @@ -2,26 +2,26 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_MANAGER_DELEGATE_H_
|
| -#define CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_MANAGER_DELEGATE_H_
|
| +#ifndef CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_
|
| +#define CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_
|
|
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| -#include "components/signin/core/signin_manager_delegate.h"
|
| +#include "components/signin/core/signin_client.h"
|
|
|
| class CookieSettings;
|
| class Profile;
|
|
|
| -class ChromeSigninManagerDelegate : public SigninManagerDelegate {
|
| +class ChromeSigninClient : public SigninClient {
|
| public:
|
| - explicit ChromeSigninManagerDelegate(Profile* profile);
|
| - virtual ~ChromeSigninManagerDelegate();
|
| + explicit ChromeSigninClient(Profile* profile);
|
| + virtual ~ChromeSigninClient();
|
|
|
| // Utility methods.
|
| static bool ProfileAllowsSigninCookies(Profile* profile);
|
| static bool SettingsAllowSigninCookies(CookieSettings* cookie_settings);
|
|
|
| - // SigninManagerDelegate implementation.
|
| + // SigninClient implementation.
|
| virtual bool AreSigninCookiesAllowed() OVERRIDE;
|
|
|
| private:
|
| @@ -29,7 +29,7 @@ class ChromeSigninManagerDelegate : public SigninManagerDelegate {
|
| // outlived by Profile.
|
| Profile* profile_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(ChromeSigninManagerDelegate);
|
| + DISALLOW_COPY_AND_ASSIGN(ChromeSigninClient);
|
| };
|
|
|
| -#endif // CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_MANAGER_DELEGATE_H_
|
| +#endif // CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_
|
|
|