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

Unified Diff: components/session_manager/core/session_manager.cc

Issue 2444383008: session_manager: Create ChromeSessionManager early (Closed)
Patch Set: for #4 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
« no previous file with comments | « components/session_manager/core/session_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/session_manager/core/session_manager.cc
diff --git a/components/session_manager/core/session_manager.cc b/components/session_manager/core/session_manager.cc
index 3bf3b01e87a85d11d2e29c43ef215abeb31b1ad6..3d2c4b5a40a2ee3c4065859e6925897290fed1ba 100644
--- a/components/session_manager/core/session_manager.cc
+++ b/components/session_manager/core/session_manager.cc
@@ -46,30 +46,9 @@ void SessionManager::SessionStarted() {
session_started_ = true;
}
-void SessionManager::Initialize(SessionManagerDelegate* delegate) {
- DCHECK(delegate);
- delegate_.reset(delegate);
- delegate_->SetSessionManager(this);
-}
-
// static
void SessionManager::SetInstance(SessionManager* session_manager) {
SessionManager::instance = session_manager;
}
-void SessionManager::Start() {
- delegate_->Start();
-}
-
-SessionManagerDelegate::SessionManagerDelegate() {
-}
-
-SessionManagerDelegate::~SessionManagerDelegate() {
-}
-
-void SessionManagerDelegate::SetSessionManager(
- session_manager::SessionManager* session_manager) {
- session_manager_ = session_manager;
-}
-
} // namespace session_manager
« no previous file with comments | « components/session_manager/core/session_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698