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

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

Issue 8598030: Cleanup: Another round of unused forward declaration cleanup. (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/http/http_network_session_peer.h ('k') | ppapi/proxy/ppb_audio_input_proxy.h » ('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 <deque> 9 #include <algorithm>
10 #include <list> 10 #include <list>
11 #include <map> 11 #include <map>
12 #include <queue> 12 #include <queue>
13 #include <string> 13 #include <string>
14 14
15 #include "base/gtest_prod_util.h" 15 #include "base/gtest_prod_util.h"
16 #include "base/memory/linked_ptr.h" 16 #include "base/memory/linked_ptr.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "net/base/io_buffer.h" 19 #include "net/base/io_buffer.h"
(...skipping 15 matching lines...) Expand all
35 namespace net { 35 namespace net {
36 36
37 // This is somewhat arbitrary and not really fixed, but it will always work 37 // This is somewhat arbitrary and not really fixed, but it will always work
38 // reasonably with ethernet. Chop the world into 2-packet chunks. This is 38 // reasonably with ethernet. Chop the world into 2-packet chunks. This is
39 // somewhat arbitrary, but is reasonably small and ensures that we elicit 39 // somewhat arbitrary, but is reasonably small and ensures that we elicit
40 // ACKs quickly from TCP (because TCP tries to only ACK every other packet). 40 // ACKs quickly from TCP (because TCP tries to only ACK every other packet).
41 const int kMss = 1430; 41 const int kMss = 1430;
42 const int kMaxSpdyFrameChunkSize = (2 * kMss) - spdy::SpdyFrame::kHeaderSize; 42 const int kMaxSpdyFrameChunkSize = (2 * kMss) - spdy::SpdyFrame::kHeaderSize;
43 43
44 class BoundNetLog; 44 class BoundNetLog;
45 class SpdySettingsStorage;
46 class SpdyStream; 45 class SpdyStream;
47 class SSLInfo; 46 class SSLInfo;
48 47
49 class NET_EXPORT SpdySession : public base::RefCounted<SpdySession>, 48 class NET_EXPORT SpdySession : public base::RefCounted<SpdySession>,
50 public spdy::BufferedSpdyFramerVisitorInterface { 49 public spdy::BufferedSpdyFramerVisitorInterface {
51 public: 50 public:
52 // FlowControl provides the ability for unit tests to either enable or disable 51 // FlowControl provides the ability for unit tests to either enable or disable
53 // flow control (independent of NPN protocol negotiated). If 52 // flow control (independent of NPN protocol negotiated). If
54 // |use_flow_control_| is set to kFlowControlBasedOnNPN then flow control is 53 // |use_flow_control_| is set to kFlowControlBasedOnNPN then flow control is
55 // determined by the NPN protocol negotiated with the server. 54 // determined by the NPN protocol negotiated with the server.
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 705
707 const int status_; 706 const int status_;
708 const std::string description_; 707 const std::string description_;
709 708
710 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySessionCloseParameter); 709 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySessionCloseParameter);
711 }; 710 };
712 711
713 } // namespace net 712 } // namespace net
714 713
715 #endif // NET_SPDY_SPDY_SESSION_H_ 714 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW
« no previous file with comments | « net/http/http_network_session_peer.h ('k') | ppapi/proxy/ppb_audio_input_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698