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

Side by Side Diff: net/spdy/spdy_proxy_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_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 5 #ifndef NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 void SetSubresourceSpeculation() override; 70 void SetSubresourceSpeculation() override;
71 void SetOmniboxSpeculation() override; 71 void SetOmniboxSpeculation() override;
72 bool WasEverUsed() const override; 72 bool WasEverUsed() const override;
73 bool WasNpnNegotiated() const override; 73 bool WasNpnNegotiated() const override;
74 NextProto GetNegotiatedProtocol() const override; 74 NextProto GetNegotiatedProtocol() const override;
75 bool GetSSLInfo(SSLInfo* ssl_info) override; 75 bool GetSSLInfo(SSLInfo* ssl_info) override;
76 void GetConnectionAttempts(ConnectionAttempts* out) const override; 76 void GetConnectionAttempts(ConnectionAttempts* out) const override;
77 void ClearConnectionAttempts() override {} 77 void ClearConnectionAttempts() override {}
78 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} 78 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
79 int64_t GetTotalReceivedBytes() const override; 79 int64_t GetTotalReceivedBytes() const override;
80 void DumpMemoryStats(
81 base::trace_event::MemoryAllocatorDump* dump) const override;
80 82
81 // Socket implementation. 83 // Socket implementation.
82 int Read(IOBuffer* buf, 84 int Read(IOBuffer* buf,
83 int buf_len, 85 int buf_len,
84 const CompletionCallback& callback) override; 86 const CompletionCallback& callback) override;
85 int Write(IOBuffer* buf, 87 int Write(IOBuffer* buf,
86 int buf_len, 88 int buf_len,
87 const CompletionCallback& callback) override; 89 const CompletionCallback& callback) override;
88 int SetReceiveBufferSize(int32_t size) override; 90 int SetReceiveBufferSize(int32_t size) override;
89 int SetSendBufferSize(int32_t size) override; 91 int SetSendBufferSize(int32_t size) override;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // Only used for posting write callbacks. Weak pointers created by this 178 // Only used for posting write callbacks. Weak pointers created by this
177 // factory are invalidated in Disconnect(). 179 // factory are invalidated in Disconnect().
178 base::WeakPtrFactory<SpdyProxyClientSocket> write_callback_weak_factory_; 180 base::WeakPtrFactory<SpdyProxyClientSocket> write_callback_weak_factory_;
179 181
180 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); 182 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket);
181 }; 183 };
182 184
183 } // namespace net 185 } // namespace net
184 186
185 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 187 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698