xref: /aosp_15_r20/external/cronet/net/socket/stream_socket.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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)13 void StreamSocket::SetBeforeConnectCallback(
14     const BeforeConnectCallback& before_connect_callback) {
15   NOTREACHED();
16 }
17 
GetPeerApplicationSettings() const18 std::optional<std::string_view> StreamSocket::GetPeerApplicationSettings()
19     const {
20   return std::nullopt;
21 }
22 
GetSSLCertRequestInfo(SSLCertRequestInfo * cert_request_info) const23 void StreamSocket::GetSSLCertRequestInfo(
24     SSLCertRequestInfo* cert_request_info) const {
25   NOTREACHED();
26 }
27 
ConfirmHandshake(CompletionOnceCallback callback)28 int StreamSocket::ConfirmHandshake(CompletionOnceCallback callback) {
29   return OK;
30 }
31 
32 }  // namespace net
33