| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/dbus/bluetooth_property.h" | 5 #include "chromeos/dbus/bluetooth_property.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "dbus/message.h" | 8 #include "dbus/message.h" |
| 9 #include "dbus/object_proxy.h" | 9 #include "dbus/object_proxy.h" |
| 10 #include "third_party/cros_system_api/dbus/service_constants.h" | 10 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 11 | 11 |
| 12 namespace chromeos { | 12 namespace chromeos { |
| 13 | 13 |
| 14 void BluetoothPropertySet::ConnectSignals() { | 14 void BluetoothPropertySet::ConnectSignals() { |
| 15 dbus::ObjectProxy* object_proxy = this->object_proxy(); | 15 dbus::ObjectProxy* object_proxy = this->object_proxy(); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 dbus::ObjectProxy* object_proxy = this->object_proxy(); | 35 dbus::ObjectProxy* object_proxy = this->object_proxy(); |
| 36 DCHECK(object_proxy); | 36 DCHECK(object_proxy); |
| 37 object_proxy->CallMethod(&method_call, | 37 object_proxy->CallMethod(&method_call, |
| 38 dbus::ObjectProxy::TIMEOUT_USE_DEFAULT, | 38 dbus::ObjectProxy::TIMEOUT_USE_DEFAULT, |
| 39 base::Bind(&dbus::PropertySet::OnGetAll, | 39 base::Bind(&dbus::PropertySet::OnGetAll, |
| 40 GetWeakPtr())); | 40 GetWeakPtr())); |
| 41 } | 41 } |
| 42 | 42 |
| 43 } | 43 } |
| OLD | NEW |