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

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

Issue 12989038: [SPDY] Remove some setters in SpdyStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 virtual ~SpdyIOBufferProducer() {} 191 virtual ~SpdyIOBufferProducer() {}
192 192
193 protected: 193 protected:
194 // Activates |spdy_stream| in |spdy_session|. 194 // Activates |spdy_stream| in |spdy_session|.
195 static void ActivateStream(SpdySession* spdy_session, 195 static void ActivateStream(SpdySession* spdy_session,
196 SpdyStream* spdy_stream); 196 SpdyStream* spdy_stream);
197 197
198 static SpdyIOBuffer* CreateIOBuffer(SpdyFrame* frame, 198 static SpdyIOBuffer* CreateIOBuffer(SpdyFrame* frame,
199 RequestPriority priority, 199 RequestPriority priority,
200 SpdyStream* spdy_stream); 200 SpdyStream* spdy_stream);
201
202 private:
203 DISALLOW_COPY_AND_ASSIGN(SpdyIOBufferProducer);
Ryan Hamilton 2013/03/24 15:08:40 How come this needs to be removed?
akalin 2013/03/24 19:24:53 It doesn't have to, but on the other hand it doesn
Ryan Hamilton 2013/03/25 17:07:47 But the style guide says to only allow copy constr
akalin 2013/03/25 19:24:48 Hmm you're right. Okay, put it back in.
204 }; 201 };
205 202
206 // Create a new SpdySession. 203 // Create a new SpdySession.
207 // |host_port_proxy_pair| is the host/port that this session connects to, and 204 // |host_port_proxy_pair| is the host/port that this session connects to, and
208 // the proxy configuration settings that it's using. 205 // the proxy configuration settings that it's using.
209 // |spdy_session_pool| is the SpdySessionPool that owns us. Its lifetime must 206 // |spdy_session_pool| is the SpdySessionPool that owns us. Its lifetime must
210 // strictly be greater than |this|. 207 // strictly be greater than |this|.
211 // |session| is the HttpNetworkSession. |net_log| is the NetLog that we log 208 // |session| is the HttpNetworkSession. |net_log| is the NetLog that we log
212 // network events to. 209 // network events to.
213 SpdySession(const HostPortProxyPair& host_port_proxy_pair, 210 SpdySession(const HostPortProxyPair& host_port_proxy_pair,
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 // This SPDY proxy is allowed to push resources from origins that are 903 // This SPDY proxy is allowed to push resources from origins that are
907 // different from those of their associated streams. 904 // different from those of their associated streams.
908 HostPortPair trusted_spdy_proxy_; 905 HostPortPair trusted_spdy_proxy_;
909 906
910 TimeFunc time_func_; 907 TimeFunc time_func_;
911 }; 908 };
912 909
913 } // namespace net 910 } // namespace net
914 911
915 #endif // NET_SPDY_SPDY_SESSION_H_ 912 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698