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

Side by Side Diff: net/socket/socks_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_SOCKS_CLIENT_SOCKET_H_ 5 #ifndef NET_SOCKET_SOCKS_CLIENT_SOCKET_H_
6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_H_ 6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 void SetSubresourceSpeculation() override; 50 void SetSubresourceSpeculation() override;
51 void SetOmniboxSpeculation() override; 51 void SetOmniboxSpeculation() override;
52 bool WasEverUsed() const override; 52 bool WasEverUsed() const override;
53 bool WasNpnNegotiated() const override; 53 bool WasNpnNegotiated() const override;
54 NextProto GetNegotiatedProtocol() const override; 54 NextProto GetNegotiatedProtocol() const override;
55 bool GetSSLInfo(SSLInfo* ssl_info) override; 55 bool GetSSLInfo(SSLInfo* ssl_info) override;
56 void GetConnectionAttempts(ConnectionAttempts* out) const override; 56 void GetConnectionAttempts(ConnectionAttempts* out) const override;
57 void ClearConnectionAttempts() override {} 57 void ClearConnectionAttempts() override {}
58 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} 58 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
59 int64_t GetTotalReceivedBytes() const override; 59 int64_t GetTotalReceivedBytes() const override;
60 void DumpMemoryStats(
61 base::trace_event::MemoryAllocatorDump* dump) const override;
60 62
61 // Socket implementation. 63 // Socket implementation.
62 int Read(IOBuffer* buf, 64 int Read(IOBuffer* buf,
63 int buf_len, 65 int buf_len,
64 const CompletionCallback& callback) override; 66 const CompletionCallback& callback) override;
65 int Write(IOBuffer* buf, 67 int Write(IOBuffer* buf,
66 int buf_len, 68 int buf_len,
67 const CompletionCallback& callback) override; 69 const CompletionCallback& callback) override;
68 70
69 int SetReceiveBufferSize(int32_t size) override; 71 int SetReceiveBufferSize(int32_t size) override;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 RequestPriority priority_; 139 RequestPriority priority_;
138 140
139 NetLogWithSource net_log_; 141 NetLogWithSource net_log_;
140 142
141 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocket); 143 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocket);
142 }; 144 };
143 145
144 } // namespace net 146 } // namespace net
145 147
146 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_H_ 148 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698