| OLD | NEW |
| 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 WebNFCClient_h | 5 #ifndef WebNFCClient_h |
| 6 #define WebNFCClient_h | 6 #define WebNFCClient_h |
| 7 | 7 |
| 8 #include "public/platform/WebCallbacks.h" | 8 #include "public/platform/WebCallbacks.h" |
| 9 #include "public/platform/WebPassOwnPtr.h" | 9 |
| 10 #include <memory> |
| 10 | 11 |
| 11 namespace blink { | 12 namespace blink { |
| 12 | 13 |
| 13 enum class WebNFCError; | 14 enum class WebNFCError; |
| 14 struct WebNFCMessage; | 15 struct WebNFCMessage; |
| 15 class WebNFCObserver; | 16 class WebNFCObserver; |
| 16 struct WebNFCPushOptions; | 17 struct WebNFCPushOptions; |
| 17 enum class WebNFCPushTarget; | 18 enum class WebNFCPushTarget; |
| 18 struct WebNFCWatchOptions; | 19 struct WebNFCWatchOptions; |
| 19 | 20 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 53 |
| 53 // Methods that are required to implement suspended state. | 54 // Methods that are required to implement suspended state. |
| 54 // See https://w3c.github.io/web-nfc/#nfc-suspended | 55 // See https://w3c.github.io/web-nfc/#nfc-suspended |
| 55 virtual void suspendNFCOperations() = 0; | 56 virtual void suspendNFCOperations() = 0; |
| 56 virtual void resumeNFCOperations() = 0; | 57 virtual void resumeNFCOperations() = 0; |
| 57 }; | 58 }; |
| 58 | 59 |
| 59 } // namespace blink | 60 } // namespace blink |
| 60 | 61 |
| 61 #endif // WebNFCClient_h | 62 #endif // WebNFCClient_h |
| OLD | NEW |