Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1337)

Issue 99903003: nfc: Various fixes to the NFC D-Bus client in chromeos/dbus. (Closed)

Created:
7 years ago by armansito
Modified:
7 years ago
Reviewers:
keybuk, stevenjb
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 2

Patch Set 2 : Further clarified the InitClient order for NFC client objects. #

Patch Set 3 : Rebased. #

Patch Set 4 : Fixed clang error. #

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

Messages

Total messages: 10 (0 generated)
armansito
7 years ago (2013-12-03 04:19:50 UTC) #1
keybuk
https://codereview.chromium.org/99903003/diff/1/chromeos/dbus/dbus_thread_manager.cc File chromeos/dbus/dbus_thread_manager.cc (right): https://codereview.chromium.org/99903003/diff/1/chromeos/dbus/dbus_thread_manager.cc#newcode435 chromeos/dbus/dbus_thread_manager.cc:435: InitClient(g_dbus_thread_manager->GetNfcManagerClient()); These should be in alphabetical order. If there's ...
7 years ago (2013-12-03 18:13:26 UTC) #2
armansito
https://codereview.chromium.org/99903003/diff/1/chromeos/dbus/dbus_thread_manager.cc File chromeos/dbus/dbus_thread_manager.cc (right): https://codereview.chromium.org/99903003/diff/1/chromeos/dbus/dbus_thread_manager.cc#newcode435 chromeos/dbus/dbus_thread_manager.cc:435: InitClient(g_dbus_thread_manager->GetNfcManagerClient()); On 2013/12/03 18:13:26, keybuk wrote: > These should ...
7 years ago (2013-12-03 18:34:19 UTC) #3
keybuk
lgtm
7 years ago (2013-12-03 18:44:11 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/armansito@chromium.org/99903003/60001
7 years ago (2013-12-03 23:51:48 UTC) #5
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=39243
7 years ago (2013-12-04 00:27:57 UTC) #6
armansito
stevenjb@, PTAL & rubber-stamp.
7 years ago (2013-12-04 00:29:43 UTC) #7
stevenjb
rubberstamp lgtm
7 years ago (2013-12-04 00:32:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/armansito@chromium.org/99903003/60001
7 years ago (2013-12-04 01:12:54 UTC) #9
commit-bot: I haz the power
7 years ago (2013-12-04 06:27:15 UTC) #10
Message was sent while issue was closed.
Change committed as 238604

Powered by Google App Engine
This is Rietveld 408576698