| 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_SESSION_H_ | 5 #ifndef NET_SPDY_SPDY_SESSION_H_ |
| 6 #define NET_SPDY_SPDY_SESSION_H_ | 6 #define NET_SPDY_SPDY_SESSION_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, ClientPing); | 529 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, ClientPing); |
| 530 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, FailedPing); | 530 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, FailedPing); |
| 531 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, GetActivePushStream); | 531 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, GetActivePushStream); |
| 532 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, DeleteExpiredPushStreams); | 532 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, DeleteExpiredPushStreams); |
| 533 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, ProtocolNegotiation); | 533 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, ProtocolNegotiation); |
| 534 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, ClearSettings); | 534 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, ClearSettings); |
| 535 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, AdjustRecvWindowSize); | 535 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, AdjustRecvWindowSize); |
| 536 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, AdjustSendWindowSize); | 536 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, AdjustSendWindowSize); |
| 537 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlInactiveStream); | 537 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlInactiveStream); |
| 538 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlPadding); | 538 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlPadding); |
| 539 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, |
| 540 SessionFlowControlTooMuchDataTwoDataFrames); |
| 541 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, |
| 542 StreamFlowControlTooMuchDataTwoDataFrames); |
| 539 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlNoReceiveLeaks); | 543 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlNoReceiveLeaks); |
| 540 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlNoSendLeaks); | 544 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlNoSendLeaks); |
| 541 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlEndToEnd); | 545 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlEndToEnd); |
| 542 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, StreamIdSpaceExhausted); | 546 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, StreamIdSpaceExhausted); |
| 543 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, UnstallRacesWithStreamCreation); | 547 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, UnstallRacesWithStreamCreation); |
| 544 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, GoAwayOnSessionFlowControlError); | 548 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, GoAwayOnSessionFlowControlError); |
| 545 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, | 549 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, |
| 546 RejectPushedStreamExceedingConcurrencyLimit); | 550 RejectPushedStreamExceedingConcurrencyLimit); |
| 547 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, IgnoreReservedRemoteStreamsCount); | 551 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, IgnoreReservedRemoteStreamsCount); |
| 548 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, | 552 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, |
| (...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1185 // Used for posting asynchronous IO tasks. We use this even though | 1189 // Used for posting asynchronous IO tasks. We use this even though |
| 1186 // SpdySession is refcounted because we don't need to keep the SpdySession | 1190 // SpdySession is refcounted because we don't need to keep the SpdySession |
| 1187 // alive if the last reference is within a RunnableMethod. Just revoke the | 1191 // alive if the last reference is within a RunnableMethod. Just revoke the |
| 1188 // method. | 1192 // method. |
| 1189 base::WeakPtrFactory<SpdySession> weak_factory_; | 1193 base::WeakPtrFactory<SpdySession> weak_factory_; |
| 1190 }; | 1194 }; |
| 1191 | 1195 |
| 1192 } // namespace net | 1196 } // namespace net |
| 1193 | 1197 |
| 1194 #endif // NET_SPDY_SPDY_SESSION_H_ | 1198 #endif // NET_SPDY_SPDY_SESSION_H_ |
| OLD | NEW |