| 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 | 308 |
| 309 // Finalized profile preparation. | 309 // Finalized profile preparation. |
| 310 void FinalizePrepareProfile(Profile* profile); | 310 void FinalizePrepareProfile(Profile* profile); |
| 311 | 311 |
| 312 // Starts out-of-box flow with the specified screen. | 312 // Starts out-of-box flow with the specified screen. |
| 313 void ActivateWizard(const std::string& screen_name); | 313 void ActivateWizard(const std::string& screen_name); |
| 314 | 314 |
| 315 // Adds first-time login URLs. | 315 // Adds first-time login URLs. |
| 316 void InitializeStartUrls() const; | 316 void InitializeStartUrls() const; |
| 317 | 317 |
| 318 // Check if Chromebook is too old to show Oobe Goodies page. |
| 319 void CheckCanShowGoodiesPref(); |
| 320 |
| 318 // Perform session initialization and either move to additional login flows | 321 // Perform session initialization and either move to additional login flows |
| 319 // such as TOS (public sessions), priority pref sync UI (new users) or | 322 // such as TOS (public sessions), priority pref sync UI (new users) or |
| 320 // launch browser. | 323 // launch browser. |
| 321 // Returns true if browser has been launched or false otherwise. | 324 // Returns true if browser has been launched or false otherwise. |
| 322 bool InitializeUserSession(Profile* profile); | 325 bool InitializeUserSession(Profile* profile); |
| 323 | 326 |
| 324 // Initializes member variables needed for session restore process via | 327 // Initializes member variables needed for session restore process via |
| 325 // OAuthLoginManager. | 328 // OAuthLoginManager. |
| 326 void InitSessionRestoreStrategy(); | 329 void InitSessionRestoreStrategy(); |
| 327 | 330 |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 bool waiting_for_child_account_status_; | 479 bool waiting_for_child_account_status_; |
| 477 | 480 |
| 478 base::WeakPtrFactory<UserSessionManager> weak_factory_; | 481 base::WeakPtrFactory<UserSessionManager> weak_factory_; |
| 479 | 482 |
| 480 DISALLOW_COPY_AND_ASSIGN(UserSessionManager); | 483 DISALLOW_COPY_AND_ASSIGN(UserSessionManager); |
| 481 }; | 484 }; |
| 482 | 485 |
| 483 } // namespace chromeos | 486 } // namespace chromeos |
| 484 | 487 |
| 485 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ | 488 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ |
| OLD | NEW |