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 #include "chromeos/dbus/fake_nfc_tag_client.h" | 5 #include "chromeos/dbus/fake_nfc_tag_client.h" |
6 | 6 |
7 #include "base/location.h" | 7 #include "base/location.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "chromeos/dbus/dbus_thread_manager.h" | 12 #include "chromeos/dbus/dbus_thread_manager.h" |
13 #include "chromeos/dbus/fake_nfc_adapter_client.h" | 13 #include "chromeos/dbus/fake_nfc_adapter_client.h" |
14 #include "chromeos/dbus/fake_nfc_record_client.h" | 14 #include "chromeos/dbus/fake_nfc_record_client.h" |
15 #include "dbus/object_path.h" | 15 #include "dbus/object_path.h" |
16 #include "third_party/cros_system_api/dbus/service_constants.h" | 16 #include "third_party/cros_system_api/dbus/service_constants.h" |
17 | 17 |
18 namespace chromeos { | 18 namespace chromeos { |
19 | 19 |
20 using nfc_client_helpers::ObjectPathVector; | 20 using nfc_client_helpers::ObjectPathVector; |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 | 218 |
219 void FakeNfcTagClient::HandleSimulationTimeout() { | 219 void FakeNfcTagClient::HandleSimulationTimeout() { |
220 if (simulation_timeout_ < 0) { | 220 if (simulation_timeout_ < 0) { |
221 VLOG(1) << "Simulation timeout was cancelled. Nothing to do."; | 221 VLOG(1) << "Simulation timeout was cancelled. Nothing to do."; |
222 return; | 222 return; |
223 } | 223 } |
224 EndPairingSimulation(); | 224 EndPairingSimulation(); |
225 } | 225 } |
226 | 226 |
227 } // namespace chromeos | 227 } // namespace chromeos |
OLD | NEW |