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

Unified Diff: dbus/message.h

Issue 7686013: Add AppendArrayOfObjectPaths, which was missing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
« no previous file with comments | « no previous file | dbus/message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/message.h
diff --git a/dbus/message.h b/dbus/message.h
index 31887a12e89a053b8aca44ceac595fd28834849f..4f8dc07861987a66823e814e7c53bfb55e4a2d0b 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
« no previous file with comments | « no previous file | dbus/message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698