bluetooth: Implement FailingConnectionsAdapter.
commitdc2e5b370019a1437f4ea4deba6cf27eccaf3c0c
authorortuno <ortuno@chromium.org>
Wed, 22 Jul 2015 23:28:52 +0000 (22 16:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 22 Jul 2015 23:29:49 +0000 (22 23:29 +0000)
tree10d1da8414216bd2d72fce583066463b3491f309
parent1aebad8e98f81e7500647270861a891c2e2634ea
bluetooth: Implement FailingConnectionsAdapter.

Also implement UnconnectableDevice. Used for testing that the platform handles
all connection errors successfully.

Design doc: https://docs.google.com/document/d/1_QsBzcc84SwF7oaBWbO8rBzn39MISQ3w-6QM9hk0L3E/edit?usp=sharing

Three sided patch since we have to remove the old adapter after we modify tests:

 [1] This patch.
 [2] Add unconnectable device tests and remove old tests. (http://crrev.com/1244973002)
 [3] Remove old UnconnectableDeviceAdapter. (http://crrev.com/1243803002)

BUG=499552

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

Cr-Commit-Position: refs/heads/master@{#339983}
content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc
content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h