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 "chrome/browser/policy/cloud_policy_validator.h" | 5 #include "chrome/browser/policy/cloud/cloud_policy_validator.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
11 #include "chrome/browser/policy/cloud_policy_constants.h" | 11 #include "chrome/browser/policy/cloud/cloud_policy_constants.h" |
12 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h" | 12 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h" |
13 #include "chrome/browser/policy/proto/chrome_extension_policy.pb.h" | 13 #include "chrome/browser/policy/proto/chrome_extension_policy.pb.h" |
14 #include "chrome/browser/policy/proto/cloud_policy.pb.h" | 14 #include "chrome/browser/policy/proto/cloud_policy.pb.h" |
15 #include "chrome/browser/policy/proto/device_management_backend.pb.h" | 15 #include "chrome/browser/policy/proto/device_management_backend.pb.h" |
16 #include "content/public/browser/browser_thread.h" | 16 #include "content/public/browser/browser_thread.h" |
17 #include "crypto/signature_verifier.h" | 17 #include "crypto/signature_verifier.h" |
18 #include "google_apis/gaia/gaia_auth_util.h" | 18 #include "google_apis/gaia/gaia_auth_util.h" |
19 | 19 |
20 namespace em = enterprise_management; | 20 namespace em = enterprise_management; |
21 | 21 |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 base::Passed(scoped_ptr<CloudPolicyValidatorBase>(this)), | 391 base::Passed(scoped_ptr<CloudPolicyValidatorBase>(this)), |
392 MessageLoop::current()->message_loop_proxy(), | 392 MessageLoop::current()->message_loop_proxy(), |
393 base::Bind(completion_callback, this))); | 393 base::Bind(completion_callback, this))); |
394 } | 394 } |
395 | 395 |
396 template class CloudPolicyValidator<em::ChromeDeviceSettingsProto>; | 396 template class CloudPolicyValidator<em::ChromeDeviceSettingsProto>; |
397 template class CloudPolicyValidator<em::CloudPolicySettings>; | 397 template class CloudPolicyValidator<em::CloudPolicySettings>; |
398 template class CloudPolicyValidator<em::ExternalPolicyData>; | 398 template class CloudPolicyValidator<em::ExternalPolicyData>; |
399 | 399 |
400 } // namespace policy | 400 } // namespace policy |
OLD | NEW |