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

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

Issue 19733003: Implement cloud policy invalidations using the invalidation service framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 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/user_cloud_policy_store_chromeos.cc
diff --git a/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc b/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc
index c6cb989e90ae2f3b2abb54ee4b7e5ce7d3968550..cd51fa3e95b8e028031d604feb68d3851c3d15b0 100644
--- a/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc
+++ b/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc
@@ -331,7 +331,10 @@ void UserCloudPolicyStoreChromeOS::OnRetrievedPolicyValidated(
return;
}
- InstallPolicy(validator->policy_data().Pass(), validator->payload().Pass());
+ InstallPolicy(
+ validator->policy_data().Pass(),
+ validator->payload().Pass(),
+ validator->hash_value());
Joao da Silva 2013/07/23 20:44:47 This can be removed (and the change below too) if
Steve Condie 2013/07/24 01:42:04 Done.
status_ = STATUS_OK;
// Policy has been loaded successfully. This indicates that new-style policy
@@ -375,7 +378,10 @@ void UserCloudPolicyStoreChromeOS::OnLegacyPolicyValidated(
validation_status_ = validator->status();
if (validator->success()) {
status_ = STATUS_OK;
- InstallPolicy(validator->policy_data().Pass(), validator->payload().Pass());
+ InstallPolicy(
+ validator->policy_data().Pass(),
+ validator->payload().Pass(),
+ validator->hash_value());
// Clear the public key version. The public key version field would
// otherwise indicate that we have key installed in the store when in fact

Powered by Google App Engine
This is Rietveld 408576698