Index: chrome/browser/chromeos/login/session/restore_after_crash_session_initializer.h |
diff --git a/chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.h b/chrome/browser/chromeos/login/session/restore_after_crash_session_initializer.h |
similarity index 50% |
rename from chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.h |
rename to chrome/browser/chromeos/login/session/restore_after_crash_session_initializer.h |
index dbc247305132034934a598f247952643752ba59a..babe9f99f268ecce50582f1e1b3e34c4edb9b6a8 100644 |
--- a/chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.h |
+++ b/chrome/browser/chromeos/login/session/restore_after_crash_session_initializer.h |
@@ -2,40 +2,36 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_RESTORE_AFTER_CRASH_SESSION_MANAGER_DELEGATE_H_ |
-#define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_RESTORE_AFTER_CRASH_SESSION_MANAGER_DELEGATE_H_ |
+#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_RESTORE_AFTER_CRASH_SESSION_INITIALIZER_H_ |
+#define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_RESTORE_AFTER_CRASH_SESSION_INITIALIZER_H_ |
-#include <memory> |
#include <string> |
#include "base/macros.h" |
-#include "components/session_manager/core/session_manager.h" |
class Profile; |
namespace chromeos { |
-class RestoreAfterCrashSessionManagerDelegate |
- : public session_manager::SessionManagerDelegate { |
+class RestoreAfterCrashSessionInitializer { |
public: |
- RestoreAfterCrashSessionManagerDelegate(Profile* profile, |
- const std::string& login_user_id); |
- ~RestoreAfterCrashSessionManagerDelegate() override; |
+ RestoreAfterCrashSessionInitializer(Profile* profile, |
+ const std::string& login_user_id); |
+ virtual ~RestoreAfterCrashSessionInitializer(); |
- protected: |
- // session_manager::SessionManagerDelegate implementation: |
- void Start() override; |
+ virtual void Start(); |
+ protected: |
Profile* profile() { return profile_; } |
const std::string& login_user_id() const { return login_user_id_; } |
private: |
- Profile* profile_; |
+ Profile* const profile_; |
const std::string login_user_id_; |
- DISALLOW_COPY_AND_ASSIGN(RestoreAfterCrashSessionManagerDelegate); |
+ DISALLOW_COPY_AND_ASSIGN(RestoreAfterCrashSessionInitializer); |
}; |
} // namespace chromeos |
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_RESTORE_AFTER_CRASH_SESSION_MANAGER_DELEGATE_H_ |
+#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_RESTORE_AFTER_CRASH_SESSION_INITIALIZER_H_ |