Index: chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc |
diff --git a/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc b/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc |
index 91bc638a5ab037bbebd31eca244f739981be2f1a..b014048ceed2dc8a630baaa1ac13740d79b3d084 100644 |
--- a/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc |
+++ b/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc |
@@ -4,16 +4,16 @@ |
#include "chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h" |
-#include "chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.h" |
+#include "chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_controller.h" |
BluetoothChooserDesktop::BluetoothChooserDesktop( |
const content::BluetoothChooser::EventHandler& event_handler) |
: event_handler_(event_handler), |
- bluetooth_chooser_bubble_delegate_(nullptr) {} |
+ bluetooth_chooser_bubble_controller_(nullptr) {} |
BluetoothChooserDesktop::~BluetoothChooserDesktop() { |
- if (bluetooth_chooser_bubble_delegate_) |
- bluetooth_chooser_bubble_delegate_->set_bluetooth_chooser(nullptr); |
+ if (bluetooth_chooser_bubble_controller_) |
+ bluetooth_chooser_bubble_controller_->set_bluetooth_chooser(nullptr); |
} |
void BluetoothChooserDesktop::SetAdapterPresence(AdapterPresence presence) {} |
@@ -22,13 +22,13 @@ void BluetoothChooserDesktop::ShowDiscoveryState(DiscoveryState state) {} |
void BluetoothChooserDesktop::AddDevice(const std::string& device_id, |
const base::string16& device_name) { |
- if (bluetooth_chooser_bubble_delegate_) |
- bluetooth_chooser_bubble_delegate_->AddDevice(device_id, device_name); |
+ if (bluetooth_chooser_bubble_controller_) |
+ bluetooth_chooser_bubble_controller_->AddDevice(device_id, device_name); |
} |
void BluetoothChooserDesktop::RemoveDevice(const std::string& device_id) { |
- if (bluetooth_chooser_bubble_delegate_) |
- bluetooth_chooser_bubble_delegate_->RemoveDevice(device_id); |
+ if (bluetooth_chooser_bubble_controller_) |
+ bluetooth_chooser_bubble_controller_->RemoveDevice(device_id); |
} |
void BluetoothChooserDesktop::CallEventHandler( |