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

Unified Diff: chrome/browser/chromeos/policy/device_local_account_policy_service.h

Issue 2714493002: Load DeviceLocalAccount policy and DeviceSettings immediately on restore after Chrome crash. (Closed)
Patch Set: add flag to correctly process LoadImmediately() call Created 3 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/policy/device_local_account_policy_service.h
diff --git a/chrome/browser/chromeos/policy/device_local_account_policy_service.h b/chrome/browser/chromeos/policy/device_local_account_policy_service.h
index 173bd7e06a20e2b56eb694273544f662ee2290bd..4c122544c7b75caceb622337e887e9e83dc194ac 100644
--- a/chrome/browser/chromeos/policy/device_local_account_policy_service.h
+++ b/chrome/browser/chromeos/policy/device_local_account_policy_service.h
@@ -72,6 +72,9 @@ class DeviceLocalAccountPolicyBroker
// Initialize the broker, loading its |store_|.
emaxx 2017/02/22 17:24:33 Worth mentioning explicitly that this actually jus
Sergey Poromov 2017/02/28 14:01:17 Done.
void Initialize();
+ // Loads store synchronously.
+ void LoadImmediately();
+
// For the difference between |account_id| and |user_id|, see the
// documentation of DeviceLocalAccount.
const std::string& account_id() const { return account_id_; }

Powered by Google App Engine
This is Rietveld 408576698