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 #ifndef CHROME_BROWSER_POLICY_CLOUD_POLICY_BUILDER_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_POLICY_BUILDER_H_ |
6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_BUILDER_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_BUILDER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "chrome/browser/policy/cloud/proto/device_management_local.pb.h" | 14 #include "chrome/browser/policy/proto/cloud/device_management_local.pb.h" |
15 #include "crypto/rsa_private_key.h" | 15 #include "crypto/rsa_private_key.h" |
16 | 16 |
17 namespace enterprise_management { | 17 namespace enterprise_management { |
18 class CloudPolicySettings; | 18 class CloudPolicySettings; |
19 class ExternalPolicyData; | 19 class ExternalPolicyData; |
20 } // namespace enterprise_management | 20 } // namespace enterprise_management |
21 | 21 |
22 namespace policy { | 22 namespace policy { |
23 | 23 |
24 // A helper class for testing that provides a straightforward interface for | 24 // A helper class for testing that provides a straightforward interface for |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 }; | 132 }; |
133 | 133 |
134 typedef TypedPolicyBuilder<enterprise_management::CloudPolicySettings> | 134 typedef TypedPolicyBuilder<enterprise_management::CloudPolicySettings> |
135 UserPolicyBuilder; | 135 UserPolicyBuilder; |
136 typedef TypedPolicyBuilder<enterprise_management::ExternalPolicyData> | 136 typedef TypedPolicyBuilder<enterprise_management::ExternalPolicyData> |
137 ComponentPolicyBuilder; | 137 ComponentPolicyBuilder; |
138 | 138 |
139 } // namespace policy | 139 } // namespace policy |
140 | 140 |
141 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_BUILDER_H_ | 141 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_BUILDER_H_ |
OLD | NEW |