Index: chrome/browser/ui/android/bluetooth_chooser_android.cc |
diff --git a/chrome/browser/ui/android/bluetooth_chooser_android.cc b/chrome/browser/ui/android/bluetooth_chooser_android.cc |
index 6f4ce8b1c7775d31f9956e1c46a119f3e47eefda..2793c36f129637d23f0966fb8b397e809dd22ca8 100644 |
--- a/chrome/browser/ui/android/bluetooth_chooser_android.cc |
+++ b/chrome/browser/ui/android/bluetooth_chooser_android.cc |
@@ -110,14 +110,6 @@ void BluetoothChooserAndroid::AddDevice(const std::string& device_id, |
env, java_dialog_.obj(), java_device_id.obj(), java_device_name.obj()); |
} |
-void BluetoothChooserAndroid::RemoveDevice(const std::string& device_id) { |
- JNIEnv* env = AttachCurrentThread(); |
- ScopedJavaLocalRef<jstring> java_device_id = |
- ConvertUTF16ToJavaString(env, base::UTF8ToUTF16(device_id)); |
- Java_BluetoothChooserDialog_removeDevice(env, java_dialog_.obj(), |
- java_device_id.obj()); |
-} |
- |
void BluetoothChooserAndroid::OnDialogFinished( |
JNIEnv* env, |
const JavaParamRef<jobject>& obj, |