| Index: chrome/browser/signin/signin_manager.h
|
| diff --git a/chrome/browser/signin/signin_manager.h b/chrome/browser/signin/signin_manager.h
|
| index 2a38955060adafac21a48be02636ec577b81b226..df7b1351f2eee397fa5113d6795238b967301ad6 100644
|
| --- a/chrome/browser/signin/signin_manager.h
|
| +++ b/chrome/browser/signin/signin_manager.h
|
| @@ -24,6 +24,7 @@
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/prefs/public/pref_change_registrar.h"
|
| +#include "base/prefs/public/pref_observer.h"
|
| #include "chrome/browser/profiles/profile_keyed_service.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| @@ -49,6 +50,7 @@ struct GoogleServiceSigninSuccessDetails {
|
|
|
| class SigninManager : public GaiaAuthConsumer,
|
| public content::NotificationObserver,
|
| + public PrefObserver,
|
| public ProfileKeyedService {
|
| public:
|
| // Returns true if the cookie policy for the given profile allows cookies
|
| @@ -146,6 +148,10 @@ class SigninManager : public GaiaAuthConsumer,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) OVERRIDE;
|
|
|
| + // PrefObserver
|
| + virtual void OnPreferenceChanged(PrefServiceBase* service,
|
| + const std::string& pref_name) OVERRIDE;
|
| +
|
| protected:
|
| // Weak pointer to parent profile (protected so FakeSigninManager can access
|
| // it).
|
|
|