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

Side by Side Diff: net/spdy/spdy_session.h

Issue 1051213006: Fix flow control enforcement condition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change error code. Created 5 years, 8 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
« no previous file with comments | « no previous file | net/spdy/spdy_session.cc » ('j') | net/spdy/spdy_session_unittest.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 SessionFlowControlTooMuchDataTwoPackets);
541 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest,
542 StreamFlowControlTooMuchDataTwoPackets);
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
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_
OLDNEW
« no previous file with comments | « no previous file | net/spdy/spdy_session.cc » ('j') | net/spdy/spdy_session_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698