Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: device/bluetooth/bluetooth_uuid.cc

Issue 1970643002: ParamTraits version of https://codereview.chromium.org/1896883002/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/bluetooth_uuid.h ('k') | ipc/ipc_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_uuid.cc
diff --git a/device/bluetooth/bluetooth_uuid.cc b/device/bluetooth/bluetooth_uuid.cc
index 7a275e586edef6d4e8f855ad8d0900654703f580..f5234ea8622f94b69fbf369604d1b14d594e827d 100644
--- a/device/bluetooth/bluetooth_uuid.cc
+++ b/device/bluetooth/bluetooth_uuid.cc
@@ -96,6 +96,11 @@ void PrintTo(const BluetoothUUID& uuid, std::ostream* out) {
} // namespace device
+void IPC::ParamTraits<device::BluetoothUUID>::GetSize(base::PickleSizer* s,
+ const param_type& p) {
+ s->AddString(p.canonical_value());
+}
+
void IPC::ParamTraits<device::BluetoothUUID>::Write(base::Pickle* m,
const param_type& p) {
m->WriteString(p.canonical_value());
« no previous file with comments | « device/bluetooth/bluetooth_uuid.h ('k') | ipc/ipc_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698