| Index: src/common/chromeos/dbus/dbus.cc
|
| diff --git a/src/common/chromeos/dbus/dbus.cc b/src/common/chromeos/dbus/dbus.cc
|
| index 486f908bd334eea90e7e0c539b89aac1d822bcf4..656f7b2a97b755e906b5bacc8332ccdce7706864 100644
|
| --- a/src/common/chromeos/dbus/dbus.cc
|
| +++ b/src/common/chromeos/dbus/dbus.cc
|
| @@ -125,6 +125,19 @@ Proxy::value_type Proxy::GetGProxy(const BusConnection& connection,
|
| return result;
|
| }
|
|
|
| +/* static */
|
| +Proxy::value_type Proxy::GetGPeerProxy(const BusConnection& connection,
|
| + const char* path,
|
| + const char* interface) {
|
| + value_type result = ::dbus_g_proxy_new_for_peer(connection.object_,
|
| + path,
|
| + interface);
|
| + if (!result)
|
| + LOG(ERROR) << "Failed to construct peer proxy: " << path;
|
| +
|
| + return result;
|
| +}
|
| +
|
| bool RegisterExclusiveService(const BusConnection& connection,
|
| const char* interface_name,
|
| const char* service_name,
|
|
|