| OLD | NEW |
| 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_STREAM_H_ | 5 #ifndef NET_SPDY_SPDY_STREAM_H_ |
| 6 #define NET_SPDY_SPDY_STREAM_H_ | 6 #define NET_SPDY_SPDY_STREAM_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 bool in_do_loop_; | 472 bool in_do_loop_; |
| 473 | 473 |
| 474 // There is a small period of time between when a server pushed stream is | 474 // There is a small period of time between when a server pushed stream is |
| 475 // first created, and the pushed data is replayed. Any data received during | 475 // first created, and the pushed data is replayed. Any data received during |
| 476 // this time should continue to be buffered. | 476 // this time should continue to be buffered. |
| 477 bool continue_buffering_data_; | 477 bool continue_buffering_data_; |
| 478 | 478 |
| 479 SpdyStreamId stream_id_; | 479 SpdyStreamId stream_id_; |
| 480 const GURL url_; | 480 const GURL url_; |
| 481 const RequestPriority priority_; | 481 const RequestPriority priority_; |
| 482 size_t slot_; | |
| 483 | 482 |
| 484 // Flow control variables. | 483 // Flow control variables. |
| 485 bool send_stalled_by_flow_control_; | 484 bool send_stalled_by_flow_control_; |
| 486 int32 send_window_size_; | 485 int32 send_window_size_; |
| 487 int32 recv_window_size_; | 486 int32 recv_window_size_; |
| 488 int32 unacked_recv_window_bytes_; | 487 int32 unacked_recv_window_bytes_; |
| 489 | 488 |
| 490 ScopedBandwidthMetrics metrics_; | 489 ScopedBandwidthMetrics metrics_; |
| 491 | 490 |
| 492 const base::WeakPtr<SpdySession> session_; | 491 const base::WeakPtr<SpdySession> session_; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 // When OnFrameWriteComplete() is called, these variables are set. | 544 // When OnFrameWriteComplete() is called, these variables are set. |
| 546 SpdyFrameType just_completed_frame_type_; | 545 SpdyFrameType just_completed_frame_type_; |
| 547 size_t just_completed_frame_size_; | 546 size_t just_completed_frame_size_; |
| 548 | 547 |
| 549 DISALLOW_COPY_AND_ASSIGN(SpdyStream); | 548 DISALLOW_COPY_AND_ASSIGN(SpdyStream); |
| 550 }; | 549 }; |
| 551 | 550 |
| 552 } // namespace net | 551 } // namespace net |
| 553 | 552 |
| 554 #endif // NET_SPDY_SPDY_STREAM_H_ | 553 #endif // NET_SPDY_SPDY_STREAM_H_ |
| OLD | NEW |