diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-23 06:18:54 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-23 06:18:54 +0000 |
commit | daed8ecb55ea000eb991d5ef039893018de5d624 (patch) | |
tree | 87e55c25bd7f80de79799a48608169fe67bd5568 /device/bluetooth/bluetooth_socket_net.cc | |
parent | d3a0fa8f4c49d9b0a4d4e1cead494f0f7d60e601 (diff) | |
download | chromium_src-daed8ecb55ea000eb991d5ef039893018de5d624.zip chromium_src-daed8ecb55ea000eb991d5ef039893018de5d624.tar.gz chromium_src-daed8ecb55ea000eb991d5ef039893018de5d624.tar.bz2 |
Cleanup: Drop some unnecessary params from the BluetoothSocketNet constructor.
BUG=none
TEST=none
R=keybuk@chromium.org
Review URL: https://codereview.chromium.org/397123002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284857 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device/bluetooth/bluetooth_socket_net.cc')
-rw-r--r-- | device/bluetooth/bluetooth_socket_net.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/device/bluetooth/bluetooth_socket_net.cc b/device/bluetooth/bluetooth_socket_net.cc index c42d46e..f00ef2b 100644 --- a/device/bluetooth/bluetooth_socket_net.cc +++ b/device/bluetooth/bluetooth_socket_net.cc @@ -18,6 +18,7 @@ #include "device/bluetooth/bluetooth_socket_thread.h" #include "net/base/io_buffer.h" #include "net/base/net_errors.h" +#include "net/base/net_log.h" namespace { @@ -39,13 +40,9 @@ BluetoothSocketNet::WriteRequest::~WriteRequest() {} BluetoothSocketNet::BluetoothSocketNet( scoped_refptr<base::SequencedTaskRunner> ui_task_runner, - scoped_refptr<BluetoothSocketThread> socket_thread, - net::NetLog* net_log, - const net::NetLog::Source& source) + scoped_refptr<BluetoothSocketThread> socket_thread) : ui_task_runner_(ui_task_runner), - socket_thread_(socket_thread), - net_log_(net_log), - source_(source) { + socket_thread_(socket_thread) { DCHECK(ui_task_runner->RunsTasksOnCurrentThread()); socket_thread_->OnSocketActivate(); } @@ -119,7 +116,7 @@ void BluetoothSocketNet::ResetData() { } void BluetoothSocketNet::ResetTCPSocket() { - tcp_socket_.reset(new net::TCPSocket(net_log_, source_)); + tcp_socket_.reset(new net::TCPSocket(NULL, net::NetLog::Source())); } void BluetoothSocketNet::SetTCPSocket(scoped_ptr<net::TCPSocket> tcp_socket) { |