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

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

Issue 9466005: Make sure the device recovers from policy loss in the consumer case. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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/user_manager.h
diff --git a/chrome/browser/chromeos/login/user_manager.h b/chrome/browser/chromeos/login/user_manager.h
index 9c587a086726ae632e8d900be09cf0fd10907fb6..282395142c8c34cad780f416685f6a3b3fda37b8 100644
--- a/chrome/browser/chromeos/login/user_manager.h
+++ b/chrome/browser/chromeos/login/user_manager.h
@@ -122,6 +122,9 @@ class UserManager : public ProfileDownloaderDelegate,
// download times).
void DownloadProfileImage(const std::string& reason);
+ // Loads the key/certificates database for the current logged in user.
+ void LoadKeyStore();
+
// content::NotificationObserver implementation.
virtual void Observe(int type,
const content::NotificationSource& source,
@@ -278,6 +281,8 @@ class UserManager : public ProfileDownloaderDelegate,
// Cached flag of whether any user is logged in at the moment.
bool user_is_logged_in_;
+ bool key_store_loaded_;
+
content::NotificationRegistrar registrar_;
// Profile sync service which is observed to take actions after sync

Powered by Google App Engine
This is Rietveld 408576698