dbus: add ObjectPath type

Rather than use std::string for object paths, add a dbus::ObjectPath type
that wraps one while allowing more type-safety. This solves all sorts of
issues with confusing object paths for strings, and allows us to do
Properties code using templates disambiguating them from strings.

BUG=chromium:109194
TEST=built and run tests

Change-Id: Icaf6f19daea4af23a9d2ec0ed76d2cbd379d680e

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121920

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

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


CrOS-Libchrome-Original-Commit: 216ed0bef820f496f853510c6fb274a817257ea6
21 files changed
tree: a25ec07e1d561c09fb10b49b595557cdcc552396
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/