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

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

Issue 12258027: Remove unused method SpdyFramer::IsCompressible(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « no previous file | net/spdy/buffered_spdy_framer.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_BUFFERED_SPDY_FRAMER_H_ 5 #ifndef NET_SPDY_BUFFERED_SPDY_FRAMER_H_
6 #define NET_SPDY_BUFFERED_SPDY_FRAMER_H_ 6 #define NET_SPDY_BUFFERED_SPDY_FRAMER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 SpdyFrame* CreateWindowUpdate( 172 SpdyFrame* CreateWindowUpdate(
173 SpdyStreamId stream_id, 173 SpdyStreamId stream_id,
174 uint32 delta_window_size) const; 174 uint32 delta_window_size) const;
175 SpdyFrame* CreateCredentialFrame( 175 SpdyFrame* CreateCredentialFrame(
176 const SpdyCredential& credential) const; 176 const SpdyCredential& credential) const;
177 SpdyDataFrame* CreateDataFrame(SpdyStreamId stream_id, 177 SpdyDataFrame* CreateDataFrame(SpdyStreamId stream_id,
178 const char* data, 178 const char* data,
179 uint32 len, 179 uint32 len,
180 SpdyDataFlags flags); 180 SpdyDataFlags flags);
181 SpdyPriority GetHighestPriority() const; 181 SpdyPriority GetHighestPriority() const;
182 bool IsCompressible(const SpdyFrame& frame) const;
183 182
184 int frames_received() const { return frames_received_; } 183 int frames_received() const { return frames_received_; }
185 184
186 private: 185 private:
187 // The size of the header_buffer_. 186 // The size of the header_buffer_.
188 enum { kHeaderBufferSize = 32 * 1024 }; 187 enum { kHeaderBufferSize = 32 * 1024 };
189 188
190 void InitHeaderStreaming(SpdyStreamId stream_id); 189 void InitHeaderStreaming(SpdyStreamId stream_id);
191 190
192 SpdyFramer spdy_framer_; 191 SpdyFramer spdy_framer_;
(...skipping 18 matching lines...) Expand all
211 bool unidirectional; 210 bool unidirectional;
212 }; 211 };
213 scoped_ptr<ControlFrameFields> control_frame_fields_; 212 scoped_ptr<ControlFrameFields> control_frame_fields_;
214 213
215 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer); 214 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer);
216 }; 215 };
217 216
218 } // namespace net 217 } // namespace net
219 218
220 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_ 219 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_
OLDNEW
« no previous file with comments | « no previous file | net/spdy/buffered_spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698