Index: device/bluetooth/bluetooth_uuid.cc |
diff --git a/device/bluetooth/bluetooth_uuid.cc b/device/bluetooth/bluetooth_uuid.cc |
index 7a275e586edef6d4e8f855ad8d0900654703f580..7e55bc9d11849b7f03efc74c1d349ba08901a605 100644 |
--- a/device/bluetooth/bluetooth_uuid.cc |
+++ b/device/bluetooth/bluetooth_uuid.cc |
@@ -9,6 +9,7 @@ |
#include "base/logging.h" |
#include "base/strings/string_util.h" |
#include "ipc/ipc_message.h" |
+#include "ipc/ipc_message_utils.h" |
namespace device { |
@@ -96,6 +97,11 @@ void PrintTo(const BluetoothUUID& uuid, std::ostream* out) { |
} // namespace device |
+void IPC::ParamTraits<device::BluetoothUUID>::GetSize(base::PickleSizer* s, |
+ const param_type& p) { |
+ IPC::GetParamSize(s, p.canonical_value()); |
+} |
+ |
void IPC::ParamTraits<device::BluetoothUUID>::Write(base::Pickle* m, |
const param_type& p) { |
m->WriteString(p.canonical_value()); |