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

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

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <deque> 9 #include <deque>
10 #include <list> 10 #include <list>
(...skipping 26 matching lines...) Expand all
37 // somewhat arbitrary, but is reasonably small and ensures that we elicit 37 // somewhat arbitrary, but is reasonably small and ensures that we elicit
38 // ACKs quickly from TCP (because TCP tries to only ACK every other packet). 38 // ACKs quickly from TCP (because TCP tries to only ACK every other packet).
39 const int kMss = 1430; 39 const int kMss = 1430;
40 const int kMaxSpdyFrameChunkSize = (2 * kMss) - spdy::SpdyFrame::size(); 40 const int kMaxSpdyFrameChunkSize = (2 * kMss) - spdy::SpdyFrame::size();
41 41
42 class BoundNetLog; 42 class BoundNetLog;
43 class SpdySettingsStorage; 43 class SpdySettingsStorage;
44 class SpdyStream; 44 class SpdyStream;
45 class SSLInfo; 45 class SSLInfo;
46 46
47 class NET_API SpdySession : public base::RefCounted<SpdySession>, 47 class NET_EXPORT SpdySession : public base::RefCounted<SpdySession>,
48 public spdy::SpdyFramerVisitorInterface { 48 public spdy::SpdyFramerVisitorInterface {
49 public: 49 public:
50 // Create a new SpdySession. 50 // Create a new SpdySession.
51 // |host_port_proxy_pair| is the host/port that this session connects to, and 51 // |host_port_proxy_pair| is the host/port that this session connects to, and
52 // the proxy configuration settings that it's using. 52 // the proxy configuration settings that it's using.
53 // |spdy_session_pool| is the SpdySessionPool that owns us. Its lifetime must 53 // |spdy_session_pool| is the SpdySessionPool that owns us. Its lifetime must
54 // strictly be greater than |this|. 54 // strictly be greater than |this|.
55 // |session| is the HttpNetworkSession. |net_log| is the NetLog that we log 55 // |session| is the HttpNetworkSession. |net_log| is the NetLog that we log
56 // network events to. 56 // network events to.
57 SpdySession(const HostPortProxyPair& host_port_proxy_pair, 57 SpdySession(const HostPortProxyPair& host_port_proxy_pair,
58 SpdySessionPool* spdy_session_pool, 58 SpdySessionPool* spdy_session_pool,
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 const spdy::SpdyControlFlags flags_; 461 const spdy::SpdyControlFlags flags_;
462 const spdy::SpdyStreamId id_; 462 const spdy::SpdyStreamId id_;
463 const spdy::SpdyStreamId associated_stream_; 463 const spdy::SpdyStreamId associated_stream_;
464 464
465 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySynParameter); 465 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySynParameter);
466 }; 466 };
467 467
468 } // namespace net 468 } // namespace net
469 469
470 #endif // NET_SPDY_SPDY_SESSION_H_ 470 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698