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

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

Issue 10491007: fixed issue 128383 - replace GetPeerAddress(AddressList* address) with GetPeerAddress(IPEndPoint* a… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix according to review Created 8 years, 6 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_session_pool.cc ('k') | net/spdy/spdy_stream.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_STREAM_H_ 5 #ifndef NET_SPDY_SPDY_STREAM_H_
6 #define NET_SPDY_SPDY_STREAM_H_ 6 #define NET_SPDY_SPDY_STREAM_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 void AdjustSendWindowSize(int32 delta_window_size); 150 void AdjustSendWindowSize(int32 delta_window_size);
151 151
152 // Increases |send_window_size_| with delta extracted from a WINDOW_UPDATE 152 // Increases |send_window_size_| with delta extracted from a WINDOW_UPDATE
153 // frame; sends a RST_STREAM if delta overflows |send_window_size_| and 153 // frame; sends a RST_STREAM if delta overflows |send_window_size_| and
154 // removes the stream from the session. 154 // removes the stream from the session.
155 void IncreaseSendWindowSize(int32 delta_window_size); 155 void IncreaseSendWindowSize(int32 delta_window_size);
156 156
157 // Decreases |send_window_size_| by the given number of bytes. 157 // Decreases |send_window_size_| by the given number of bytes.
158 void DecreaseSendWindowSize(int32 delta_window_size); 158 void DecreaseSendWindowSize(int32 delta_window_size);
159 159
160 int GetPeerAddress(AddressList* address) const; 160 int GetPeerAddress(IPEndPoint* address) const;
161 int GetLocalAddress(IPEndPoint* address) const; 161 int GetLocalAddress(IPEndPoint* address) const;
162 162
163 // Returns true if the underlying transport socket ever had any reads or 163 // Returns true if the underlying transport socket ever had any reads or
164 // writes. 164 // writes.
165 bool WasEverUsed() const; 165 bool WasEverUsed() const;
166 166
167 // Increases |recv_window_size_| by the given number of bytes, also sends 167 // Increases |recv_window_size_| by the given number of bytes, also sends
168 // a WINDOW_UPDATE frame. 168 // a WINDOW_UPDATE frame.
169 void IncreaseRecvWindowSize(int32 delta_window_size); 169 void IncreaseRecvWindowSize(int32 delta_window_size);
170 170
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 const SpdyStreamId stream_id_; 385 const SpdyStreamId stream_id_;
386 const int status_; 386 const int status_;
387 const std::string description_; 387 const std::string description_;
388 388
389 DISALLOW_COPY_AND_ASSIGN(NetLogSpdyStreamErrorParameter); 389 DISALLOW_COPY_AND_ASSIGN(NetLogSpdyStreamErrorParameter);
390 }; 390 };
391 391
392 } // namespace net 392 } // namespace net
393 393
394 #endif // NET_SPDY_SPDY_STREAM_H_ 394 #endif // NET_SPDY_SPDY_STREAM_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_session_pool.cc ('k') | net/spdy/spdy_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698