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

Unified Diff: device/bluetooth/test/bluetooth_test_android.h

Issue 2032273002: If location services are turned off, have the BT chooser prompt the user to turn them on. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Sync Created 4 years, 6 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/test/bluetooth_test_android.h
diff --git a/device/bluetooth/test/bluetooth_test_android.h b/device/bluetooth/test/bluetooth_test_android.h
index 048acf0557c904d1b1c89cf70e18605745cafc7d..d8dfaeb4879793a109a28a98e9b81303f797d9ed 100644
--- a/device/bluetooth/test/bluetooth_test_android.h
+++ b/device/bluetooth/test/bluetooth_test_android.h
@@ -95,6 +95,10 @@ class BluetoothTestAndroid : public BluetoothTestBase {
void SimulateGattDescriptorWriteWillFailSynchronouslyOnce(
BluetoothRemoteGattDescriptor* descriptor) override;
+ // Instruct the fake adapter to claim that location services are off for the
+ // device.
+ void SimulateLocationServicesOff();
+
// Instruct the fake adapter to throw an IllegalStateException for
// startScan and stopScan.
void ForceIllegalStateException();

Powered by Google App Engine
This is Rietveld 408576698