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

Side by Side Diff: net/http/bidirectional_stream.h

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 3 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_HTTP_BIDIRECTIONAL_STREAM_H_ 5 #ifndef NET_HTTP_BIDIRECTIONAL_STREAM_H_
6 #define NET_HTTP_BIDIRECTIONAL_STREAM_H_ 6 #define NET_HTTP_BIDIRECTIONAL_STREAM_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 HttpStream* stream) override; 211 HttpStream* stream) override;
212 void OnQuicBroken() override; 212 void OnQuicBroken() override;
213 213
214 // Helper method to notify delegate if there is an error. 214 // Helper method to notify delegate if there is an error.
215 void NotifyFailed(int error); 215 void NotifyFailed(int error);
216 216
217 void UpdateHistograms(); 217 void UpdateHistograms();
218 218
219 // BidirectionalStreamRequestInfo used when requesting the stream. 219 // BidirectionalStreamRequestInfo used when requesting the stream.
220 std::unique_ptr<BidirectionalStreamRequestInfo> request_info_; 220 std::unique_ptr<BidirectionalStreamRequestInfo> request_info_;
221 const BoundNetLog net_log_; 221 const NetLogWithSource net_log_;
222 222
223 HttpNetworkSession* session_; 223 HttpNetworkSession* session_;
224 224
225 bool send_request_headers_automatically_; 225 bool send_request_headers_automatically_;
226 // Whether request headers have been sent, as indicated in OnStreamReady() 226 // Whether request headers have been sent, as indicated in OnStreamReady()
227 // callback. 227 // callback.
228 bool request_headers_sent_; 228 bool request_headers_sent_;
229 229
230 Delegate* const delegate_; 230 Delegate* const delegate_;
231 231
(...skipping 21 matching lines...) Expand all
253 base::TimeTicks send_end_time_; 253 base::TimeTicks send_end_time_;
254 254
255 base::WeakPtrFactory<BidirectionalStream> weak_factory_; 255 base::WeakPtrFactory<BidirectionalStream> weak_factory_;
256 256
257 DISALLOW_COPY_AND_ASSIGN(BidirectionalStream); 257 DISALLOW_COPY_AND_ASSIGN(BidirectionalStream);
258 }; 258 };
259 259
260 } // namespace net 260 } // namespace net
261 261
262 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_H_ 262 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698