diff options
author | armansito@chromium.org <armansito@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-31 07:56:14 +0000 |
---|---|---|
committer | armansito@chromium.org <armansito@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-31 07:56:14 +0000 |
commit | f8005694519d625602c9473483fa276540506960 (patch) | |
tree | 3039d2eaca4157db7c7eae59d7e3154fe45fb7d6 /chromeos/dbus/fake_nfc_adapter_client.h | |
parent | 9fe90e7b2796df70a786964cf450750a5437b97c (diff) | |
download | chromium_src-f8005694519d625602c9473483fa276540506960.zip chromium_src-f8005694519d625602c9473483fa276540506960.tar.gz chromium_src-f8005694519d625602c9473483fa276540506960.tar.bz2 |
nfc: Add D-Bus clients for NFC Tag and Device interfaces.
Added D-Bus client code for the NFC Tag and Device interfaces.
BUG=304979
TEST=1. chromeos_unittests
2. Manually test using an external USB adapter that Tag and Device
property changes are reflected in the logs.
Review URL: https://codereview.chromium.org/48713006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232042 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/fake_nfc_adapter_client.h')
-rw-r--r-- | chromeos/dbus/fake_nfc_adapter_client.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chromeos/dbus/fake_nfc_adapter_client.h b/chromeos/dbus/fake_nfc_adapter_client.h index 97cab97..7c23fc3 100644 --- a/chromeos/dbus/fake_nfc_adapter_client.h +++ b/chromeos/dbus/fake_nfc_adapter_client.h @@ -37,8 +37,8 @@ class CHROMEOS_EXPORT FakeNfcAdapterClient : public NfcAdapterClient { virtual void Init(dbus::Bus* bus) OVERRIDE; virtual void AddObserver(Observer* observer) OVERRIDE; virtual void RemoveObserver(Observer* observer) OVERRIDE; - virtual Properties* GetProperties(const dbus::ObjectPath& object_path) - OVERRIDE; + virtual Properties* GetProperties( + const dbus::ObjectPath& object_path) OVERRIDE; virtual void StartPollLoop( const dbus::ObjectPath& object_path, const std::string& mode, @@ -50,9 +50,6 @@ class CHROMEOS_EXPORT FakeNfcAdapterClient : public NfcAdapterClient { const nfc_client_helpers::ErrorCallback& error_callback) OVERRIDE; private: - // Property callback passed when we create Properties* structures. - void OnPropertyChanged(const std::string& property_name); - DISALLOW_COPY_AND_ASSIGN(FakeNfcAdapterClient); }; |