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

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

Issue 759063003: Fix "value possibly truncated" warnings on MSVC, net/spdy/ edition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comment Created 6 years 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
« 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 SpdyStreamId associated_stream_id, 187 SpdyStreamId associated_stream_id,
188 SpdyPriority priority, 188 SpdyPriority priority,
189 SpdyControlFlags flags, 189 SpdyControlFlags flags,
190 const SpdyHeaderBlock* headers); 190 const SpdyHeaderBlock* headers);
191 SpdyFrame* CreateSynReply(SpdyStreamId stream_id, 191 SpdyFrame* CreateSynReply(SpdyStreamId stream_id,
192 SpdyControlFlags flags, 192 SpdyControlFlags flags,
193 const SpdyHeaderBlock* headers); 193 const SpdyHeaderBlock* headers);
194 SpdyFrame* CreateRstStream(SpdyStreamId stream_id, 194 SpdyFrame* CreateRstStream(SpdyStreamId stream_id,
195 SpdyRstStreamStatus status) const; 195 SpdyRstStreamStatus status) const;
196 SpdyFrame* CreateSettings(const SettingsMap& values) const; 196 SpdyFrame* CreateSettings(const SettingsMap& values) const;
197 SpdyFrame* CreatePingFrame(uint32 unique_id, bool is_ack) const; 197 SpdyFrame* CreatePingFrame(SpdyPingId unique_id, bool is_ack) const;
198 SpdyFrame* CreateGoAway( 198 SpdyFrame* CreateGoAway(
199 SpdyStreamId last_accepted_stream_id, 199 SpdyStreamId last_accepted_stream_id,
200 SpdyGoAwayStatus status) const; 200 SpdyGoAwayStatus status) const;
201 SpdyFrame* CreateHeaders(SpdyStreamId stream_id, 201 SpdyFrame* CreateHeaders(SpdyStreamId stream_id,
202 SpdyControlFlags flags, 202 SpdyControlFlags flags,
203 SpdyPriority priority, 203 SpdyPriority priority,
204 const SpdyHeaderBlock* headers); 204 const SpdyHeaderBlock* headers);
205 SpdyFrame* CreateWindowUpdate( 205 SpdyFrame* CreateWindowUpdate(
206 SpdyStreamId stream_id, 206 SpdyStreamId stream_id,
207 uint32 delta_window_size) const; 207 uint32 delta_window_size) const;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 bool unidirectional; 276 bool unidirectional;
277 }; 277 };
278 scoped_ptr<ControlFrameFields> control_frame_fields_; 278 scoped_ptr<ControlFrameFields> control_frame_fields_;
279 279
280 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer); 280 DISALLOW_COPY_AND_ASSIGN(BufferedSpdyFramer);
281 }; 281 };
282 282
283 } // namespace net 283 } // namespace net
284 284
285 #endif // NET_SPDY_BUFFERED_SPDY_FRAMER_H_ 285 #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