diff options
Diffstat (limited to 'dbus/values_util.h')
-rw-r--r-- | dbus/values_util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dbus/values_util.h b/dbus/values_util.h index cfb31a5..535a402 100644 --- a/dbus/values_util.h +++ b/dbus/values_util.h @@ -13,6 +13,7 @@ class Value; namespace dbus { class MessageReader; +class MessageWriter; // Pops a value from |reader| as a base::Value. // Returns NULL if an error occurs. @@ -20,6 +21,13 @@ class MessageReader; // double. Non-string diciontary keys are converted to strings. base::Value* PopDataAsValue(MessageReader* reader); +// Appends a basic type value to |writer|. +void AppendBasicTypeValueData(MessageWriter* writer, const base::Value& value); + +// Appends a basic type value to |writer| as a variant. +void AppendBasicTypeValueDataAsVariant(MessageWriter* writer, + const base::Value& value); + } // namespace dbus #endif // DBUS_VALUES_UTIL_H_ |