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

Unified Diff: chrome/browser/chromeos/settings/device_settings_test_helper.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/settings/device_settings_test_helper.h
diff --git a/chrome/browser/chromeos/settings/device_settings_test_helper.h b/chrome/browser/chromeos/settings/device_settings_test_helper.h
index d0fbe1d95cfa252d03278ea2af50766c51d3ef66..ce64e1a6182fb1b5fa2adb3496338e01382eac8a 100644
--- a/chrome/browser/chromeos/settings/device_settings_test_helper.h
+++ b/chrome/browser/chromeos/settings/device_settings_test_helper.h
@@ -82,9 +82,12 @@ class DeviceSettingsTestHelper : public MockSessionManagerClient {
// SessionManagerClient:
void RetrieveDevicePolicy(const RetrievePolicyCallback& callback) override;
+ std::string BlockingRetrieveDevicePolicy() override;
void RetrieveDeviceLocalAccountPolicy(
const std::string& account_id,
const RetrievePolicyCallback& callback) override;
+ std::string BlockingRetrieveDeviceLocalAccountPolicy(
+ const std::string& account_id) override;
void StoreDevicePolicy(const std::string& policy_blob,
const StorePolicyCallback& callback) override;
void StoreDeviceLocalAccountPolicy(

Powered by Google App Engine
This is Rietveld 408576698