Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(842)

Side by Side Diff: third_party/WebKit/Source/modules/nfc/NFCError.h

Issue 1708543002: [webnfc] Implement push() method in blink nfc module. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@onionsoup_webnfc
Patch Set: Use new createBaseCallback helper instead of custom callback class. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698