summaryrefslogtreecommitdiffstats
path: root/dbus/message.h
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-22 18:28:42 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-22 18:28:42 +0000
commit090d8e51bb768c3c4ecd30a81b3285fc6ddff9e2 (patch)
treef393d869c901f3e5958dcd3077d715f096b8bbb9 /dbus/message.h
parent9b8aa5b5adf8aa3f005876fdbcc5120099073604 (diff)
downloadchromium_src-090d8e51bb768c3c4ecd30a81b3285fc6ddff9e2.zip
chromium_src-090d8e51bb768c3c4ecd30a81b3285fc6ddff9e2.tar.gz
chromium_src-090d8e51bb768c3c4ecd30a81b3285fc6ddff9e2.tar.bz2
Add AppendArrayOfObjectPaths, which was missing.
It was an oversight not to have this function. BUG=90036 TEST=dbus_unittests Review URL: http://codereview.chromium.org/7686013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97689 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus/message.h')
-rw-r--r--dbus/message.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dbus/message.h b/dbus/message.h
index 31887a1..4f8dc07 100644
--- a/dbus/message.h
+++ b/dbus/message.h
@@ -238,6 +238,11 @@ class MessageWriter {
// function.
void AppendArrayOfBytes(const uint8* values, size_t length);
+ // Appends the array of object paths. Arrays of object paths are often
+ // used to exchanging object paths, hence it's worth having a
+ // specialized function.
+ void AppendArrayOfObjectPaths(const std::vector<std::string>& object_paths);
+
// Appends the byte wrapped in a variant data container. Variants are
// widely used in D-Bus services so it's worth having a specialized
// function. For instance, The third parameter of