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

Unified Diff: third_party/WebKit/public/platform/WebCredentialManagerClient.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/WebCredentialManagerClient.h
diff --git a/third_party/WebKit/public/platform/WebCredentialManagerClient.h b/third_party/WebKit/public/platform/WebCredentialManagerClient.h
index f9e8049257da37bc6d7befa9bdba56e9bd186210..eba06e881f457b90cb7c2be217b640f3e8816b5b 100644
--- a/third_party/WebKit/public/platform/WebCredentialManagerClient.h
+++ b/third_party/WebKit/public/platform/WebCredentialManagerClient.h
@@ -7,9 +7,10 @@
#include "public/platform/WebCallbacks.h"
#include "public/platform/WebCredentialManagerError.h"
-#include "public/platform/WebPassOwnPtr.h"
#include "public/platform/WebVector.h"
+#include <memory>
+
namespace blink {
class WebCredential;
@@ -20,7 +21,7 @@ class WebURL;
// 'credentialmanager' module.
class WebCredentialManagerClient {
public:
- typedef WebCallbacks<WebPassOwnPtr<WebCredential>, WebCredentialManagerError> RequestCallbacks;
+ typedef WebCallbacks<std::unique_ptr<WebCredential>, WebCredentialManagerError> RequestCallbacks;
typedef WebCallbacks<void, WebCredentialManagerError> NotificationCallbacks;
// Ownership of the callback is transferred to the callee for each of
« no previous file with comments | « third_party/WebKit/public/platform/WebCallbacks.h ('k') | third_party/WebKit/public/platform/WebPassOwnPtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698