• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 "base/notreached.h"
8 
9 namespace net {
10 
SetBeforeConnectCallback(const BeforeConnectCallback & before_connect_callback)11 void StreamSocket::SetBeforeConnectCallback(
12     const BeforeConnectCallback& before_connect_callback) {
13   NOTREACHED();
14 }
15 
GetPeerApplicationSettings() const16 absl::optional<base::StringPiece> StreamSocket::GetPeerApplicationSettings()
17     const {
18   return absl::nullopt;
19 }
20 
GetSSLCertRequestInfo(SSLCertRequestInfo * cert_request_info) const21 void StreamSocket::GetSSLCertRequestInfo(
22     SSLCertRequestInfo* cert_request_info) const {
23   NOTREACHED();
24 }
25 
ConfirmHandshake(CompletionOnceCallback callback)26 int StreamSocket::ConfirmHandshake(CompletionOnceCallback callback) {
27   return OK;
28 }
29 
30 }  // namespace net
31