| Index: chrome/browser/signin/signin_manager.h
|
| diff --git a/chrome/browser/signin/signin_manager.h b/chrome/browser/signin/signin_manager.h
|
| index 8518a2f3489e7e129e83deb1cc4fc887904d9d93..f3fece45efd8f9559ddca455971b8978333dc040 100644
|
| --- a/chrome/browser/signin/signin_manager.h
|
| +++ b/chrome/browser/signin/signin_manager.h
|
| @@ -188,6 +188,13 @@ class SigninManager : public GaiaAuthConsumer,
|
| // ProfileKeyedService implementation.
|
| virtual void Shutdown() OVERRIDE;
|
|
|
| + // Tells the SigninManager to prohibit signout for this profile.
|
| + void ProhibitSignout();
|
| +
|
| + // If true, signout is prohibited for this profile (calls to SignOut() are
|
| + // ignored).
|
| + bool IsSignoutProhibited() const;
|
| +
|
| protected:
|
| // Weak pointer to parent profile (protected so FakeSigninManager can access
|
| // it).
|
| @@ -198,6 +205,9 @@ class SigninManager : public GaiaAuthConsumer,
|
| // SigninManager (so we can expose a reference for use in the wrench menu).
|
| scoped_ptr<SigninGlobalError> signin_global_error_;
|
|
|
| + // Flag saying whether signing out is allowed.
|
| + bool prohibit_signout_;
|
| +
|
| private:
|
| enum SigninType {
|
| SIGNIN_TYPE_NONE,
|
|
|