Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1276)

Unified Diff: chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.h

Issue 2444383008: session_manager: Create ChromeSessionManager early (Closed)
Patch Set: get rid of initializer classes Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.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_manager_delegate.h
deleted file mode 100644
index dbc247305132034934a598f247952643752ba59a..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// 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_
-
-#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 {
- public:
- RestoreAfterCrashSessionManagerDelegate(Profile* profile,
- const std::string& login_user_id);
- ~RestoreAfterCrashSessionManagerDelegate() override;
-
- protected:
- // session_manager::SessionManagerDelegate implementation:
- void Start() override;
-
- Profile* profile() { return profile_; }
- const std::string& login_user_id() const { return login_user_id_; }
-
- private:
- Profile* profile_;
- const std::string login_user_id_;
-
- DISALLOW_COPY_AND_ASSIGN(RestoreAfterCrashSessionManagerDelegate);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_RESTORE_AFTER_CRASH_SESSION_MANAGER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698