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

Unified Diff: chrome/browser/policy/cloud/user_cloud_policy_store_base.h

Issue 24041002: Turn off future-timestamp cloud policy checks on desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed enum name to TIMESTAMP_NOT_BEFORE Created 7 years, 3 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/policy/cloud/user_cloud_policy_store_base.h
diff --git a/chrome/browser/policy/cloud/user_cloud_policy_store_base.h b/chrome/browser/policy/cloud/user_cloud_policy_store_base.h
index 514983a8d1098783db1174ef217938d6bb77da7b..e00a3d29a39733b50ef6ba16613c5e58f618e1ca 100644
--- a/chrome/browser/policy/cloud/user_cloud_policy_store_base.h
+++ b/chrome/browser/policy/cloud/user_cloud_policy_store_base.h
@@ -11,6 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/policy/cloud/cloud_policy_store.h"
+#include "chrome/browser/policy/cloud/cloud_policy_validator.h"
namespace policy {
@@ -25,7 +26,8 @@ class UserCloudPolicyStoreBase : public CloudPolicyStore {
// Creates a validator configured to validate a user policy. The caller owns
// the resulting object until StartValidation() is invoked.
scoped_ptr<UserCloudPolicyValidator> CreateValidator(
- scoped_ptr<enterprise_management::PolicyFetchResponse> policy);
+ scoped_ptr<enterprise_management::PolicyFetchResponse> policy,
+ CloudPolicyValidatorBase::ValidateTimestampOption option);
// Sets |policy_data| and |payload| as the active policy.
void InstallPolicy(
« no previous file with comments | « chrome/browser/policy/cloud/user_cloud_policy_store.cc ('k') | chrome/browser/policy/cloud/user_cloud_policy_store_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698