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 <stddef.h> | 7 #include <stddef.h> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/metrics/histogram_macros.h" | 13 #include "base/metrics/histogram_macros.h" |
14 #include "base/sequenced_task_runner.h" | 14 #include "base/sequenced_task_runner.h" |
15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
16 #include "base/stl_util.h" | 16 #include "base/stl_util.h" |
17 #include "base/thread_task_runner_handle.h" | 17 #include "base/threading/thread_task_runner_handle.h" |
18 #include "build/build_config.h" | 18 #include "build/build_config.h" |
19 #include "components/policy/core/common/cloud/cloud_policy_constants.h" | 19 #include "components/policy/core/common/cloud/cloud_policy_constants.h" |
20 #include "crypto/signature_verifier.h" | 20 #include "crypto/signature_verifier.h" |
21 #include "google_apis/gaia/gaia_auth_util.h" | 21 #include "google_apis/gaia/gaia_auth_util.h" |
22 #include "policy/proto/device_management_backend.pb.h" | 22 #include "policy/proto/device_management_backend.pb.h" |
23 | 23 |
24 namespace em = enterprise_management; | 24 namespace em = enterprise_management; |
25 | 25 |
26 namespace policy { | 26 namespace policy { |
27 | 27 |
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 return verifier.VerifyFinal(); | 533 return verifier.VerifyFinal(); |
534 } | 534 } |
535 | 535 |
536 template class CloudPolicyValidator<em::CloudPolicySettings>; | 536 template class CloudPolicyValidator<em::CloudPolicySettings>; |
537 | 537 |
538 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 538 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
539 template class CloudPolicyValidator<em::ExternalPolicyData>; | 539 template class CloudPolicyValidator<em::ExternalPolicyData>; |
540 #endif | 540 #endif |
541 | 541 |
542 } // namespace policy | 542 } // namespace policy |
OLD | NEW |