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