Skip to content

Commit

Permalink
Implement classes used for manipulating D-Bus messages.
Browse files Browse the repository at this point in the history
Message/MethodCall/Response classes wrap around DBusMessage.

MessageReader and Message Writer provide API to read and write
D-Bus messages in a type safe fashion.

BUG=90036
TEST=The code is not yet used in Chrome. Run unit tests.


Review URL: http://codereview.chromium.org/7492029

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94845 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
satorux@chromium.org committed Jul 30, 2011
1 parent 08bb1e7 commit a9e9149
Show file tree
Hide file tree
Showing 5 changed files with 1,389 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/all.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
'dependencies': [
'../breakpad/breakpad.gyp:*',
'../courgette/courgette.gyp:*',
'../dbus/dbus.gyp:*',
'../sandbox/sandbox.gyp:*',
'../cloud_print/virtual_driver/virtual_driver_linux.gyp:*',
],
Expand Down
19 changes: 19 additions & 0 deletions dbus/dbus.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,25 @@
'../build/linux/system.gyp:dbus',
],
'sources': [
'message.cc',
'message.h',
],
},
{
'target_name': 'dbus_unittests',
'type': 'executable',
'dependencies': [
'dbus',
'../base/base.gyp:test_support_base',
'../testing/gtest.gyp:gtest',
'../build/linux/system.gyp:dbus',
],
'sources': [
'../base/test/run_all_unittests.cc',
'message_unittest.cc',
],
'include_dirs': [
'..',
],
},
],
Expand Down
Loading

0 comments on commit a9e9149

Please sign in to comment.