Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: chrome/browser/ui/android/bluetooth_chooser_android.cc

Issue 2753613002: Remove content::BluetoothChooser::RemoveDevice() function (Closed)
Patch Set: remove content::BluetoothChooser::RemoveDevice() function Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a15fe998ca7f6a4b1b06934cbecd21850a5a750f..c81b250481e2113b22add5c7c53419d4b1be4380 100644
--- a/chrome/browser/ui/android/bluetooth_chooser_android.cc
+++ b/chrome/browser/ui/android/bluetooth_chooser_android.cc
@@ -109,13 +109,6 @@ void BluetoothChooserAndroid::AddOrUpdateDevice(
env, java_dialog_, java_device_id, java_device_name);
}
-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_, java_device_id);
-}
-
void BluetoothChooserAndroid::OnDialogFinished(
JNIEnv* env,
const JavaParamRef<jobject>& obj,
« no previous file with comments | « chrome/browser/ui/android/bluetooth_chooser_android.h ('k') | chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698