1 // Copyright 2011 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "net/socket/stream_socket.h" 6 7 #include <string_view> 8 9 #include "base/notreached.h" 10 11 namespace net { 12 SetBeforeConnectCallback(const BeforeConnectCallback & before_connect_callback)13void StreamSocket::SetBeforeConnectCallback( 14 const BeforeConnectCallback& before_connect_callback) { 15 NOTREACHED(); 16 } 17 GetPeerApplicationSettings() const18std::optional<std::string_view> StreamSocket::GetPeerApplicationSettings() 19 const { 20 return std::nullopt; 21 } 22 GetSSLCertRequestInfo(SSLCertRequestInfo * cert_request_info) const23void StreamSocket::GetSSLCertRequestInfo( 24 SSLCertRequestInfo* cert_request_info) const { 25 NOTREACHED(); 26 } 27 ConfirmHandshake(CompletionOnceCallback callback)28int StreamSocket::ConfirmHandshake(CompletionOnceCallback callback) { 29 return OK; 30 } 31 32 } // namespace net 33