| 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_CHROME_SESSION_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_CHROME_SESSION_MANAGER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_CHROME_SESSION_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_CHROME_SESSION_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/session_manager/core/session_manager.h" | 9 #include "components/session_manager/core/session_manager.h" |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 // - Launches pre-session UI such as out-of-box or login; | 26 // - Launches pre-session UI such as out-of-box or login; |
| 27 // - Launches the auto launched kiosk app; | 27 // - Launches the auto launched kiosk app; |
| 28 // - Resumes user sessions on crash-and-restart; | 28 // - Resumes user sessions on crash-and-restart; |
| 29 // - Starts a stub login session for dev or test; | 29 // - Starts a stub login session for dev or test; |
| 30 void Initialize(const base::CommandLine& parsed_command_line, | 30 void Initialize(const base::CommandLine& parsed_command_line, |
| 31 Profile* profile, | 31 Profile* profile, |
| 32 bool is_running_test); | 32 bool is_running_test); |
| 33 | 33 |
| 34 // session_manager::SessionManager: | 34 // session_manager::SessionManager: |
| 35 void SessionStarted() override; | 35 void SessionStarted() override; |
| 36 void NotifyUserLoggedIn(const AccountId& user_account_id, |
| 37 const std::string& user_id_hash, |
| 38 bool browser_restart) override; |
| 36 | 39 |
| 37 private: | 40 private: |
| 38 DISALLOW_COPY_AND_ASSIGN(ChromeSessionManager); | 41 DISALLOW_COPY_AND_ASSIGN(ChromeSessionManager); |
| 39 }; | 42 }; |
| 40 | 43 |
| 41 } // namespace chromeos | 44 } // namespace chromeos |
| 42 | 45 |
| 43 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_CHROME_SESSION_MANAGER_H_ | 46 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_CHROME_SESSION_MANAGER_H_ |
| OLD | NEW |