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.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_RESTORE_AFTER_CRASH_SESSION_MANAGER_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_RESTORE_AFTER_CRASH_SESSION_MANAGER_DELEGATE_H_
10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "components/session_manager/core/session_manager.h"
18 class RestoreAfterCrashSessionManagerDelegate
19 : public session_manager::SessionManagerDelegate {
21 RestoreAfterCrashSessionManagerDelegate(Profile* profile,
22 const std::string& login_user_id);
23 virtual ~RestoreAfterCrashSessionManagerDelegate();
26 // session_manager::SessionManagerDelegate implementation:
27 virtual void Start() OVERRIDE;
29 Profile* profile() { return profile_; }
30 const std::string& login_user_id() const { return login_user_id_; }
34 const std::string login_user_id_;
36 DISALLOW_COPY_AND_ASSIGN(RestoreAfterCrashSessionManagerDelegate);
39 } // namespace chromeos
41 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_RESTORE_AFTER_CRASH_SESSION_MANAGER_DELEGATE_H_