bluetooth: Initial simple mock content::WebBluetoothImpl.
commit834f2690d9f30566683e9ac7758357d6fee24856
authorscheib <scheib@chromium.org>
Wed, 5 Nov 2014 23:57:26 +0000 (5 15:57 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 5 Nov 2014 23:57:39 +0000 (5 23:57 +0000)
treeefa6501bc4cc4387b691cb774099a6c3b2bf5a3a
parentd01c70661a5e0076947f4746fc026419675f3fa5
bluetooth: Initial simple mock content::WebBluetoothImpl.

In three patches the initial mock implementation of bluetooth.requestDevice
is implemented across blink & content. This allows layout tests to specify the
data responses the mock implemented in content should return via
testRunner.SetBluetoothMockDataSet and call bluetooth.requestDevice with the
expected results.

crrev.com/650613005 blink::WebBluetooth & WebBluetoothError interfaces.
crrev.com/702593002 content::WebBluetoothImpl & testRunner.SetBluetoothMockDataSet.
crrev.com/686813003 blink::BluetoothDiscovery::requestDevice implemented.

BUG=420284

Review URL: https://codereview.chromium.org/702593002

Cr-Commit-Position: refs/heads/master@{#302910}
12 files changed:
content/child/bluetooth/web_bluetooth_impl.cc [new file with mode: 0644]
content/child/bluetooth/web_bluetooth_impl.h [new file with mode: 0644]
content/content_child.gypi
content/public/test/layouttest_support.h
content/renderer/renderer_blink_platform_impl.cc
content/renderer/renderer_blink_platform_impl.h
content/shell/renderer/layout_test/webkit_test_runner.cc
content/shell/renderer/layout_test/webkit_test_runner.h
content/shell/renderer/test_runner/test_runner.cc
content/shell/renderer/test_runner/test_runner.h
content/shell/renderer/test_runner/web_test_delegate.h
content/test/layouttest_support.cc