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

Unified Diff: device/bluetooth/bluetooth_socket_net.h

Issue 397123002: Cleanup: Drop some unnecessary params from the BluetoothSocketNet constructor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up Windows as well Created 6 years, 5 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_net.h
diff --git a/device/bluetooth/bluetooth_socket_net.h b/device/bluetooth/bluetooth_socket_net.h
index b16e2359cf1a934cfc799df497f1995abe97d113..b31f0fa1a4cdb5c4de813d74371b789d39aecd32 100644
--- a/device/bluetooth/bluetooth_socket_net.h
+++ b/device/bluetooth/bluetooth_socket_net.h
@@ -15,7 +15,6 @@
#include "base/sequenced_task_runner.h"
#include "device/bluetooth/bluetooth_socket.h"
#include "device/bluetooth/bluetooth_socket_thread.h"
-#include "net/base/net_log.h"
#include "net/socket/tcp_socket.h"
namespace net {
@@ -45,9 +44,7 @@ class BluetoothSocketNet : public BluetoothSocket {
protected:
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);
virtual ~BluetoothSocketNet();
// Resets locally held data after a socket is closed. Default implementation
@@ -63,9 +60,6 @@ class BluetoothSocketNet : public BluetoothSocket {
return socket_thread_;
}
- net::NetLog* net_log() const { return net_log_; }
- const net::NetLog::Source& source() const { return source_; }
-
net::TCPSocket* tcp_socket() { return tcp_socket_.get(); }
void ResetTCPSocket();
@@ -116,8 +110,6 @@ class BluetoothSocketNet : public BluetoothSocket {
scoped_refptr<base::SequencedTaskRunner> ui_task_runner_;
scoped_refptr<BluetoothSocketThread> socket_thread_;
- net::NetLog* net_log_;
- const net::NetLog::Source source_;
scoped_ptr<net::TCPSocket> tcp_socket_;
scoped_refptr<net::IOBufferWithSize> read_buffer_;

Powered by Google App Engine
This is Rietveld 408576698