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

Issue 77563002: nfc: Add native NFC API definitions. (Closed)

Created:
7 years, 1 month ago by armansito
Modified:
7 years ago
Reviewers:
keybuk
CC:
chromium-reviews
Visibility:
Public.

Description

nfc: Add native NFC API definitions. Added the headers and non-platform-specific base class definitions for the NFC API. BUG=chromium:316471 TEST=device_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238336

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Patch Set 3 : Addressed keybuk@'s comments. #

Patch Set 4 : Removed NfcAdapterFactory::MaybeGetAdapter. #

Total comments: 4

Patch Set 5 : Fixed nits. #

Patch Set 6 : Rebased #

Patch Set 7 : Fixed clang error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1297 lines, -8 lines) Patch
M device/device_tests.gyp View 2 chunks +2 lines, -0 lines 0 comments Download
A + device/nfc/DEPS View 1 chunk +1 line, -2 lines 0 comments Download
A device/nfc/nfc.gyp View 1 1 chunk +41 lines, -0 lines 0 comments Download
A device/nfc/nfc_adapter.h View 1 2 3 4 1 chunk +193 lines, -0 lines 0 comments Download
A device/nfc/nfc_adapter.cc View 1 1 chunk +53 lines, -0 lines 0 comments Download
A device/nfc/nfc_adapter_factory.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A device/nfc/nfc_adapter_factory.cc View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
A device/nfc/nfc_ndef_record.h View 1 chunk +161 lines, -0 lines 0 comments Download
A device/nfc/nfc_ndef_record.cc View 1 chunk +213 lines, -0 lines 0 comments Download
A device/nfc/nfc_ndef_record_unittest.cc View 1 chunk +238 lines, -0 lines 0 comments Download
A device/nfc/nfc_peer.h View 1 chunk +92 lines, -0 lines 0 comments Download
A + device/nfc/nfc_peer.cc View 1 chunk +7 lines, -3 lines 0 comments Download
A device/nfc/nfc_tag.h View 1 chunk +93 lines, -0 lines 0 comments Download
A + device/nfc/nfc_tag.cc View 1 chunk +7 lines, -3 lines 0 comments Download
A device/nfc/nfc_tag_technology.h View 1 2 3 4 5 6 1 chunk +100 lines, -0 lines 0 comments Download
A device/nfc/nfc_tag_technology.cc View 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
armansito
keybuk@, please review the API and let me know what you think. The CL is ...
7 years, 1 month ago (2013-11-20 04:11:16 UTC) #1
keybuk
https://codereview.chromium.org/77563002/diff/1/device/nfc/nfc_adapter.h File device/nfc/nfc_adapter.h (right): https://codereview.chromium.org/77563002/diff/1/device/nfc/nfc_adapter.h#newcode104 device/nfc/nfc_adapter.h:104: static scoped_refptr<NfcAdapter> GetAdapter(); For future-proofing I think it's worth ...
7 years ago (2013-11-25 19:53:00 UTC) #2
armansito
https://codereview.chromium.org/77563002/diff/1/device/nfc/nfc_adapter.h File device/nfc/nfc_adapter.h (right): https://codereview.chromium.org/77563002/diff/1/device/nfc/nfc_adapter.h#newcode104 device/nfc/nfc_adapter.h:104: static scoped_refptr<NfcAdapter> GetAdapter(); On 2013/11/25 19:53:00, keybuk wrote: > ...
7 years ago (2013-11-25 21:35:35 UTC) #3
keybuk
On 2013/11/25 21:35:35, armansito wrote: > https://codereview.chromium.org/77563002/diff/1/device/nfc/nfc_adapter.h > File device/nfc/nfc_adapter.h (right): > > https://codereview.chromium.org/77563002/diff/1/device/nfc/nfc_adapter.h#newcode104 > ...
7 years ago (2013-11-25 21:43:17 UTC) #4
armansito
On 2013/11/25 21:43:17, keybuk wrote: > On 2013/11/25 21:35:35, armansito wrote: > > https://codereview.chromium.org/77563002/diff/1/device/nfc/nfc_adapter.h > ...
7 years ago (2013-11-25 22:01:21 UTC) #5
armansito
https://codereview.chromium.org/77563002/diff/1/device/nfc/nfc_adapter.h File device/nfc/nfc_adapter.h (right): https://codereview.chromium.org/77563002/diff/1/device/nfc/nfc_adapter.h#newcode104 device/nfc/nfc_adapter.h:104: static scoped_refptr<NfcAdapter> GetAdapter(); On 2013/11/25 21:35:35, armansito wrote: > ...
7 years ago (2013-11-25 22:01:58 UTC) #6
armansito
ping
7 years ago (2013-12-02 22:26:35 UTC) #7
keybuk
https://codereview.chromium.org/77563002/diff/80001/device/nfc/nfc_adapter.h File device/nfc/nfc_adapter.h (right): https://codereview.chromium.org/77563002/diff/80001/device/nfc/nfc_adapter.h#newcode72 device/nfc/nfc_adapter.h:72: virtual void TagLost(NfcAdapter*adapter, NfcTag* tag) {} nit: space here ...
7 years ago (2013-12-03 01:35:49 UTC) #8
keybuk
LGTM after fixing nits
7 years ago (2013-12-03 01:35:59 UTC) #9
armansito
https://codereview.chromium.org/77563002/diff/80001/device/nfc/nfc_adapter.h File device/nfc/nfc_adapter.h (right): https://codereview.chromium.org/77563002/diff/80001/device/nfc/nfc_adapter.h#newcode72 device/nfc/nfc_adapter.h:72: virtual void TagLost(NfcAdapter*adapter, NfcTag* tag) {} On 2013/12/03 01:35:49, ...
7 years ago (2013-12-03 02:43:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/armansito@chromium.org/77563002/120001
7 years ago (2013-12-03 02:47:01 UTC) #11
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) app_list_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
7 years ago (2013-12-03 03:30:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/armansito@chromium.org/77563002/140001
7 years ago (2013-12-03 05:10:47 UTC) #13
commit-bot: I haz the power
7 years ago (2013-12-03 10:37:16 UTC) #14
Message was sent while issue was closed.
Change committed as 238336

Powered by Google App Engine
This is Rietveld 408576698