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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.h

Issue 656283002: [session_manager] Move user session initialization code out of ExistingUserController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 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/existing_user_controller.h
diff --git a/chrome/browser/chromeos/login/existing_user_controller.h b/chrome/browser/chromeos/login/existing_user_controller.h
index 7659d901b27a687539fa1383f62e49a4ae213cdf..159ad7d5b1134695e536a89b6b23eaa6f861787b 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.h
+++ b/chrome/browser/chromeos/login/existing_user_controller.h
@@ -156,20 +156,15 @@ class ExistingUserController : public LoginDisplay::Delegate,
const std::string& username, bool success) override;
// LoginUtils::Delegate implementation:
- virtual void OnProfilePrepared(Profile* profile) override;
+ virtual void OnProfilePrepared(Profile* profile,
+ bool browser_launched) override;
// Called when device settings change.
void DeviceSettingsChanged();
- // Starts WizardController with the specified screen.
- void ActivateWizard(const std::string& screen_name);
-
// Returns corresponding native window.
gfx::NativeWindow GetNativeWindow() const;
- // Adds first-time login URLs.
- void InitializeStartUrls() const;
-
// Show error message. |error_id| error message ID in resources.
// If |details| string is not empty, it specify additional error text
// provided by authenticator, it is not localized.
@@ -235,6 +230,14 @@ class ExistingUserController : public LoginDisplay::Delegate,
// preconditions have been verified.
void LoginAsPublicSessionInternal(const UserContext& user_context);
+ // Performs sets of actions right prior to login has been started.
+ void PerformPreLoginActions(const UserContext& user_context);
+
+ // Performs set of actions when login has been completed or has been
+ // cancelled. If |start_public_session_timer| is true than public session
+ // auto-login timer is started.
+ void PerformLoginFinishedActions(bool start_public_session_timer);
+
// Public session auto-login timer.
scoped_ptr<base::OneShotTimer<ExistingUserController> > auto_login_timer_;
« no previous file with comments | « chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc ('k') | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698