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

Unified Diff: chrome/browser/chromeos/policy/device_local_account_policy_store.cc

Issue 2488573003: Expose signing key from cloud policy stores (Closed)
Patch Set: Rebase Created 4 years, 1 month 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_store.cc
diff --git a/chrome/browser/chromeos/policy/device_local_account_policy_store.cc b/chrome/browser/chromeos/policy/device_local_account_policy_store.cc
index 3cd5673c1b3d3548f17ccba78615f3d2b1282767..74991509606257d72bd8a1339b627b2792e643be 100644
--- a/chrome/browser/chromeos/policy/device_local_account_policy_store.cc
+++ b/chrome/browser/chromeos/policy/device_local_account_policy_store.cc
@@ -147,6 +147,7 @@ void DeviceLocalAccountPolicyStore::Validate(
NotifyStoreLoaded();
return;
}
+ public_key_ = key->as_string();
Thiemo Nagel 2016/11/17 17:19:56 What about moving this next to the InstallPolicy()
emaxx 2016/11/17 18:44:55 Sounds reasonable. Do you think it's better to hav
std::unique_ptr<UserCloudPolicyValidator> validator(
UserCloudPolicyValidator::Create(std::move(policy_response),

Powered by Google App Engine
This is Rietveld 408576698