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

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

Issue 959743002: Account for HTTP/2 padding in receive windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit. Created 5 years, 9 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
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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 // Allow tests to access our innards for testing purposes. 533 // Allow tests to access our innards for testing purposes.
534 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, ClientPing); 534 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, ClientPing);
535 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, FailedPing); 535 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, FailedPing);
536 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, GetActivePushStream); 536 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, GetActivePushStream);
537 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, DeleteExpiredPushStreams); 537 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, DeleteExpiredPushStreams);
538 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, ProtocolNegotiation); 538 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, ProtocolNegotiation);
539 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, ClearSettings); 539 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, ClearSettings);
540 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, AdjustRecvWindowSize); 540 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, AdjustRecvWindowSize);
541 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, AdjustSendWindowSize); 541 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, AdjustSendWindowSize);
542 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlInactiveStream); 542 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlInactiveStream);
543 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlPadding);
543 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlNoReceiveLeaks); 544 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlNoReceiveLeaks);
544 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlNoSendLeaks); 545 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlNoSendLeaks);
545 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlEndToEnd); 546 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, SessionFlowControlEndToEnd);
546 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, StreamIdSpaceExhausted); 547 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, StreamIdSpaceExhausted);
547 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, UnstallRacesWithStreamCreation); 548 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, UnstallRacesWithStreamCreation);
548 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, GoAwayOnSessionFlowControlError); 549 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, GoAwayOnSessionFlowControlError);
549 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, 550 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest,
550 RejectPushedStreamExceedingConcurrencyLimit); 551 RejectPushedStreamExceedingConcurrencyLimit);
551 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, IgnoreReservedRemoteStreamsCount); 552 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, IgnoreReservedRemoteStreamsCount);
552 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, 553 FRIEND_TEST_ALL_PREFIXES(SpdySessionTest,
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
1175 // Used for posting asynchronous IO tasks. We use this even though 1176 // Used for posting asynchronous IO tasks. We use this even though
1176 // SpdySession is refcounted because we don't need to keep the SpdySession 1177 // SpdySession is refcounted because we don't need to keep the SpdySession
1177 // alive if the last reference is within a RunnableMethod. Just revoke the 1178 // alive if the last reference is within a RunnableMethod. Just revoke the
1178 // method. 1179 // method.
1179 base::WeakPtrFactory<SpdySession> weak_factory_; 1180 base::WeakPtrFactory<SpdySession> weak_factory_;
1180 }; 1181 };
1181 1182
1182 } // namespace net 1183 } // namespace net
1183 1184
1184 #endif // NET_SPDY_SPDY_SESSION_H_ 1185 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698