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

Unified Diff: net/base/net_util.h

Issue 236203018: win: Implement Bluetooth server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for #4 comments Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: net/base/net_util.h
diff --git a/net/base/net_util.h b/net/base/net_util.h
index d822f6926d8397e3d07311de6eb3c93f2ed77f75..7044e04ea22512713cd3f66b4469779e1f7acfd8 100644
--- a/net/base/net_util.h
+++ b/net/base/net_util.h
@@ -55,6 +55,10 @@ typedef std::vector<IPAddressNumber> IPAddressList;
static const size_t kIPv4AddressSize = 4;
static const size_t kIPv6AddressSize = 16;
+#if defined(OS_WIN)
+// Bluetooth address size. Windows Bluetooth is supported via winsock.
+static const size_t kBthAddressSize = 6;
wtc 2014/04/28 23:54:43 Nit: I suggest using "Bluetooh" instead of "Bth" i
xiyuan 2014/04/29 00:50:26 Done.
+#endif
// Nothing is ommitted.
NET_EXPORT extern const FormatUrlType kFormatUrlOmitNothing;

Powered by Google App Engine
This is Rietveld 408576698