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

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

Issue 15929005: [CrOS multi-profiles] Restore user sessions after crash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 7 years, 7 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/login_utils.h
diff --git a/chrome/browser/chromeos/login/login_utils.h b/chrome/browser/chromeos/login/login_utils.h
index b6fb2ac848b5304adc75411b480dfe6fb3a85d6c..f38a70cf7a687409f7fd52147ee619410d270b32 100644
--- a/chrome/browser/chromeos/login/login_utils.h
+++ b/chrome/browser/chromeos/login/login_utils.h
@@ -65,11 +65,14 @@ class LoginUtils {
// this value, shown in UI.
// |user_context.username_hash| defines when user homedir is mounted.
// Also see DelegateDeleted method.
+ // If |has_active_session| is true than this is a case of restoring user
+ // session after browser crash so no need to start new session.
virtual void PrepareProfile(
const UserContext& user_context,
const std::string& display_email,
bool using_oauth,
bool has_cookies,
+ bool has_active_session,
Delegate* delegate) = 0;
// Invalidates |delegate|, which was passed to PrepareProfile method call.
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_controller_browsertest.cc ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698