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

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

Issue 12310009: Merge 182705 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1410/src/
Patch Set: Created 7 years, 10 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
Index: chrome/browser/signin/signin_manager.h
===================================================================
--- chrome/browser/signin/signin_manager.h (revision 183433)
+++ chrome/browser/signin/signin_manager.h (working copy)
@@ -188,6 +188,13 @@
// 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 @@
// 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,
« no previous file with comments | « chrome/browser/policy/user_policy_signin_service_unittest.cc ('k') | chrome/browser/signin/signin_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698