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

Unified Diff: device/bluetooth/bluetooth_adapter_android.h

Issue 1137083002: Revert of bluetooth: Android adapter can be created with and without Bluetooth permission. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bta-jni-
Patch Set: Created 5 years, 7 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: device/bluetooth/bluetooth_adapter_android.h
diff --git a/device/bluetooth/bluetooth_adapter_android.h b/device/bluetooth/bluetooth_adapter_android.h
index d458bb5659cc2a42c1de519da1bc02db69dc1531..cfb9d31733b719f3815ae49a561df2dbbbfb9f41 100644
--- a/device/bluetooth/bluetooth_adapter_android.h
+++ b/device/bluetooth/bluetooth_adapter_android.h
@@ -22,10 +22,6 @@
public:
// Create a BluetoothAdapterAndroid instance.
static base::WeakPtr<BluetoothAdapterAndroid> CreateAdapter();
-
- // Create a BluetoothAdapterAndroid instance without Bluetooth permission.
- static base::WeakPtr<BluetoothAdapterAndroid>
- CreateAdapterWithoutPermissionForTesting();
// Register C++ methods exposed to Java using JNI.
static bool RegisterJNI(JNIEnv* env);

Powered by Google App Engine
This is Rietveld 408576698