Index: dbus/message.h |
diff --git a/dbus/message.h b/dbus/message.h |
index 7dffe0e0f60965d6de1f5ebf3fb2db7c20811026..b382032c805d32a8cd9f027d681749aa607b372f 100644 |
--- a/dbus/message.h |
+++ b/dbus/message.h |
@@ -312,6 +312,9 @@ class CHROME_DBUS_EXPORT MessageWriter { |
// function. |
void AppendArrayOfBytes(const uint8_t* values, size_t length); |
+ // Appends the array of doubles. Used for audio mixer matrix doubles. |
+ void AppendArrayOfDoubles(const double* values, size_t length); |
+ |
// 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 +418,9 @@ class CHROME_DBUS_EXPORT MessageReader { |
// after the MessageReader is destroyed. |
bool PopArrayOfBytes(const uint8_t** bytes, size_t* length); |
+ // Gets the array of doubles at the current iterator position. |
+ bool PopArrayOfDoubles(const double** doubles, size_t* length); |
+ |
// Gets the array of strings at the current iterator position. |strings| is |
// cleared before being modified. Returns true and advances the iterator on |
// success. |