OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 | 404 |
405 // Some statistics counters for the session. | 405 // Some statistics counters for the session. |
406 int streams_initiated_count_; | 406 int streams_initiated_count_; |
407 int streams_pushed_count_; | 407 int streams_pushed_count_; |
408 int streams_pushed_and_claimed_count_; | 408 int streams_pushed_and_claimed_count_; |
409 int streams_abandoned_count_; | 409 int streams_abandoned_count_; |
410 int frames_received_; | 410 int frames_received_; |
411 bool sent_settings_; // Did this session send settings when it started. | 411 bool sent_settings_; // Did this session send settings when it started. |
412 bool received_settings_; // Did this session receive at least one settings | 412 bool received_settings_; // Did this session receive at least one settings |
413 // frame. | 413 // frame. |
| 414 int stalled_streams_; // Count of streams that were ever stalled. |
414 | 415 |
415 // Initial send window size for the session; can be changed by an | 416 // Initial send window size for the session; can be changed by an |
416 // arriving SETTINGS frame; newly created streams use this value for the | 417 // arriving SETTINGS frame; newly created streams use this value for the |
417 // initial send window size. | 418 // initial send window size. |
418 int initial_send_window_size_; | 419 int initial_send_window_size_; |
419 | 420 |
420 // Initial receive window size for the session; there are plans to add a | 421 // Initial receive window size for the session; there are plans to add a |
421 // command line switch that would cause a SETTINGS frame with window size | 422 // command line switch that would cause a SETTINGS frame with window size |
422 // announcement to be sent on startup; newly created streams will use | 423 // announcement to be sent on startup; newly created streams will use |
423 // this value for the initial receive window size. | 424 // this value for the initial receive window size. |
(...skipping 26 matching lines...) Expand all Loading... |
450 const spdy::SpdyControlFlags flags_; | 451 const spdy::SpdyControlFlags flags_; |
451 const spdy::SpdyStreamId id_; | 452 const spdy::SpdyStreamId id_; |
452 const spdy::SpdyStreamId associated_stream_; | 453 const spdy::SpdyStreamId associated_stream_; |
453 | 454 |
454 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySynParameter); | 455 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySynParameter); |
455 }; | 456 }; |
456 | 457 |
457 } // namespace net | 458 } // namespace net |
458 | 459 |
459 #endif // NET_SPDY_SPDY_SESSION_H_ | 460 #endif // NET_SPDY_SPDY_SESSION_H_ |
OLD | NEW |