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

Unified Diff: webrtc/examples/peerconnection/client/peer_connection_client.h

Issue 1937693002: Replace scoped_ptr with unique_ptr everywhere (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@unique5
Patch Set: 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/examples/peerconnection/client/main_wnd.h ('k') | webrtc/examples/relayserver/relayserver_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/examples/peerconnection/client/peer_connection_client.h
diff --git a/webrtc/examples/peerconnection/client/peer_connection_client.h b/webrtc/examples/peerconnection/client/peer_connection_client.h
index b7abfdfe18e80684efb77c0a419c7f6e484fe3af..bc8b8cc9c9b53c1bc8a0a3c5d745e1d0c05a9df4 100644
--- a/webrtc/examples/peerconnection/client/peer_connection_client.h
+++ b/webrtc/examples/peerconnection/client/peer_connection_client.h
@@ -13,6 +13,7 @@
#pragma once
#include <map>
+#include <memory>
#include <string>
#include "webrtc/base/nethelpers.h"
@@ -109,8 +110,8 @@ class PeerConnectionClient : public sigslot::has_slots<>,
PeerConnectionClientObserver* callback_;
rtc::SocketAddress server_address_;
rtc::AsyncResolver* resolver_;
- rtc::scoped_ptr<rtc::AsyncSocket> control_socket_;
- rtc::scoped_ptr<rtc::AsyncSocket> hanging_get_;
+ std::unique_ptr<rtc::AsyncSocket> control_socket_;
+ std::unique_ptr<rtc::AsyncSocket> hanging_get_;
std::string onconnect_data_;
std::string control_data_;
std::string notification_data_;
« no previous file with comments | « webrtc/examples/peerconnection/client/main_wnd.h ('k') | webrtc/examples/relayserver/relayserver_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698