Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "device/nfc/nfc_adapter_factory.h" | |
| 6 | |
| 7 #include "base/lazy_instance.h" | |
| 8 #include "base/memory/weak_ptr.h" | |
| 9 | |
| 10 namespace device { | |
| 11 | |
| 12 // static | |
| 13 bool NfcAdapterFactory::IsNfcAvailable() { | |
| 14 // TODO(armansito): Return true on supported platforms here. | |
| 15 return false; | |
| 16 } | |
| 17 | |
| 18 // static | |
| 19 void NfcAdapterFactory::GetAdapter(const AdapterCallback& /* callback */) { | |
| 20 // TODO(armansito): Create platform-specific implementation instances here. | |
| 21 // No platform currently supports NFC, so we never invoke the callback. | |
| 22 } | |
|
keybuk
2013/12/03 01:35:49
nit: extra newline after this
armansito
2013/12/03 02:43:06
Done.
| |
| 23 } // namespace device | |
| OLD | NEW |