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 DBUS_PROPERTY_H_ | 5 #ifndef DBUS_PROPERTY_H_ |
6 #define DBUS_PROPERTY_H_ | 6 #define DBUS_PROPERTY_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <string> | 11 #include <string> |
| 12 #include <unordered_map> |
12 #include <utility> | 13 #include <utility> |
13 #include <vector> | 14 #include <vector> |
14 | 15 |
15 #include "base/bind.h" | 16 #include "base/bind.h" |
16 #include "base/callback.h" | 17 #include "base/callback.h" |
17 #include "base/macros.h" | 18 #include "base/macros.h" |
18 #include "dbus/dbus_export.h" | 19 #include "dbus/dbus_export.h" |
19 #include "dbus/message.h" | 20 #include "dbus/message.h" |
20 #include "dbus/object_proxy.h" | 21 #include "dbus/object_proxy.h" |
21 | 22 |
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 CHROME_DBUS_EXPORT bool | 604 CHROME_DBUS_EXPORT bool |
604 Property<std::vector<std::pair<std::vector<uint8_t>, uint16_t>>>:: | 605 Property<std::vector<std::pair<std::vector<uint8_t>, uint16_t>>>:: |
605 PopValueFromReader(MessageReader* reader); | 606 PopValueFromReader(MessageReader* reader); |
606 template <> | 607 template <> |
607 CHROME_DBUS_EXPORT void | 608 CHROME_DBUS_EXPORT void |
608 Property<std::vector<std::pair<std::vector<uint8_t>, uint16_t>>>:: | 609 Property<std::vector<std::pair<std::vector<uint8_t>, uint16_t>>>:: |
609 AppendSetValueToWriter(MessageWriter* writer); | 610 AppendSetValueToWriter(MessageWriter* writer); |
610 extern template class CHROME_DBUS_EXPORT | 611 extern template class CHROME_DBUS_EXPORT |
611 Property<std::vector<std::pair<std::vector<uint8_t>, uint16_t>>>; | 612 Property<std::vector<std::pair<std::vector<uint8_t>, uint16_t>>>; |
612 | 613 |
| 614 template <> |
| 615 CHROME_DBUS_EXPORT bool |
| 616 Property<std::unordered_map<std::string, std::vector<uint8_t>>>:: |
| 617 PopValueFromReader(MessageReader* reader); |
| 618 template <> |
| 619 CHROME_DBUS_EXPORT void |
| 620 Property<std::unordered_map<std::string, std::vector<uint8_t>>>:: |
| 621 AppendSetValueToWriter(MessageWriter* writer); |
| 622 extern template class CHROME_DBUS_EXPORT |
| 623 Property<std::unordered_map<std::string, std::vector<uint8_t>>>; |
| 624 |
613 #pragma GCC diagnostic pop | 625 #pragma GCC diagnostic pop |
614 | 626 |
615 } // namespace dbus | 627 } // namespace dbus |
616 | 628 |
617 #endif // DBUS_PROPERTY_H_ | 629 #endif // DBUS_PROPERTY_H_ |
OLD | NEW |