Index: extensions/browser/api/bluetooth/bluetooth_api.cc |
diff --git a/extensions/browser/api/bluetooth/bluetooth_api.cc b/extensions/browser/api/bluetooth/bluetooth_api.cc |
index c59a0849198037ce0110f10945b4d14d90fbbdef..2e1e4bc718008829a1e4f57f5e73ac48eeb71220 100644 |
--- a/extensions/browser/api/bluetooth/bluetooth_api.cc |
+++ b/extensions/browser/api/bluetooth/bluetooth_api.cc |
@@ -9,7 +9,6 @@ |
#include "base/bind_helpers.h" |
#include "base/lazy_instance.h" |
#include "base/memory/ref_counted.h" |
-#include "base/profiler/scoped_profile.h" |
#include "content/public/browser/browser_thread.h" |
#include "device/bluetooth/bluetooth_adapter.h" |
#include "device/bluetooth/bluetooth_device.h" |
@@ -86,10 +85,6 @@ void BluetoothAPI::Shutdown() { |
} |
void BluetoothAPI::OnListenerAdded(const EventListenerInfo& details) { |
- // TODO(vadimt): Remove ScopedProfile below once crbug.com/417106 is fixed. |
- tracked_objects::ScopedProfile tracking_profile( |
- FROM_HERE_WITH_EXPLICIT_FUNCTION("BluetoothAPI::OnListenerAdded")); |
- |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
if (event_router()->IsBluetoothSupported()) |
event_router()->OnListenerAdded(); |