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

Unified Diff: components/policy/core/common/cloud/user_cloud_policy_store.cc

Issue 2820063005: Remove the "not_after" validation of policy timestamps (Closed)
Patch Set: Rebase Created 3 years, 8 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
« no previous file with comments | « components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/cloud/user_cloud_policy_store.cc
diff --git a/components/policy/core/common/cloud/user_cloud_policy_store.cc b/components/policy/core/common/cloud/user_cloud_policy_store.cc
index 47917bcacfa3ebed28844a1d7027dd63151500a7..75fe42720d8dedd80620836b4ec2d4a1592a3f63 100644
--- a/components/policy/core/common/cloud/user_cloud_policy_store.cc
+++ b/components/policy/core/common/cloud/user_cloud_policy_store.cc
@@ -338,7 +338,7 @@ void UserCloudPolicyStore::Validate(
const UserCloudPolicyValidator::CompletionCallback& callback) {
// Configure the validator.
std::unique_ptr<UserCloudPolicyValidator> validator = CreateValidator(
- std::move(policy), CloudPolicyValidatorBase::TIMESTAMP_NOT_BEFORE);
+ std::move(policy), CloudPolicyValidatorBase::TIMESTAMP_VALIDATED);
// Extract the owning domain from the signed-in user (if any is set yet).
// If there's no owning domain, then the code just ensures that the policy
« no previous file with comments | « components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698