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

Unified Diff: device/bluetooth/bluetooth_uuid.cc

Issue 1966983003: Generate param traits size methods for IPC files in content/ (and traits it depends on). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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());

Powered by Google App Engine
This is Rietveld 408576698