Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: net/socket/socks5_client_socket.h

Issue 2525743002: Make URLRequestContext a MemoryDumpProvider (Abandoned) (Closed)
Patch Set: rebased to 7f3d142161b15869f6bea58ac43c5f52ce5834ac Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SOCKS5_CLIENT_SOCKET_H_ 5 #ifndef NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
6 #define NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 6 #define NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 void SetSubresourceSpeculation() override; 53 void SetSubresourceSpeculation() override;
54 void SetOmniboxSpeculation() override; 54 void SetOmniboxSpeculation() override;
55 bool WasEverUsed() const override; 55 bool WasEverUsed() const override;
56 bool WasNpnNegotiated() const override; 56 bool WasNpnNegotiated() const override;
57 NextProto GetNegotiatedProtocol() const override; 57 NextProto GetNegotiatedProtocol() const override;
58 bool GetSSLInfo(SSLInfo* ssl_info) override; 58 bool GetSSLInfo(SSLInfo* ssl_info) override;
59 void GetConnectionAttempts(ConnectionAttempts* out) const override; 59 void GetConnectionAttempts(ConnectionAttempts* out) const override;
60 void ClearConnectionAttempts() override {} 60 void ClearConnectionAttempts() override {}
61 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} 61 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
62 int64_t GetTotalReceivedBytes() const override; 62 int64_t GetTotalReceivedBytes() const override;
63 void DumpMemoryStats(
64 base::trace_event::MemoryAllocatorDump* dump) const override {}
63 65
64 // Socket implementation. 66 // Socket implementation.
65 int Read(IOBuffer* buf, 67 int Read(IOBuffer* buf,
66 int buf_len, 68 int buf_len,
67 const CompletionCallback& callback) override; 69 const CompletionCallback& callback) override;
68 int Write(IOBuffer* buf, 70 int Write(IOBuffer* buf,
69 int buf_len, 71 int buf_len,
70 const CompletionCallback& callback) override; 72 const CompletionCallback& callback) override;
71 73
72 int SetReceiveBufferSize(int32_t size) override; 74 int SetReceiveBufferSize(int32_t size) override;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 HostResolver::RequestInfo host_request_info_; 156 HostResolver::RequestInfo host_request_info_;
155 157
156 NetLogWithSource net_log_; 158 NetLogWithSource net_log_;
157 159
158 DISALLOW_COPY_AND_ASSIGN(SOCKS5ClientSocket); 160 DISALLOW_COPY_AND_ASSIGN(SOCKS5ClientSocket);
159 }; 161 };
160 162
161 } // namespace net 163 } // namespace net
162 164
163 #endif // NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 165 #endif // NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698