dbus: add support for synchronous PropertySet::Get

The existing PropertySet::Get function is asynchronous.
This CL adds the synchronous version of PropertySet::Get.
It is defined as PropertySet::GetAndBlock.

Also fix some typos and indent problems in previous
introduced SetAndBlock().

BUG=https://b.corp.google.com/u/0/issues/24131409
TEST=manually tested

Review URL: https://codereview.chromium.org/1368713002

Cr-Commit-Position: refs/heads/master@{#351185}


CrOS-Libchrome-Original-Commit: a5523d02410fc00401b569cfcac06f71b09b1c66
2 files changed
tree: 8bed8ab1b44a544ed08b1d20a3b419fd037a3a0e
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/