Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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 #ifndef NFCError_h | |
| 6 #define NFCError_h | |
| 7 | |
| 8 #include "device/nfc/nfc.mojom-wtf.h" | |
| 9 #include "platform/heap/Handle.h" | |
|
Reilly Grant (use Gerrit)
2016/04/27 23:32:53
Unused header.
shalamov
2016/04/28 14:16:14
Done.
| |
| 10 #include "wtf/Allocator.h" | |
| 11 | |
| 12 namespace blink { | |
| 13 | |
| 14 class DOMException; | |
| 15 class ScriptPromiseResolver; | |
| 16 | |
| 17 class NFCError { | |
| 18 STATIC_ONLY(NFCError); | |
| 19 | |
| 20 public: | |
| 21 // Required by CallbackPromiseAdapter | |
| 22 using WebType = const device::wtf::NFCErrorType&; | |
| 23 static DOMException* take(ScriptPromiseResolver*, const device::wtf::NFCErro rType&); | |
| 24 }; | |
| 25 | |
| 26 } // namespace blink | |
| 27 | |
| 28 #endif // NFCError_h | |
| OLD | NEW |