Chromium Code Reviews| Index: device/bluetooth/bluetooth_uuid.h |
| diff --git a/device/bluetooth/bluetooth_uuid.h b/device/bluetooth/bluetooth_uuid.h |
| index 390d98d59a461b4a45a505e99ec4286d0803c76c..49cff6ccfd1320cfcf775b638485a8450cdac805 100644 |
| --- a/device/bluetooth/bluetooth_uuid.h |
| +++ b/device/bluetooth/bluetooth_uuid.h |
| @@ -8,6 +8,11 @@ |
| #include <string> |
| #include "device/bluetooth/bluetooth_export.h" |
| +#include "ipc/ipc_param_traits.h" |
| + |
| +namespace base { |
| +class PickleIterator; |
| +} |
| namespace device { |
| @@ -97,4 +102,18 @@ PrintTo(const BluetoothUUID& uuid, std::ostream* out); |
| } // namespace device |
| +namespace IPC { |
| + |
| +class Message; |
| + |
| +template <> |
|
armansito
2015/06/23 18:24:28
Can you document the purpose of this structure?
Jeffrey Yasskin
2015/06/24 21:04:26
Is the new comment here what you were going for, o
armansito
2015/06/24 21:26:43
Yep, the new comment was what I was going for.
|
| +struct DEVICE_BLUETOOTH_EXPORT ParamTraits<device::BluetoothUUID> { |
| + typedef device::BluetoothUUID param_type; |
| + static void Write(Message* m, const param_type& p); |
| + static bool Read(const Message* m, base::PickleIterator* iter, param_type* r); |
| + static void Log(const param_type& p, std::string* l); |
| +}; |
| + |
| +} // namespace IPC |
| + |
| #endif // DEVICE_BLUETOOTH_BLUETOOTH_UUID_H_ |