OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_CHROME_SESSION_MANAGER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_CHROME_SESSION_MANAGER_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "components/session_manager/core/session_manager.h" |
| 10 |
| 11 namespace base { |
| 12 class CommandLine; |
| 13 } |
| 14 |
| 15 class Profile; |
| 16 |
| 17 namespace chromeos { |
| 18 |
| 19 class ChromeSessionManager : public session_manager::SessionManager { |
| 20 public: |
| 21 static scoped_ptr<session_manager::SessionManager> CreateSessionManager( |
| 22 const base::CommandLine& parsed_command_line, |
| 23 Profile* profile, |
| 24 bool is_running_test); |
| 25 |
| 26 private: |
| 27 explicit ChromeSessionManager( |
| 28 session_manager::SessionManagerDelegate* delegate); |
| 29 virtual ~ChromeSessionManager(); |
| 30 |
| 31 DISALLOW_COPY_AND_ASSIGN(ChromeSessionManager); |
| 32 }; |
| 33 |
| 34 } // namespace chromeos |
| 35 |
| 36 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_CHROME_SESSION_MANAGER_H_ |
OLD | NEW |