| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_SESSION_H_ | 5 #ifndef NET_SPDY_SPDY_SESSION_H_ |
| 6 #define NET_SPDY_SPDY_SESSION_H_ | 6 #define NET_SPDY_SPDY_SESSION_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <list> | 10 #include <list> |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 | 250 |
| 251 struct PendingCreateStream { | 251 struct PendingCreateStream { |
| 252 PendingCreateStream(const GURL& url, RequestPriority priority, | 252 PendingCreateStream(const GURL& url, RequestPriority priority, |
| 253 scoped_refptr<SpdyStream>* spdy_stream, | 253 scoped_refptr<SpdyStream>* spdy_stream, |
| 254 const BoundNetLog& stream_net_log, | 254 const BoundNetLog& stream_net_log, |
| 255 const CompletionCallback& callback) | 255 const CompletionCallback& callback) |
| 256 : url(&url), | 256 : url(&url), |
| 257 priority(priority), | 257 priority(priority), |
| 258 spdy_stream(spdy_stream), | 258 spdy_stream(spdy_stream), |
| 259 stream_net_log(&stream_net_log), | 259 stream_net_log(&stream_net_log), |
| 260 callback(callback) {} | 260 callback(callback) { |
| 261 } |
| 262 |
| 261 ~PendingCreateStream(); | 263 ~PendingCreateStream(); |
| 262 | 264 |
| 263 const GURL* url; | 265 const GURL* url; |
| 264 RequestPriority priority; | 266 RequestPriority priority; |
| 265 scoped_refptr<SpdyStream>* spdy_stream; | 267 scoped_refptr<SpdyStream>* spdy_stream; |
| 266 const BoundNetLog* stream_net_log; | 268 const BoundNetLog* stream_net_log; |
| 267 CompletionCallback callback; | 269 CompletionCallback callback; |
| 268 }; | 270 }; |
| 269 typedef std::queue<PendingCreateStream, std::list< PendingCreateStream> > | 271 typedef std::queue<PendingCreateStream, std::list< PendingCreateStream> > |
| 270 PendingCreateStreamQueue; | 272 PendingCreateStreamQueue; |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 const spdy::SpdyControlFlags flags_; | 631 const spdy::SpdyControlFlags flags_; |
| 630 const spdy::SpdyStreamId id_; | 632 const spdy::SpdyStreamId id_; |
| 631 const spdy::SpdyStreamId associated_stream_; | 633 const spdy::SpdyStreamId associated_stream_; |
| 632 | 634 |
| 633 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySynParameter); | 635 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySynParameter); |
| 634 }; | 636 }; |
| 635 | 637 |
| 636 } // namespace net | 638 } // namespace net |
| 637 | 639 |
| 638 #endif // NET_SPDY_SPDY_SESSION_H_ | 640 #endif // NET_SPDY_SPDY_SESSION_H_ |
| OLD | NEW |