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

Unified Diff: content/browser/renderer_host/p2p/socket_host.h

Issue 2249473002: Remove use of stl_util's STLDeleteContainerPairSecondPointers from content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: p2p Created 4 years, 4 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: 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;

Powered by Google App Engine
This is Rietveld 408576698