| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ | 5 #ifndef NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ |
| 6 #define NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ | 6 #define NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 void SetSubresourceSpeculation() override; | 52 void SetSubresourceSpeculation() override; |
| 53 void SetOmniboxSpeculation() override; | 53 void SetOmniboxSpeculation() override; |
| 54 bool WasEverUsed() const override; | 54 bool WasEverUsed() const override; |
| 55 bool WasNpnNegotiated() const override; | 55 bool WasNpnNegotiated() const override; |
| 56 NextProto GetNegotiatedProtocol() const override; | 56 NextProto GetNegotiatedProtocol() const override; |
| 57 bool GetSSLInfo(SSLInfo* ssl_info) override; | 57 bool GetSSLInfo(SSLInfo* ssl_info) override; |
| 58 void GetConnectionAttempts(ConnectionAttempts* out) const override; | 58 void GetConnectionAttempts(ConnectionAttempts* out) const override; |
| 59 void ClearConnectionAttempts() override {} | 59 void ClearConnectionAttempts() override {} |
| 60 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} | 60 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} |
| 61 int64_t GetTotalReceivedBytes() const override; | 61 int64_t GetTotalReceivedBytes() const override; |
| 62 void DumpMemoryStats( |
| 63 base::trace_event::MemoryAllocatorDump* dump) const override {} |
| 62 | 64 |
| 63 // Socket implementation. | 65 // Socket implementation. |
| 64 int Read(IOBuffer* buf, | 66 int Read(IOBuffer* buf, |
| 65 int buf_len, | 67 int buf_len, |
| 66 const CompletionCallback& callback) override; | 68 const CompletionCallback& callback) override; |
| 67 int Write(IOBuffer* buf, | 69 int Write(IOBuffer* buf, |
| 68 int buf_len, | 70 int buf_len, |
| 69 const CompletionCallback& callback) override; | 71 const CompletionCallback& callback) override; |
| 70 int SetReceiveBufferSize(int32_t size) override; | 72 int SetReceiveBufferSize(int32_t size) override; |
| 71 int SetSendBufferSize(int32_t size) override; | 73 int SetSendBufferSize(int32_t size) override; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 82 // This net log is just to comply StreamSocket::NetLog(). It throws away | 84 // This net log is just to comply StreamSocket::NetLog(). It throws away |
| 83 // everything. | 85 // everything. |
| 84 NetLogWithSource net_log_; | 86 NetLogWithSource net_log_; |
| 85 | 87 |
| 86 DISALLOW_COPY_AND_ASSIGN(UnixDomainClientSocket); | 88 DISALLOW_COPY_AND_ASSIGN(UnixDomainClientSocket); |
| 87 }; | 89 }; |
| 88 | 90 |
| 89 } // namespace net | 91 } // namespace net |
| 90 | 92 |
| 91 #endif // NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ | 93 #endif // NET_SOCKET_UNIX_DOMAIN_CLIENT_SOCKET_POSIX_H_ |
| OLD | NEW |