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

Unified Diff: webrtc/base/asyncudpsocket.h

Issue 1920043002: Replace scoped_ptr with unique_ptr in webrtc/base/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased 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
« no previous file with comments | « webrtc/base/asynctcpsocket_unittest.cc ('k') | webrtc/base/asyncudpsocket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/asyncudpsocket.h
diff --git a/webrtc/base/asyncudpsocket.h b/webrtc/base/asyncudpsocket.h
index 4b47007ed79949d16405ee558d4cebfc6110b367..aa6a9042b479db491f926f22a82e713b7ed6462b 100644
--- a/webrtc/base/asyncudpsocket.h
+++ b/webrtc/base/asyncudpsocket.h
@@ -11,8 +11,9 @@
#ifndef WEBRTC_BASE_ASYNCUDPSOCKET_H_
#define WEBRTC_BASE_ASYNCUDPSOCKET_H_
+#include <memory>
+
#include "webrtc/base/asyncpacketsocket.h"
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/base/socketfactory.h"
namespace rtc {
@@ -56,7 +57,7 @@ class AsyncUDPSocket : public AsyncPacketSocket {
// Called when the underlying socket is ready to send.
void OnWriteEvent(AsyncSocket* socket);
- scoped_ptr<AsyncSocket> socket_;
+ std::unique_ptr<AsyncSocket> socket_;
char* buf_;
size_t size_;
};
« no previous file with comments | « webrtc/base/asynctcpsocket_unittest.cc ('k') | webrtc/base/asyncudpsocket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698