| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 // Restores GAIA auth cookies for the created user profile from OAuth2 token. | 272 // Restores GAIA auth cookies for the created user profile from OAuth2 token. |
| 273 void RestoreAuthSessionImpl(Profile* profile, | 273 void RestoreAuthSessionImpl(Profile* profile, |
| 274 bool restore_from_auth_cookies); | 274 bool restore_from_auth_cookies); |
| 275 | 275 |
| 276 // Initializes RLZ. If |disabled| is true, RLZ pings are disabled. | 276 // Initializes RLZ. If |disabled| is true, RLZ pings are disabled. |
| 277 void InitRlzImpl(Profile* profile, bool disabled); | 277 void InitRlzImpl(Profile* profile, bool disabled); |
| 278 | 278 |
| 279 // Starts loading CRL set. | 279 // Starts loading CRL set. |
| 280 void InitializeCRLSetFetcher(const user_manager::User* user); | 280 void InitializeCRLSetFetcher(const user_manager::User* user); |
| 281 | 281 |
| 282 // Starts loading EV Certificates whitelist. |
| 283 void InitializeEVCertificatesWhitelistComponent( |
| 284 const user_manager::User* user); |
| 285 |
| 282 // Callback to process RetrieveActiveSessions() request results. | 286 // Callback to process RetrieveActiveSessions() request results. |
| 283 void OnRestoreActiveSessions( | 287 void OnRestoreActiveSessions( |
| 284 const SessionManagerClient::ActiveSessionsMap& sessions, | 288 const SessionManagerClient::ActiveSessionsMap& sessions, |
| 285 bool success); | 289 bool success); |
| 286 | 290 |
| 287 // Called by OnRestoreActiveSessions() when there're user sessions in | 291 // Called by OnRestoreActiveSessions() when there're user sessions in |
| 288 // |pending_user_sessions_| that has to be restored one by one. | 292 // |pending_user_sessions_| that has to be restored one by one. |
| 289 // Also called after first user session from that list is restored and so on. | 293 // Also called after first user session from that list is restored and so on. |
| 290 // Process continues till |pending_user_sessions_| map is not empty. | 294 // Process continues till |pending_user_sessions_| map is not empty. |
| 291 void RestorePendingUserSessions(); | 295 void RestorePendingUserSessions(); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 scoped_ptr<EasyUnlockKeyManager> easy_unlock_key_manager_; | 355 scoped_ptr<EasyUnlockKeyManager> easy_unlock_key_manager_; |
| 352 bool running_easy_unlock_key_ops_; | 356 bool running_easy_unlock_key_ops_; |
| 353 base::Closure easy_unlock_key_ops_finished_callback_; | 357 base::Closure easy_unlock_key_ops_finished_callback_; |
| 354 | 358 |
| 355 DISALLOW_COPY_AND_ASSIGN(UserSessionManager); | 359 DISALLOW_COPY_AND_ASSIGN(UserSessionManager); |
| 356 }; | 360 }; |
| 357 | 361 |
| 358 } // namespace chromeos | 362 } // namespace chromeos |
| 359 | 363 |
| 360 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ | 364 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ |
| OLD | NEW |