Index: content/browser/renderer_host/p2p/socket_host.h |
diff --git a/content/browser/renderer_host/p2p/socket_host.h b/content/browser/renderer_host/p2p/socket_host.h |
index 81f5a77d12387c651e5c05392803f0fc65832b99..b99476d0a772ea7b49093070674b28c93d7fb81d 100644 |
--- a/content/browser/renderer_host/p2p/socket_host.h |
+++ b/content/browser/renderer_host/p2p/socket_host.h |
@@ -8,6 +8,8 @@ |
#include <stddef.h> |
#include <stdint.h> |
+#include <memory> |
+ |
#include "base/macros.h" |
#include "base/memory/weak_ptr.h" |
#include "content/common/content_export.h" |
@@ -64,8 +66,9 @@ class CONTENT_EXPORT P2PSocketHost { |
const rtc::PacketOptions& options, |
uint64_t packet_id) = 0; |
- virtual P2PSocketHost* AcceptIncomingTcpConnection( |
- const net::IPEndPoint& remote_address, int id) = 0; |
+ virtual std::unique_ptr<P2PSocketHost> AcceptIncomingTcpConnection( |
+ const net::IPEndPoint& remote_address, |
+ int id) = 0; |
virtual bool SetOption(P2PSocketOption option, int value) = 0; |