Call dbus_bus_register at the beginning of connection.

According to dbus specification in "Message Bus Messages" section (http://dbus.freedesktop.org/doc/dbus-specification.html),
"Before an application is able to send messages to other applications it must send the org.freedesktop.DBus.Hello message to the message bus to obtain a unique name. "

To meets this specification, we should call dbus_bus_register function which call org.freedesktop.DBus.Hello. For the dbus session or system bus, this function is called in dbus_bus_get function.


BUG=159088
TEST=ran dbus_unittests

Review URL: https://chromiumcodereview.appspot.com/11312036

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165641 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: ea1aaa9544654b363ab7ae6084373c6e4bed09d5
1 file changed
tree: 635454e61526aa99e815de65e98ae239d166bf3e
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/