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

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

Issue 10005041: Remove SPDY 2.1 support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove references to deleted flags from chrome/browser Created 8 years, 8 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_HTTP_STREAM_H_ 5 #ifndef NET_SPDY_SPDY_HTTP_STREAM_H_
6 #define NET_SPDY_SPDY_HTTP_STREAM_H_ 6 #define NET_SPDY_SPDY_HTTP_STREAM_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 base::Time response_time, 81 base::Time response_time,
82 int status) OVERRIDE; 82 int status) OVERRIDE;
83 virtual void OnDataReceived(const char* buffer, int bytes) OVERRIDE; 83 virtual void OnDataReceived(const char* buffer, int bytes) OVERRIDE;
84 virtual void OnDataSent(int length) OVERRIDE; 84 virtual void OnDataSent(int length) OVERRIDE;
85 virtual void OnClose(int status) OVERRIDE; 85 virtual void OnClose(int status) OVERRIDE;
86 virtual void set_chunk_callback(ChunkCallback* callback) OVERRIDE; 86 virtual void set_chunk_callback(ChunkCallback* callback) OVERRIDE;
87 87
88 private: 88 private:
89 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test, 89 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test,
90 FlowControlStallResume); 90 FlowControlStallResume);
91 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy21Test,
92 FlowControlStallResume);
93 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, 91 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test,
94 FlowControlStallResume); 92 FlowControlStallResume);
95 93
96 // Call the user callback. 94 // Call the user callback.
97 void DoCallback(int rv); 95 void DoCallback(int rv);
98 96
99 void ScheduleBufferedReadCallback(); 97 void ScheduleBufferedReadCallback();
100 98
101 // Returns true if the callback is invoked. 99 // Returns true if the callback is invoked.
102 bool DoBufferedReadCallback(); 100 bool DoBufferedReadCallback();
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 bool direct_; 144 bool direct_;
147 145
148 bool send_last_chunk_; 146 bool send_last_chunk_;
149 147
150 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream); 148 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream);
151 }; 149 };
152 150
153 } // namespace net 151 } // namespace net
154 152
155 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_ 153 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_pool_unittest.cc ('k') | net/spdy/spdy_network_transaction_spdy21_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698