OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_CLOUD_DEVICES_COMMON_CAPABILITY_INTERFACES_H_ | 5 #ifndef COMPONENTS_CLOUD_DEVICES_COMMON_CAPABILITY_INTERFACES_H_ |
6 #define COMPONENTS_CLOUD_DEVICES_COMMON_CAPABILITY_INTERFACES_H_ | 6 #define COMPONENTS_CLOUD_DEVICES_COMMON_CAPABILITY_INTERFACES_H_ |
7 | 7 |
8 // Defines common templates that could be used to create device specific | 8 // Defines common templates that could be used to create device specific |
9 // capabilities and print tickets. | 9 // capabilities and print tickets. |
10 | 10 |
| 11 #include <stddef.h> |
| 12 |
11 #include <algorithm> | 13 #include <algorithm> |
12 #include <vector> | 14 #include <vector> |
13 | 15 |
14 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/macros.h" |
15 #include "base/numerics/safe_conversions.h" | 18 #include "base/numerics/safe_conversions.h" |
16 #include "components/cloud_devices/common/cloud_device_description.h" | 19 #include "components/cloud_devices/common/cloud_device_description.h" |
17 | 20 |
18 namespace base { | 21 namespace base { |
19 class DictionaryValue; | 22 class DictionaryValue; |
20 } | 23 } |
21 | 24 |
22 namespace cloud_devices { | 25 namespace cloud_devices { |
23 | 26 |
24 // All traits below specify how to serialize and validate capabilities and | 27 // All traits below specify how to serialize and validate capabilities and |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 | 223 |
221 private: | 224 private: |
222 Option value_; | 225 Option value_; |
223 | 226 |
224 DISALLOW_COPY_AND_ASSIGN(TicketItem); | 227 DISALLOW_COPY_AND_ASSIGN(TicketItem); |
225 }; | 228 }; |
226 | 229 |
227 } // namespace cloud_devices | 230 } // namespace cloud_devices |
228 | 231 |
229 #endif // COMPONENTS_CLOUD_DEVICES_COMMON_CAPABILITY_INTERFACES_H_ | 232 #endif // COMPONENTS_CLOUD_DEVICES_COMMON_CAPABILITY_INTERFACES_H_ |
OLD | NEW |