| 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/basictypes.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  | 
|  11 namespace base { |  11 namespace base { | 
|  12 class CommandLine; |  12 class CommandLine; | 
|  13 } |  13 } | 
|  14  |  14  | 
|  15 class Profile; |  15 class Profile; | 
|  16  |  16  | 
|  17 namespace chromeos { |  17 namespace chromeos { | 
|  18  |  18  | 
|  19 class ChromeSessionManager : public session_manager::SessionManager { |  19 class ChromeSessionManager : public session_manager::SessionManager { | 
|  20  public: |  20  public: | 
|  21   static scoped_ptr<session_manager::SessionManager> CreateSessionManager( |  21   static scoped_ptr<session_manager::SessionManager> CreateSessionManager( | 
|  22       const base::CommandLine& parsed_command_line, |  22       const base::CommandLine& parsed_command_line, | 
|  23       Profile* profile, |  23       Profile* profile, | 
|  24       bool is_running_test); |  24       bool is_running_test); | 
|  25  |  25  | 
|  26  private: |  26  private: | 
|  27   explicit ChromeSessionManager( |  27   explicit ChromeSessionManager( | 
|  28       session_manager::SessionManagerDelegate* delegate); |  28       session_manager::SessionManagerDelegate* delegate); | 
|  29   ~ChromeSessionManager() override; |  29   ~ChromeSessionManager() override; | 
|  30  |  30  | 
|  31   DISALLOW_COPY_AND_ASSIGN(ChromeSessionManager); |  31   DISALLOW_COPY_AND_ASSIGN(ChromeSessionManager); | 
|  32 }; |  32 }; | 
|  33  |  33  | 
|  34 }  // namespace chromeos |  34 }  // namespace chromeos | 
|  35  |  35  | 
|  36 #endif  // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_CHROME_SESSION_MANAGER_H_ |  36 #endif  // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_CHROME_SESSION_MANAGER_H_ | 
| OLD | NEW |