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

Unified Diff: device/bluetooth/bluetooth_adapter_android.h

Issue 2313413002: Pass JavaRef to Java methods in device/bluetooth. (Closed)
Patch Set: Switch comments to a different form that clang-format will fit in 80 chars Created 4 years, 3 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
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_adapter_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_adapter_android.h
diff --git a/device/bluetooth/bluetooth_adapter_android.h b/device/bluetooth/bluetooth_adapter_android.h
index d96e1280f18b41cd3170cd8aec3158502149398d..cc93dd7936af9a9af3d6c51a9afb4ca39ad56813 100644
--- a/device/bluetooth/bluetooth_adapter_android.h
+++ b/device/bluetooth/bluetooth_adapter_android.h
@@ -44,7 +44,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterAndroid final
// The BluetoothAdapterAndroid instance will indirectly hold a Java reference
// to |bluetooth_adapter_wrapper|.
static base::WeakPtr<BluetoothAdapterAndroid> Create(
- jobject bluetooth_adapter_wrapper); // Java Type: bluetoothAdapterWrapper
+ const base::android::JavaRef<jobject>&
+ bluetooth_adapter_wrapper); // Java Type: bluetoothAdapterWrapper
// Register C++ methods exposed to Java using JNI.
static bool RegisterJNI(JNIEnv* env);
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_adapter_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698