| 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 "base/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| 10 #include "chromeos/chromeos_export.h" | 11 #include "chromeos/chromeos_export.h" |
| 11 #include "chromeos/dbus/nfc_client_helpers.h" | 12 #include "chromeos/dbus/nfc_client_helpers.h" |
| 12 #include "chromeos/dbus/nfc_device_client.h" | 13 #include "chromeos/dbus/nfc_device_client.h" |
| 13 | 14 |
| 14 namespace chromeos { | 15 namespace chromeos { |
| 15 | 16 |
| 16 // FakeNfcDeviceClient simulates the behavior of the NFC device objects | 17 // FakeNfcDeviceClient simulates the behavior of the NFC device objects |
| 17 // and is used both in test cases in place of a mock and on the Linux desktop. | 18 // and is used both in test cases in place of a mock and on the Linux desktop. |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 // If non-negative, the device will disappear this many milliseconds after | 123 // If non-negative, the device will disappear this many milliseconds after |
| 123 // its records have been exposed. | 124 // its records have been exposed. |
| 124 int simulation_timeout_; | 125 int simulation_timeout_; |
| 125 | 126 |
| 126 DISALLOW_COPY_AND_ASSIGN(FakeNfcDeviceClient); | 127 DISALLOW_COPY_AND_ASSIGN(FakeNfcDeviceClient); |
| 127 }; | 128 }; |
| 128 | 129 |
| 129 } // namespace chromeos | 130 } // namespace chromeos |
| 130 | 131 |
| 131 #endif // CHROMEOS_DBUS_FAKE_NFC_DEVICE_CLIENT_H_ | 132 #endif // CHROMEOS_DBUS_FAKE_NFC_DEVICE_CLIENT_H_ |
| OLD | NEW |