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

Unified Diff: device/bluetooth/bluetooth_socket_win.cc

Issue 1376473003: Notify NQE of TCP RTT values (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added throttle on TCP socket notifications (with tests) Created 4 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: device/bluetooth/bluetooth_socket_win.cc
diff --git a/device/bluetooth/bluetooth_socket_win.cc b/device/bluetooth/bluetooth_socket_win.cc
index 509ade4ab79af1b9066abb5a0e4957d656fe09bb..f2b45e8dc097b2f9918cfbc781b4c7ee6e546711 100644
--- a/device/bluetooth/bluetooth_socket_win.cc
+++ b/device/bluetooth/bluetooth_socket_win.cc
@@ -193,7 +193,7 @@ void BluetoothSocketWin::DoConnect(
}
scoped_ptr<net::TCPSocket> scoped_socket(
- new net::TCPSocket(NULL, net::NetLog::Source()));
+ new net::TCPSocket(NULL, NULL, net::NetLog::Source()));
net::EnsureWinsockInit();
SOCKET socket_fd = socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM);
SOCKADDR_BTH sa;
@@ -260,7 +260,7 @@ void BluetoothSocketWin::DoListen(
// TCPSocket methods that involve address could not be called. So bind()
// is called on |socket_fd| directly.
scoped_ptr<net::TCPSocket> scoped_socket(
- new net::TCPSocket(NULL, net::NetLog::Source()));
+ new net::TCPSocket(NULL, NULL, net::NetLog::Source()));
scoped_socket->AdoptListenSocket(socket_fd);
SOCKADDR_BTH sa;

Powered by Google App Engine
This is Rietveld 408576698