| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 BLIMP_NET_COMMON_H_ | 5 #ifndef BLIMP_NET_COMMON_H_ |
| 6 #define BLIMP_NET_COMMON_H_ | 6 #define BLIMP_NET_COMMON_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "blimp/net/blimp_net_export.h" | 12 #include "blimp/net/blimp_net_export.h" |
| 11 | 13 |
| 12 namespace blimp { | 14 namespace blimp { |
| 13 | 15 |
| 14 class BlimpMessage; | 16 class BlimpMessage; |
| 15 | 17 |
| 16 // TODO(kmarshall): Apply SCIENCE to determine a better constant here. | 18 // TODO(kmarshall): Apply SCIENCE to determine a better constant here. |
| 17 // See crbug.com/542464 | 19 // See crbug.com/542464 |
| 18 extern const size_t BLIMP_NET_EXPORT kMaxPacketPayloadSizeBytes; | 20 extern const size_t BLIMP_NET_EXPORT kMaxPacketPayloadSizeBytes; |
| 19 extern const size_t BLIMP_NET_EXPORT kPacketHeaderSizeBytes; | 21 extern const size_t BLIMP_NET_EXPORT kPacketHeaderSizeBytes; |
| 20 | 22 |
| 21 } // namespace blimp | 23 } // namespace blimp |
| 22 | 24 |
| 23 #endif // BLIMP_NET_COMMON_H_ | 25 #endif // BLIMP_NET_COMMON_H_ |
| OLD | NEW |