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

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

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 NFC_h 5 #ifndef NFC_h
6 #define NFC_h 6 #define NFC_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "bindings/modules/v8/StringOrArrayBufferOrNFCMessage.h" 10 #include "bindings/modules/v8/StringOrArrayBufferOrNFCMessage.h"
11 #include "core/dom/ContextLifecycleObserver.h" 11 #include "core/dom/ContextLifecycleObserver.h"
12 #include "core/page/PageVisibilityObserver.h" 12 #include "core/page/PageVisibilityObserver.h"
13 #include "device/nfc/nfc.mojom-blink.h" 13 #include "device/nfc/nfc.mojom-blink.h"
14 #include "modules/nfc/MessageCallback.h" 14 #include "modules/nfc/MessageCallback.h"
15 #include "mojo/public/cpp/bindings/binding.h" 15 #include "mojo/public/cpp/bindings/binding.h"
16 #include "wtf/HashMap.h" 16 #include "platform/wtf/HashMap.h"
17 17
18 namespace blink { 18 namespace blink {
19 19
20 class MessageCallback; 20 class MessageCallback;
21 class NFCPushOptions; 21 class NFCPushOptions;
22 using NFCPushMessage = StringOrArrayBufferOrNFCMessage; 22 using NFCPushMessage = StringOrArrayBufferOrNFCMessage;
23 class NFCWatchOptions; 23 class NFCWatchOptions;
24 24
25 class NFC final : public GarbageCollectedFinalized<NFC>, 25 class NFC final : public GarbageCollectedFinalized<NFC>,
26 public ScriptWrappable, 26 public ScriptWrappable,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 device::nfc::mojom::blink::NFCPtr nfc_; 86 device::nfc::mojom::blink::NFCPtr nfc_;
87 mojo::Binding<device::nfc::mojom::blink::NFCClient> client_; 87 mojo::Binding<device::nfc::mojom::blink::NFCClient> client_;
88 HeapHashSet<Member<ScriptPromiseResolver>> requests_; 88 HeapHashSet<Member<ScriptPromiseResolver>> requests_;
89 using WatchCallbacksMap = HeapHashMap<uint32_t, Member<MessageCallback>>; 89 using WatchCallbacksMap = HeapHashMap<uint32_t, Member<MessageCallback>>;
90 WatchCallbacksMap callbacks_; 90 WatchCallbacksMap callbacks_;
91 }; 91 };
92 92
93 } // namespace blink 93 } // namespace blink
94 94
95 #endif // NFC_h 95 #endif // NFC_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp ('k') | third_party/WebKit/Source/modules/nfc/NFCError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698