OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROMEOS_DBUS_FAKE_NFC_DEVICE_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_NFC_DEVICE_CLIENT_H_ |
6 #define CHROMEOS_DBUS_FAKE_NFC_DEVICE_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_NFC_DEVICE_CLIENT_H_ |
7 | 7 |
8 #include "chromeos/chromeos_export.h" | 8 #include "chromeos/chromeos_export.h" |
9 #include "chromeos/dbus/nfc_client_helpers.h" | 9 #include "chromeos/dbus/nfc_client_helpers.h" |
10 #include "chromeos/dbus/nfc_device_client.h" | 10 #include "chromeos/dbus/nfc_device_client.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 virtual ~FakeNfcDeviceClient(); | 34 virtual ~FakeNfcDeviceClient(); |
35 | 35 |
36 // NfcDeviceClient overrides. | 36 // NfcDeviceClient overrides. |
37 virtual void Init(dbus::Bus* bus) OVERRIDE; | 37 virtual void Init(dbus::Bus* bus) OVERRIDE; |
38 virtual void AddObserver(Observer* observer) OVERRIDE; | 38 virtual void AddObserver(Observer* observer) OVERRIDE; |
39 virtual void RemoveObserver(Observer* observer) OVERRIDE; | 39 virtual void RemoveObserver(Observer* observer) OVERRIDE; |
40 virtual Properties* GetProperties( | 40 virtual Properties* GetProperties( |
41 const dbus::ObjectPath& object_path) OVERRIDE; | 41 const dbus::ObjectPath& object_path) OVERRIDE; |
42 virtual void Push( | 42 virtual void Push( |
43 const dbus::ObjectPath& object_path, | 43 const dbus::ObjectPath& object_path, |
44 const std::map<std::string, std::string>& attributes, | 44 const base::DictionaryValue& attributes, |
45 const base::Closure& callback, | 45 const base::Closure& callback, |
46 const nfc_client_helpers::ErrorCallback& error_callback) OVERRIDE; | 46 const nfc_client_helpers::ErrorCallback& error_callback) OVERRIDE; |
47 | 47 |
48 private: | 48 private: |
49 DISALLOW_COPY_AND_ASSIGN(FakeNfcDeviceClient); | 49 DISALLOW_COPY_AND_ASSIGN(FakeNfcDeviceClient); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace chromeos | 52 } // namespace chromeos |
53 | 53 |
54 #endif // CHROMEOS_DBUS_FAKE_NFC_DEVICE_CLIENT_H_ | 54 #endif // CHROMEOS_DBUS_FAKE_NFC_DEVICE_CLIENT_H_ |
OLD | NEW |