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

Unified Diff: chrome/browser/chromeos/login/session/kiosk_auto_launcher_session_manager_delegate.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
Index: chrome/browser/chromeos/login/session/kiosk_auto_launcher_session_manager_delegate.cc
diff --git a/chrome/browser/chromeos/login/session/kiosk_auto_launcher_session_manager_delegate.cc b/chrome/browser/chromeos/login/session/kiosk_auto_launcher_session_manager_delegate.cc
deleted file mode 100644
index 6c6bf8d96a53578824ef7b6d19a51bcfa220f257..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/session/kiosk_auto_launcher_session_manager_delegate.cc
+++ /dev/null
@@ -1,35 +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.
-
-#include "chrome/browser/chromeos/login/session/kiosk_auto_launcher_session_manager_delegate.h"
-
-#include "base/logging.h"
-#include "chrome/browser/chromeos/login/login_wizard.h"
-#include "chrome/browser/chromeos/login/wizard_controller.h"
-#include "chromeos/dbus/dbus_thread_manager.h"
-#include "chromeos/dbus/session_manager_client.h"
-
-namespace chromeos {
-
-KioskAutoLauncherSessionManagerDelegate::
- KioskAutoLauncherSessionManagerDelegate() {
-}
-
-KioskAutoLauncherSessionManagerDelegate::
- ~KioskAutoLauncherSessionManagerDelegate() {
-}
-
-void KioskAutoLauncherSessionManagerDelegate::Start() {
- // Kiosk app launcher starts with login state.
- session_manager_->SetSessionState(
- session_manager::SessionState::LOGIN_PRIMARY);
-
- ShowLoginWizard(chromeos::WizardController::kAppLaunchSplashScreenName);
-
- // Login screen is skipped but 'login-prompt-visible' signal is still needed.
- VLOG(1) << "Kiosk app auto launch >> login-prompt-visible";
- DBusThreadManager::Get()->GetSessionManagerClient()->EmitLoginPromptVisible();
-}
-
-} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698