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

Side by Side Diff: third_party/WebKit/public/platform/modules/nfc/WebNFCClient.h

Issue 1865913005: Nuke WebPassOwnPtr<T> and replace it with std::unique_ptr<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698