stream_socket.cc 714 B

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