diff options
Diffstat (limited to 'chromium/services/network/p2p/socket.h')
-rw-r--r-- | chromium/services/network/p2p/socket.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chromium/services/network/p2p/socket.h b/chromium/services/network/p2p/socket.h index 3904fb6414a..63a42ac6b29 100644 --- a/chromium/services/network/p2p/socket.h +++ b/chromium/services/network/p2p/socket.h @@ -26,6 +26,7 @@ namespace net { class NetLog; +class NetworkIsolationKey; } namespace network { @@ -79,10 +80,12 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) P2PSocket : public mojom::P2PSocket { // in the valid range. // If |local_address.port()| is nonzero and not in the valid range, // initialization will fail. + // |network_isolation_key| specifies the network stack cache shard to used. virtual void Init(const net::IPEndPoint& local_address, uint16_t min_port, uint16_t max_port, - const P2PHostAndIPEndPoint& remote_address) = 0; + const P2PHostAndIPEndPoint& remote_address, + const net::NetworkIsolationKey& network_isolation_key) = 0; mojo::PendingRemote<mojom::P2PSocketClient> ReleaseClientForTesting(); mojo::PendingReceiver<mojom::P2PSocket> ReleaseReceiverForTesting(); |