Chromium Code Reviews| Index: dbus/message.h |
| diff --git a/dbus/message.h b/dbus/message.h |
| index 7dffe0e0f60965d6de1f5ebf3fb2db7c20811026..d670315945cf708407936c18fcea2940330b180d 100644 |
| --- a/dbus/message.h |
| +++ b/dbus/message.h |
| @@ -312,6 +312,8 @@ class CHROME_DBUS_EXPORT MessageWriter { |
| // function. |
| void AppendArrayOfBytes(const uint8_t* values, size_t length); |
| + void AppendArrayOfDoubles(const double* values, size_t length); |
|
stevenjb
2016/03/29 01:05:19
Add a comment here (or add a single comment for th
|
| + |
| // Appends the array of strings. Arrays of strings are often used for |
| // exchanging lists of names hence it's worth having a specialized |
| // function. |
| @@ -415,6 +417,8 @@ class CHROME_DBUS_EXPORT MessageReader { |
| // after the MessageReader is destroyed. |
| bool PopArrayOfBytes(const uint8_t** bytes, size_t* length); |
| + bool PopArrayOfDoubles(const double** doubles, size_t* length); |
|
stevenjb
2016/03/29 01:05:19
Ditto
|
| + |
| // Gets the array of strings at the current iterator position. |strings| is |
| // cleared before being modified. Returns true and advances the iterator on |
| // success. |