summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/nfc_record_client.cc
Commit message (Collapse)AuthorAgeFilesLines
* Replace more ObserverList with base::ObserverList.brettw2015-06-031-1/+1
| | | | | | | | | | | | This is everything but the chrome directory CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel TBR=zelidrag@chromium.org (chromeos) TBR=keybuk@chromium.org (device/bluetooth) Review URL: https://codereview.chromium.org/1162943002 Cr-Commit-Position: refs/heads/master@{#332626}
* Update {virtual,override,final} to follow C++11 style in chromeos/dbus.dcheng2015-01-161-21/+18
| | | | | | | | | | | | | | | | The Google style guide states that only one of {virtual,override,final} should be used for each declaration, since override implies virtual and final implies both virtual and override. This patch was automatically generated with a ChromeOS build using a variation of https://codereview.chromium.org/598073004. BUG=417463 R=hashimoto@chromium.org Review URL: https://codereview.chromium.org/817853005 Cr-Commit-Position: refs/heads/master@{#311851}
* replace OVERRIDE and FINAL with override and final in chromeos/mostynb2014-10-061-15/+15
| | | | | | | | BUG=417463 Review URL: https://codereview.chromium.org/628883002 Cr-Commit-Position: refs/heads/master@{#298229}
* nfc: Implement device::NfcTagChromeOS.armansito@chromium.org2014-01-181-0/+5
| | | | | | | | | | | | Implemented device::NfcTag for the Chrome OS platform. With this patch, Chrome can now interact with remote NFC tags. BUG=316471 TEST=device_unittests Review URL: https://codereview.chromium.org/116143009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245753 0039d316-1c4b-4281-b951-d872f2087c98
* nfc: Implement device::NfcPeerChromeOS.armansito@chromium.org2013-12-201-0/+9
| | | | | | | | | | | | Implemented device::NfcPeer for Chrome OS. With this, Chrome can now interact with remote NFC adapters. BUG=316471 TEST=device_unittests Review URL: https://codereview.chromium.org/112183002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242205 0039d316-1c4b-4281-b951-d872f2087c98
* nfc: Various fixes to the NFC D-Bus client in chromeos/dbus.armansito@chromium.org2013-12-041-1/+14
| | | | | | | | | | | | | | | | | | | | | 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 Review URL: https://codereview.chromium.org/99903003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238604 0039d316-1c4b-4281-b951-d872f2087c98
* Remove fake client creation from DBusClients' Create() functions.pneubeck@chromium.org2013-12-031-7/+2
| | | | | | | | | | | | The DBusClient interfaces shouldn't provide functionality related to testing code (like Stubs/fake implementations). Instead fake clients are now directly created without relying on the static Create() functions. The now unused DBusClientImplementationType argument of the Create() functions could be removed. BUG=275286 R=satorux@chromium.org Review URL: https://codereview.chromium.org/91413002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238330 0039d316-1c4b-4281-b951-d872f2087c98
* nfc: Add D-Bus client for NFC Record interface.armansito@chromium.org2013-11-081-0/+259
Implemented a D-Bus client for the org.neard.Record interface. This CL also improves the way the object proxies are managed, so that objects' life-time is managed correctly and the Added/Removed notifications are properly sent to observers while supporting multiple adapters, tags, and devices. BUG=304979 TEST=1. chromeos_unittests 2. Tested on an SCL3711 USB NFC adapter that records properties update properly, by looking at /var/log/chrome/chrome while running Chrome with --vmodule=*nfc*. Review URL: https://codereview.chromium.org/48713010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233743 0039d316-1c4b-4281-b951-d872f2087c98