| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 Flip. | 5 // This file contains some protocol structures for use with Flip. |
| 6 | 6 |
| 7 #ifndef NET_FLIP_FLIP_PROTOCOL_H_ | 7 #ifndef NET_FLIP_FLIP_PROTOCOL_H_ |
| 8 #define NET_FLIP_FLIP_PROTOCOL_H_ | 8 #define NET_FLIP_FLIP_PROTOCOL_H_ |
| 9 | 9 |
| 10 #ifdef WIN32 | 10 #ifdef WIN32 |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 uint32 status() const { return ntohl(status_); } | 194 uint32 status() const { return ntohl(status_); } |
| 195 void set_status(int id) { status_ = htonl(id); } | 195 void set_status(int id) { status_ = htonl(id); } |
| 196 private: | 196 private: |
| 197 uint32 status_; | 197 uint32 status_; |
| 198 } FlipFinStreamControlFrame; | 198 } FlipFinStreamControlFrame; |
| 199 | 199 |
| 200 } // namespace flip | 200 } // namespace flip |
| 201 | 201 |
| 202 #endif // NET_FLIP_FLIP_PROTOCOL_H_ | 202 #endif // NET_FLIP_FLIP_PROTOCOL_H_ |
| 203 | 203 |
| OLD | NEW |