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

Side by Side Diff: net/spdy/spdy_session.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_proxy_client_socket_spdy3_unittest.cc ('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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 // Returns the current |initial_recv_window_size_|. 293 // Returns the current |initial_recv_window_size_|.
294 int32 initial_recv_window_size() const { return initial_recv_window_size_; } 294 int32 initial_recv_window_size() const { return initial_recv_window_size_; }
295 295
296 // Sets |initial_recv_window_size_| used by unittests. 296 // Sets |initial_recv_window_size_| used by unittests.
297 void set_initial_recv_window_size(int32 window_size) { 297 void set_initial_recv_window_size(int32 window_size) {
298 initial_recv_window_size_ = window_size; 298 initial_recv_window_size_ = window_size;
299 } 299 }
300 300
301 const BoundNetLog& net_log() const { return net_log_; } 301 const BoundNetLog& net_log() const { return net_log_; }
302 302
303 int GetPeerAddress(AddressList* address) const; 303 int GetPeerAddress(IPEndPoint* address) const;
304 int GetLocalAddress(IPEndPoint* address) const; 304 int GetLocalAddress(IPEndPoint* address) const;
305 305
306 // Returns true if requests on this session require credentials. 306 // Returns true if requests on this session require credentials.
307 bool NeedsCredentials() const; 307 bool NeedsCredentials() const;
308 308
309 SpdyCredentialState* credential_state() { return &credential_state_; } 309 SpdyCredentialState* credential_state() { return &credential_state_; }
310 310
311 // Adds |alias| to set of aliases associated with this session. 311 // Adds |alias| to set of aliases associated with this session.
312 void AddPooledAlias(const HostPortProxyPair& alias); 312 void AddPooledAlias(const HostPortProxyPair& alias);
313 313
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 private: 716 private:
717 const int status_; 717 const int status_;
718 const std::string description_; 718 const std::string description_;
719 719
720 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySessionCloseParameter); 720 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySessionCloseParameter);
721 }; 721 };
722 722
723 } // namespace net 723 } // namespace net
724 724
725 #endif // NET_SPDY_SPDY_SESSION_H_ 725 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_proxy_client_socket_spdy3_unittest.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698