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

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

Issue 9802003: SPDY - persist SPDY settings. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « net/spdy/spdy_protocol.h ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »
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 #pragma once 7 #pragma once
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <list> 10 #include <list>
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 scoped_refptr<SpdyStream>* spdy_stream, 340 scoped_refptr<SpdyStream>* spdy_stream,
341 const BoundNetLog& stream_net_log); 341 const BoundNetLog& stream_net_log);
342 342
343 // IO Callbacks 343 // IO Callbacks
344 void OnReadComplete(int result); 344 void OnReadComplete(int result);
345 void OnWriteComplete(int result); 345 void OnWriteComplete(int result);
346 346
347 // Send relevant SETTINGS. This is generally called on connection setup. 347 // Send relevant SETTINGS. This is generally called on connection setup.
348 void SendSettings(); 348 void SendSettings();
349 349
350 // Handle SETTINGS. Either when we send settings, or when we receive a 350 // Handle SETTING. Either when we send settings, or when we receive a
351 // SETTINGS control frame, update our SpdySession accordingly. 351 // SETTINGS control frame, update our SpdySession accordingly.
352 void HandleSettings(const SpdySettings& settings);
353 void HandleSetting(uint32 id, uint32 value); 352 void HandleSetting(uint32 id, uint32 value);
354 353
355 // Adjust the send window size of all ActiveStreams and PendingCreateStreams. 354 // Adjust the send window size of all ActiveStreams and PendingCreateStreams.
356 void UpdateStreamsSendWindowSize(int32 delta_window_size); 355 void UpdateStreamsSendWindowSize(int32 delta_window_size);
357 356
358 // Send the PING (preface-PING and trailing-PING) frames. 357 // Send the PING (preface-PING and trailing-PING) frames.
359 void SendPrefacePingIfNoneInFlight(); 358 void SendPrefacePingIfNoneInFlight();
360 359
361 // Send PING if there are no PINGs in flight and we haven't heard from server. 360 // Send PING if there are no PINGs in flight and we haven't heard from server.
362 void SendPrefacePing(); 361 void SendPrefacePing();
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 694
696 const int status_; 695 const int status_;
697 const std::string description_; 696 const std::string description_;
698 697
699 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySessionCloseParameter); 698 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySessionCloseParameter);
700 }; 699 };
701 700
702 } // namespace net 701 } // namespace net
703 702
704 #endif // NET_SPDY_SPDY_SESSION_H_ 703 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_protocol.h ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698