OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/policy/core/common/cloud/cloud_policy_validator.h" | 5 #include "components/policy/core/common/cloud/cloud_policy_validator.h" |
6 | 6 |
7 #include "base/bind_helpers.h" | 7 #include "base/bind_helpers.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram_macros.h" |
10 #include "base/sequenced_task_runner.h" | 10 #include "base/sequenced_task_runner.h" |
11 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
12 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
13 #include "base/thread_task_runner_handle.h" | 13 #include "base/thread_task_runner_handle.h" |
14 #include "components/policy/core/common/cloud/cloud_policy_constants.h" | 14 #include "components/policy/core/common/cloud/cloud_policy_constants.h" |
15 #include "crypto/signature_verifier.h" | 15 #include "crypto/signature_verifier.h" |
16 #include "google_apis/gaia/gaia_auth_util.h" | 16 #include "google_apis/gaia/gaia_auth_util.h" |
17 #include "policy/proto/device_management_backend.pb.h" | 17 #include "policy/proto/device_management_backend.pb.h" |
18 | 18 |
19 namespace em = enterprise_management; | 19 namespace em = enterprise_management; |
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 return verifier.VerifyFinal(); | 549 return verifier.VerifyFinal(); |
550 } | 550 } |
551 | 551 |
552 template class CloudPolicyValidator<em::CloudPolicySettings>; | 552 template class CloudPolicyValidator<em::CloudPolicySettings>; |
553 | 553 |
554 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 554 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
555 template class CloudPolicyValidator<em::ExternalPolicyData>; | 555 template class CloudPolicyValidator<em::ExternalPolicyData>; |
556 #endif | 556 #endif |
557 | 557 |
558 } // namespace policy | 558 } // namespace policy |
OLD | NEW |