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

Side by Side Diff: net/spdy/spdy_proxy_client_socket.h

Issue 301573002: Fix WeakPtrFactory member order in net/spdy and net/dns (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months 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
« no previous file with comments | « net/spdy/spdy_http_stream.cc ('k') | net/spdy/spdy_proxy_client_socket.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // User specified number of bytes to be written. 156 // User specified number of bytes to be written.
157 int write_buffer_len_; 157 int write_buffer_len_;
158 158
159 // True if the transport socket has ever sent data. 159 // True if the transport socket has ever sent data.
160 bool was_ever_used_; 160 bool was_ever_used_;
161 161
162 // Used only for redirects. 162 // Used only for redirects.
163 bool redirect_has_load_timing_info_; 163 bool redirect_has_load_timing_info_;
164 LoadTimingInfo redirect_load_timing_info_; 164 LoadTimingInfo redirect_load_timing_info_;
165 165
166 const BoundNetLog net_log_;
167
166 base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_; 168 base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_;
167 169
168 const BoundNetLog net_log_;
169
170 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); 170 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket);
171 }; 171 };
172 172
173 } // namespace net 173 } // namespace net
174 174
175 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 175 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_http_stream.cc ('k') | net/spdy/spdy_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698