| Index: chrome/browser/ui/android/bluetooth_chooser_android.h
|
| diff --git a/chrome/browser/ui/android/bluetooth_chooser_android.h b/chrome/browser/ui/android/bluetooth_chooser_android.h
|
| index d090c9e55381f3cce122110985fa4651faf5a6df..fc77e636cb3d9cae617fec364445a051b6764bb1 100644
|
| --- a/chrome/browser/ui/android/bluetooth_chooser_android.h
|
| +++ b/chrome/browser/ui/android/bluetooth_chooser_android.h
|
| @@ -17,6 +17,7 @@ class Origin;
|
| // options.
|
| class BluetoothChooserAndroid : public content::BluetoothChooser {
|
| public:
|
| + // Both frame and event_handler must outlive the BluetoothChooserAndroid.
|
| BluetoothChooserAndroid(content::RenderFrameHost* frame,
|
| const EventHandler& event_handler);
|
| ~BluetoothChooserAndroid() override;
|
| @@ -42,9 +43,6 @@ class BluetoothChooserAndroid : public content::BluetoothChooser {
|
| void ShowBluetoothOverviewLink(
|
| JNIEnv* env,
|
| const base::android::JavaParamRef<jobject>& obj);
|
| - void ShowBluetoothPairingLink(
|
| - JNIEnv* env,
|
| - const base::android::JavaParamRef<jobject>& obj);
|
| void ShowBluetoothAdapterOffLink(
|
| JNIEnv* env,
|
| const base::android::JavaParamRef<jobject>& obj);
|
| @@ -55,8 +53,10 @@ class BluetoothChooserAndroid : public content::BluetoothChooser {
|
| static bool Register(JNIEnv* env);
|
|
|
| private:
|
| + void OpenURL(const char* url);
|
| base::android::ScopedJavaGlobalRef<jobject> java_dialog_;
|
|
|
| + content::WebContents* web_contents_;
|
| BluetoothChooser::EventHandler event_handler_;
|
| };
|
|
|
|
|