|
nfc: Various fixes to the NFC D-Bus client in chromeos/dbus.
This CL applies the following fixes:
1. Fixed a bug in chromeos::NfcPropertySet::Set where the code didn't pass
in the property name and value to the D-Bus call.
2. Changed NfcTagClient::Write and NfcDeviceClient::Push to take in a
base::DictionaryValue instead of a map of strings for the NDEF attributes,
as the NDEF record attributes don't have string as their only possible
value type.
3. Fixed a regression in DBusThreadManager due to recent refactors that broke
the NFC client initialization code.
4. Allow users of NfcPropertySet to be notified when a call to GetAll completes.
BUG= 316471
TEST=chromeos_unittests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238604
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+154 lines, -31 lines) |
Patch |
 |
M |
chromeos/dbus/dbus_thread_manager.cc
|
View
|
1
2
|
2 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chromeos/dbus/fake_nfc_device_client.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/dbus/fake_nfc_device_client.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/dbus/fake_nfc_tag_client.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/dbus/fake_nfc_tag_client.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/dbus/nfc_client_helpers.h
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/dbus/nfc_client_helpers.cc
|
View
|
|
2 chunks |
+50 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/dbus/nfc_client_unittest.cc
|
View
|
1
2
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chromeos/dbus/nfc_device_client.h
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/dbus/nfc_device_client.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chromeos/dbus/nfc_property_set.h
|
View
|
1
2
3
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/dbus/nfc_property_set.cc
|
View
|
1
2
3
|
3 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/dbus/nfc_record_client.h
|
View
|
1
2
|
1 chunk |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chromeos/dbus/nfc_record_client.cc
|
View
|
1
2
|
2 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/dbus/nfc_tag_client.h
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/dbus/nfc_tag_client.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|