| 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_STUB_LOGIN_SESSION_MANAGER_DELEGAT
E_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_STUB_LOGIN_SESSION_MANAGER_DELEGAT
E_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_STUB_LOGIN_SESSION_MANAGER_DELEGAT
E_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_STUB_LOGIN_SESSION_MANAGER_DELEGAT
E_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "chrome/browser/chromeos/login/session/restore_after_crash_session_mana
ger_delegate.h" | 12 #include "chrome/browser/chromeos/login/session/restore_after_crash_session_mana
ger_delegate.h" |
| 13 | 13 |
| 14 class Profile; | 14 class Profile; |
| 15 | 15 |
| 16 namespace chromeos { | 16 namespace chromeos { |
| 17 | 17 |
| 18 class StubLoginSessionManagerDelegate | 18 class StubLoginSessionManagerDelegate |
| 19 : public RestoreAfterCrashSessionManagerDelegate { | 19 : public RestoreAfterCrashSessionManagerDelegate { |
| 20 public: | 20 public: |
| 21 StubLoginSessionManagerDelegate(Profile* profile, | 21 StubLoginSessionManagerDelegate(Profile* profile, |
| 22 const std::string& login_user_id); | 22 const std::string& login_user_id); |
| 23 virtual ~StubLoginSessionManagerDelegate(); | 23 ~StubLoginSessionManagerDelegate() override; |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 // session_manager::SessionManagerDelegate implementation: | 26 // session_manager::SessionManagerDelegate implementation: |
| 27 virtual void Start() override; | 27 void Start() override; |
| 28 | 28 |
| 29 DISALLOW_COPY_AND_ASSIGN(StubLoginSessionManagerDelegate); | 29 DISALLOW_COPY_AND_ASSIGN(StubLoginSessionManagerDelegate); |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 } // namespace chromeos | 32 } // namespace chromeos |
| 33 | 33 |
| 34 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_STUB_LOGIN_SESSION_MANAGER_DELE
GATE_H_ | 34 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_STUB_LOGIN_SESSION_MANAGER_DELE
GATE_H_ |
| OLD | NEW |