| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROMEOS_DBUS_NFC_PROPERTY_SET_H_ | 5 #ifndef CHROMEOS_DBUS_NFC_PROPERTY_SET_H_ |
| 6 #define CHROMEOS_DBUS_NFC_PROPERTY_SET_H_ | 6 #define CHROMEOS_DBUS_NFC_PROPERTY_SET_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
| 11 #include "dbus/message.h" | 12 #include "dbus/message.h" |
| 12 #include "dbus/object_proxy.h" | 13 #include "dbus/object_proxy.h" |
| 13 #include "dbus/property.h" | 14 #include "dbus/property.h" |
| 14 | 15 |
| 15 namespace chromeos { | 16 namespace chromeos { |
| 16 | 17 |
| 17 // neard doesn't use the standard D-Bus interfaces for property access and | 18 // neard doesn't use the standard D-Bus interfaces for property access and |
| 18 // instead defines property accessor methods in each D-Bus interface. This | 19 // instead defines property accessor methods in each D-Bus interface. This |
| 19 // class customizes dbus::PropertySet to generate the correct method call to | 20 // class customizes dbus::PropertySet to generate the correct method call to |
| 20 // get all properties, connect to the correct signal and parse it correctly. | 21 // get all properties, connect to the correct signal and parse it correctly. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 47 // Optional callback used to notify clients when all properties were received | 48 // Optional callback used to notify clients when all properties were received |
| 48 // after a call to GetAll. | 49 // after a call to GetAll. |
| 49 base::Closure on_get_all_callback_; | 50 base::Closure on_get_all_callback_; |
| 50 | 51 |
| 51 DISALLOW_COPY_AND_ASSIGN(NfcPropertySet); | 52 DISALLOW_COPY_AND_ASSIGN(NfcPropertySet); |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 } // namespace chromeos | 55 } // namespace chromeos |
| 55 | 56 |
| 56 #endif // CHROMEOS_DBUS_NFC_PROPERTY_SET_H_ | 57 #endif // CHROMEOS_DBUS_NFC_PROPERTY_SET_H_ |
| OLD | NEW |