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

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

Issue 7850003: Fixed sync re-activation when the device comes online after offline login. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/chromeos/login/user_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user_manager.h
===================================================================
--- chrome/browser/chromeos/login/user_manager.h (revision 99948)
+++ chrome/browser/chromeos/login/user_manager.h (working copy)
@@ -169,6 +169,9 @@
bool user_is_logged_in() const { return user_is_logged_in_; }
+ void set_offline_login(bool value) { offline_login_ = value; }
+ bool offline_login() { return offline_login_; }
+
// Returns true if we're logged in as a Guest.
bool IsLoggedInAsGuest() const;
@@ -213,6 +216,9 @@
// The logged-in user.
User logged_in_user_;
+ // Current user is logged in offline. Valid only for WebUI login flow.
+ bool offline_login_;
+
// Cached flag of whether currently logged-in user is owner or not.
// May be accessed on different threads, requires locking.
bool current_user_is_owner_;
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/chromeos/login/user_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698