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

Side by Side Diff: chrome/browser/chromeos/login/session/chrome_session_manager.h

Issue 2468483002: session_manager: Tracks user sessions (Closed)
Patch Set: replace func overload with better names Created 4 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
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698