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

Side by Side Diff: chrome/browser/signin/signin_manager.h

Issue 57363003: Enable account reconcilor when --new-profile-management is used. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unsigned check in tests again Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // The signin manager encapsulates some functionality tracking 5 // The signin manager encapsulates some functionality tracking
6 // which user is signed in. See SigninManagerBase for full description of 6 // which user is signed in. See SigninManagerBase for full description of
7 // responsibilities. The class defined in this file provides functionality 7 // responsibilities. The class defined in this file provides functionality
8 // required by all platforms except Chrome OS. 8 // required by all platforms except Chrome OS.
9 // 9 //
10 // When a user is signed in, a ClientLogin request is run on their behalf. 10 // When a user is signed in, a ClientLogin request is run on their behalf.
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 virtual void OnClientLoginSuccess(const ClientLoginResult& result) OVERRIDE; 147 virtual void OnClientLoginSuccess(const ClientLoginResult& result) OVERRIDE;
148 virtual void OnClientLoginFailure( 148 virtual void OnClientLoginFailure(
149 const GoogleServiceAuthError& error) OVERRIDE; 149 const GoogleServiceAuthError& error) OVERRIDE;
150 virtual void OnClientOAuthSuccess(const ClientOAuthResult& result) OVERRIDE; 150 virtual void OnClientOAuthSuccess(const ClientOAuthResult& result) OVERRIDE;
151 virtual void OnClientOAuthFailure( 151 virtual void OnClientOAuthFailure(
152 const GoogleServiceAuthError& error) OVERRIDE; 152 const GoogleServiceAuthError& error) OVERRIDE;
153 virtual void OnOAuth2RevokeTokenCompleted() OVERRIDE; 153 virtual void OnOAuth2RevokeTokenCompleted() OVERRIDE;
154 virtual void OnGetUserInfoSuccess(const UserInfoMap& data) OVERRIDE; 154 virtual void OnGetUserInfoSuccess(const UserInfoMap& data) OVERRIDE;
155 virtual void OnGetUserInfoFailure( 155 virtual void OnGetUserInfoFailure(
156 const GoogleServiceAuthError& error) OVERRIDE; 156 const GoogleServiceAuthError& error) OVERRIDE;
157 virtual void OnUberAuthTokenSuccess(const std::string& token) OVERRIDE;
158 virtual void OnUberAuthTokenFailure(
159 const GoogleServiceAuthError& error) OVERRIDE;
160 virtual void OnMergeSessionSuccess(const std::string& data) OVERRIDE;
161 virtual void OnMergeSessionFailure(
162 const GoogleServiceAuthError& error) OVERRIDE;
163 157
164 // content::NotificationObserver 158 // content::NotificationObserver
165 virtual void Observe(int type, 159 virtual void Observe(int type,
166 const content::NotificationSource& source, 160 const content::NotificationSource& source,
167 const content::NotificationDetails& details) OVERRIDE; 161 const content::NotificationDetails& details) OVERRIDE;
168 162
169 163
170 // Tells the SigninManager whether to prohibit signout for this profile. 164 // Tells the SigninManager whether to prohibit signout for this profile.
171 // If |prohibit_signout| is true, then signout will be prohibited. 165 // If |prohibit_signout| is true, then signout will be prohibited.
172 void ProhibitSignout(bool prohibit_signout); 166 void ProhibitSignout(bool prohibit_signout);
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 290
297 // Helper object to listen for changes to the signin allowed preference. 291 // Helper object to listen for changes to the signin allowed preference.
298 BooleanPrefMember signin_allowed_; 292 BooleanPrefMember signin_allowed_;
299 293
300 DISALLOW_COPY_AND_ASSIGN(SigninManager); 294 DISALLOW_COPY_AND_ASSIGN(SigninManager);
301 }; 295 };
302 296
303 #endif // !defined(OS_CHROMEOS) 297 #endif // !defined(OS_CHROMEOS)
304 298
305 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_H_ 299 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698