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

Unified Diff: content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h

Issue 1149883011: bluetooth: Browser-side implementation of readValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-get-characteristic-initial
Patch Set: Fix merge conflicts Created 5 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: content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h
diff --git a/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h b/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h
index 00580e4bbf43c249174b2b381f6b2f08765e4849..2ef2df31c37492ee08de023807e45665aa6d2b43 100644
--- a/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h
+++ b/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h
@@ -72,9 +72,10 @@ class LayoutTestBluetoothAdapterProvider {
// - |GetDeviceID| returns 2.
// - |IsPaired| returns true.
// - |GetUUIDs| returns a list with two UUIDs: "1800" and "1801".
- // - |GetGattServices| returns a list with two services "Generic Access" and
- // "Generic Attribute". "Generic Access" has a "Device Name" characteristic
- // and "Generic Attribute" has a "Service Changed" characteristic.
+ // - |GetGattServices| returns a list with one service "Generic Access".
+ // "Generic Access" has a "Device Name" characteristic, with a value of
+ // "Empty Mock Device Name", and a "Reconnection Address" characteristic
+ // which can't be read.
static scoped_ptr<testing::NiceMock<device::MockBluetoothDevice>>
GetEmptyDevice(device::MockBluetoothAdapter* adapter);

Powered by Google App Engine
This is Rietveld 408576698