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

Unified Diff: device/bluetooth/bluetooth_device_win.h

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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_device_win.h
diff --git a/device/bluetooth/bluetooth_device_win.h b/device/bluetooth/bluetooth_device_win.h
index 645062d78594847c136b6d41ed9de027161b4109..f07652c89bf78063e43d61df7ceeb972e6020382 100644
--- a/device/bluetooth/bluetooth_device_win.h
+++ b/device/bluetooth/bluetooth_device_win.h
@@ -15,6 +15,11 @@
#include "device/bluetooth/bluetooth_device.h"
#include "device/bluetooth/bluetooth_export.h"
#include "device/bluetooth/bluetooth_task_manager_win.h"
+#include "net/log/net_log_source.h"
+
+namespace net {
+class NetLog;
+}
namespace device {
@@ -30,7 +35,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceWin : public BluetoothDevice {
const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner,
const scoped_refptr<BluetoothSocketThread>& socket_thread,
net::NetLog* net_log,
- const net::NetLog::Source& net_log_source);
+ const net::NetLogSource& net_log_source);
~BluetoothDeviceWin() override;
// BluetoothDevice override
@@ -127,7 +132,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceWin : public BluetoothDevice {
scoped_refptr<base::SequencedTaskRunner> ui_task_runner_;
scoped_refptr<BluetoothSocketThread> socket_thread_;
net::NetLog* net_log_;
- net::NetLog::Source net_log_source_;
+ net::NetLogSource net_log_source_;
// The Bluetooth class of the device, a bitmask that may be decoded using
// https://www.bluetooth.org/Technical/AssignedNumbers/baseband.htm

Powered by Google App Engine
This is Rietveld 408576698