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

Unified Diff: components/policy/core/common/cloud/component_cloud_policy_updater.h

Issue 2493603002: Implement component cloud policy signature validation (Closed)
Patch Set: Add comment 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: components/policy/core/common/cloud/component_cloud_policy_updater.h
diff --git a/components/policy/core/common/cloud/component_cloud_policy_updater.h b/components/policy/core/common/cloud/component_cloud_policy_updater.h
index b8c65d57ef4be5acaa447de55abb2b6a3fc69456..694e95e9d3e282d3d70da113f34f8d4d2df826bf 100644
--- a/components/policy/core/common/cloud/component_cloud_policy_updater.h
+++ b/components/policy/core/common/cloud/component_cloud_policy_updater.h
@@ -43,11 +43,13 @@ class POLICY_EXPORT ComponentCloudPolicyUpdater {
ComponentCloudPolicyStore* store);
~ComponentCloudPolicyUpdater();
- // |response| is the latest policy information fetched for some component.
+ // |response| is the latest policy information fetched for component
+ // represented by namespace |ns|.
// This method schedules the download of the policy data, if |response| is
// validated. If the downloaded data also passes validation then that data
// will be passed to the |store_|.
void UpdateExternalPolicy(
+ const PolicyNamespace& ns,
std::unique_ptr<enterprise_management::PolicyFetchResponse> response);
// Cancels any pending operations for the given namespace.

Powered by Google App Engine
This is Rietveld 408576698