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

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

Issue 108563005: Move the cloud policy protobufs into the component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years 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/cloud_policy_validator.cc
diff --git a/components/policy/core/common/cloud/cloud_policy_validator.cc b/components/policy/core/common/cloud/cloud_policy_validator.cc
index 5471afa8c4523652c88973bf8a11dc33ae752c1e..d28924de61acb8e0d834d994deeb5e8f541cfa2e 100644
--- a/components/policy/core/common/cloud/cloud_policy_validator.cc
+++ b/components/policy/core/common/cloud/cloud_policy_validator.cc
@@ -8,10 +8,10 @@
#include "base/message_loop/message_loop.h"
#include "base/sequenced_task_runner.h"
#include "base/stl_util.h"
-#include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h"
#include "components/policy/core/common/cloud/cloud_policy_constants.h"
#include "crypto/signature_verifier.h"
#include "google_apis/gaia/gaia_auth_util.h"
+#include "policy/proto/device_management_backend.pb.h"
namespace em = enterprise_management;
@@ -377,6 +377,9 @@ bool CloudPolicyValidatorBase::VerifySignature(const std::string& data,
}
template class CloudPolicyValidator<em::CloudPolicySettings>;
+
+#if !defined(OS_ANDROID)
template class CloudPolicyValidator<em::ExternalPolicyData>;
+#endif
} // namespace policy

Powered by Google App Engine
This is Rietveld 408576698