Chromium Code Reviews| Index: blimp/net/common.h |
| diff --git a/blimp/net/common.h b/blimp/net/common.h |
| index eff99210508ba3bfb4596d560e52b4a2016a43a1..8931a1d1dcfeb905a968a77d8fb5688fef70c35f 100644 |
| --- a/blimp/net/common.h |
| +++ b/blimp/net/common.h |
| @@ -8,6 +8,7 @@ |
| #include <string> |
| #include "blimp/net/blimp_net_export.h" |
| +#include "net/base/ip_address_number.h" |
| namespace blimp { |
| @@ -18,6 +19,11 @@ class BlimpMessage; |
| extern const size_t BLIMP_NET_EXPORT kMaxPacketPayloadSizeBytes; |
| extern const size_t BLIMP_NET_EXPORT kPacketHeaderSizeBytes; |
| +extern const uint16_t BLIMP_NET_EXPORT kDefaultTcpPort; |
|
haibinlu
2015/12/29 00:51:46
this is engine's default port. the port will be ma
Kevin M
2015/12/30 23:08:49
It's OK here though, right?
|
| + |
| +// Creates an IPAddressNumber object for "0.0.0.0" (aka INADDR_ANY). |
| +net::IPAddressNumber BLIMP_NET_EXPORT GetIPV4AnyAddress(); |
| + |
| } // namespace blimp |
| #endif // BLIMP_NET_COMMON_H_ |