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

Unified Diff: dbus/values_util.cc

Issue 9700072: dbus: add support for passing file descriptors (Closed) Base URL: http://git.chromium.org/git/chromium/src@master
Patch Set: fix unit test to not run where fd-passing support is missing Created 8 years, 9 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
« dbus/message_unittest.cc ('K') | « dbus/message_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/values_util.cc
diff --git a/dbus/values_util.cc b/dbus/values_util.cc
index e341ac235ce5dae8d60612ff1b4eddee933f8922..b03a331592273408c31cb42738d1775cb2a71951 100644
--- a/dbus/values_util.cc
+++ b/dbus/values_util.cc
@@ -163,6 +163,11 @@ Value* PopDataAsValue(MessageReader* reader) {
result = Value::CreateStringValue(value.value());
break;
}
+ case Message::UNIX_FD: {
+ // Cannot distinguish fd from an int at the moment
satorux1 2012/03/28 20:49:37 maybe drop "at the moment". base::Value won't have
Sam Leffler 2012/03/28 22:06:33 Done.
+ NOTREACHED();
+ break;
+ }
case Message::ARRAY: {
MessageReader sub_reader(NULL);
if (reader->PopArray(&sub_reader)) {
« dbus/message_unittest.cc ('K') | « dbus/message_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698