| 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 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_BLUETOOTH_PROPERTY_H_ | 5 #ifndef CHROMEOS_DBUS_BLUETOOTH_PROPERTY_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DBUS_BLUETOOTH_PROPERTY_H_ | 6 #define CHROMEOS_DBUS_BLUETOOTH_PROPERTY_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "dbus/message.h" | 10 #include "dbus/message.h" |
| 11 #include "dbus/object_proxy.h" | 11 #include "dbus/object_proxy.h" |
| 12 #include "dbus/property.h" | 12 #include "dbus/property.h" |
| 13 #include "third_party/cros_system_api/dbus/service_constants.h" | 13 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 14 | 14 |
| 15 namespace chromeos { | 15 namespace chromeos { |
| 16 | 16 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 object_proxy->CallMethod(&method_call, | 86 object_proxy->CallMethod(&method_call, |
| 87 dbus::ObjectProxy::TIMEOUT_USE_DEFAULT, | 87 dbus::ObjectProxy::TIMEOUT_USE_DEFAULT, |
| 88 base::Bind(&dbus::Property<T>::OnSet, | 88 base::Bind(&dbus::Property<T>::OnSet, |
| 89 this->GetWeakPtr(), | 89 this->GetWeakPtr(), |
| 90 callback)); | 90 callback)); |
| 91 } | 91 } |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 } // namespace chromeos | 94 } // namespace chromeos |
| 95 | 95 |
| 96 #endif // CHROME_BROWSER_CHROMEOS_DBUS_BLUETOOTH_PROPERTY_H_ | 96 #endif // CHROMEOS_DBUS_BLUETOOTH_PROPERTY_H_ |
| OLD | NEW |