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

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: wrap Validator in unique_ptr 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..f0f05127ae3c487ef63022f725437299f819400a 100644
--- a/chrome/browser/chromeos/policy/device_local_account_policy_service.h
+++ b/chrome/browser/chromeos/policy/device_local_account_policy_service.h
@@ -69,9 +69,12 @@ class DeviceLocalAccountPolicyBroker
AffiliatedInvalidationServiceProvider* invalidation_service_provider);
~DeviceLocalAccountPolicyBroker() override;
- // Initialize the broker, loading its |store_|.
+ // Initialize the broker, start asynchronous load of its |store_|.
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