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

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

Issue 8949026: Move net/base/sys_byteorder.h to base/sys_byteorder.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Denitting, rebase Created 8 years, 12 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/spdy/spdy_framer.h ('k') | ppapi/shared_impl/private/net_address_private_impl.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This file contains some protocol structures for use with Spdy. 5 // This file contains some protocol structures for use with Spdy.
6 6
7 #ifndef NET_SPDY_SPDY_PROTOCOL_H_ 7 #ifndef NET_SPDY_SPDY_PROTOCOL_H_
8 #define NET_SPDY_SPDY_PROTOCOL_H_ 8 #define NET_SPDY_SPDY_PROTOCOL_H_
9 #pragma once 9 #pragma once
10 10
11 #include <limits> 11 #include <limits>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "net/base/sys_byteorder.h" 15 #include "base/sys_byteorder.h"
16 #include "net/spdy/spdy_bitmasks.h" 16 #include "net/spdy/spdy_bitmasks.h"
17 17
18 // Data Frame Format 18 // Data Frame Format
19 // +----------------------------------+ 19 // +----------------------------------+
20 // |0| Stream-ID (31bits) | 20 // |0| Stream-ID (31bits) |
21 // +----------------------------------+ 21 // +----------------------------------+
22 // | flags (8) | Length (24 bits) | 22 // | flags (8) | Length (24 bits) |
23 // +----------------------------------+ 23 // +----------------------------------+
24 // | Data | 24 // | Data |
25 // +----------------------------------+ 25 // +----------------------------------+
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 struct SpdyWindowUpdateControlFrameBlock* mutable_block() { 835 struct SpdyWindowUpdateControlFrameBlock* mutable_block() {
836 return static_cast<SpdyWindowUpdateControlFrameBlock*>(frame_); 836 return static_cast<SpdyWindowUpdateControlFrameBlock*>(frame_);
837 } 837 }
838 838
839 DISALLOW_COPY_AND_ASSIGN(SpdyWindowUpdateControlFrame); 839 DISALLOW_COPY_AND_ASSIGN(SpdyWindowUpdateControlFrame);
840 }; 840 };
841 841
842 } // namespace spdy 842 } // namespace spdy
843 843
844 #endif // NET_SPDY_SPDY_PROTOCOL_H_ 844 #endif // NET_SPDY_SPDY_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_framer.h ('k') | ppapi/shared_impl/private/net_address_private_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698