Index: chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.h |
diff --git a/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.h b/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.h |
index a1555d72d5225d87e73e65eb25e33550cfd86742..74991bbb93de3dcb153c1a7d62a6f83fa5b64566 100644 |
--- a/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.h |
+++ b/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.h |
@@ -10,6 +10,11 @@ |
#include "base/macros.h" |
#include "chrome/browser/ui/website_settings/chooser_bubble_delegate.h" |
#include "components/bubble/bubble_reference.h" |
+#include "url/gurl.h" |
+ |
+namespace content { |
+class WebContents; |
+} |
class Browser; |
class BluetoothChooserDesktop; |
@@ -20,7 +25,9 @@ class BluetoothChooserDesktop; |
// access a Bluetooth device. |
class BluetoothChooserBubbleDelegate : public ChooserBubbleDelegate { |
public: |
- explicit BluetoothChooserBubbleDelegate(Browser* browser); |
+ explicit BluetoothChooserBubbleDelegate(Browser* browser, |
+ content::WebContents* web_contents, |
+ const GURL& origin); |
~BluetoothChooserBubbleDelegate() override; |
// ChooserBubbleDelegate: |
@@ -48,6 +55,8 @@ class BluetoothChooserBubbleDelegate : public ChooserBubbleDelegate { |
private: |
// Each pair is a (device name, device id). |
std::vector<std::pair<base::string16, std::string>> device_names_and_ids_; |
+ content::WebContents* web_contents_; |
+ GURL origin_; |
BluetoothChooserDesktop* bluetooth_chooser_; |
BubbleReference bubble_controller_; |