Index: device/bluetooth/bluetooth_adapter.cc |
diff --git a/device/bluetooth/bluetooth_adapter.cc b/device/bluetooth/bluetooth_adapter.cc |
index 2f90428c83bec10c7a821e17e2ff7941837cf55f..74e2d57c60874ec84bf7140fd30fb351384909ca 100644 |
--- a/device/bluetooth/bluetooth_adapter.cc |
+++ b/device/bluetooth/bluetooth_adapter.cc |
@@ -10,6 +10,7 @@ |
#include "base/metrics/histogram_macros.h" |
#include "base/stl_util.h" |
#include "build/build_config.h" |
+#include "components/device_event_log/device_event_log.h" |
#include "device/bluetooth/bluetooth_device.h" |
#include "device/bluetooth/bluetooth_discovery_session.h" |
#include "device/bluetooth/bluetooth_discovery_session_outcome.h" |
@@ -164,7 +165,7 @@ BluetoothAdapter::~BluetoothAdapter() { |
void BluetoothAdapter::OnStartDiscoverySession( |
scoped_ptr<BluetoothDiscoveryFilter> discovery_filter, |
const DiscoverySessionCallback& callback) { |
- VLOG(1) << "BluetoothAdapter::OnStartDiscoverySession"; |
+ BLUETOOTH_LOG(EVENT) << "BluetoothAdapter::OnStartDiscoverySession"; |
RecordBluetoothDiscoverySessionStartOutcome( |
UMABluetoothDiscoverySessionOutcome::SUCCESS); |
@@ -178,7 +179,8 @@ void BluetoothAdapter::OnStartDiscoverySession( |
void BluetoothAdapter::OnStartDiscoverySessionError( |
const ErrorCallback& callback, |
UMABluetoothDiscoverySessionOutcome outcome) { |
- VLOG(1) << "OnStartDiscoverySessionError: " << static_cast<int>(outcome); |
+ BLUETOOTH_LOG(ERROR) << "OnStartDiscoverySessionError: " |
+ << static_cast<int>(outcome); |
RecordBluetoothDiscoverySessionStartOutcome(outcome); |
callback.Run(); |
} |