summaryrefslogtreecommitdiffstats
path: root/device/bluetooth/bluetooth_adapter_unittest.cc
diff options
context:
space:
mode:
authorspang <spang@chromium.org>2015-04-27 15:18:13 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-27 22:18:14 +0000
commit28bc6bec94e67f23a6a9a16490e6bdf721cf6b27 (patch)
tree236e6a20f6fc445475ce12bd5253b64bf10f244d /device/bluetooth/bluetooth_adapter_unittest.cc
parent80b796a8539bf302d4d4aa420356d0f8c0d46063 (diff)
downloadchromium_src-28bc6bec94e67f23a6a9a16490e6bdf721cf6b27.zip
chromium_src-28bc6bec94e67f23a6a9a16490e6bdf721cf6b27.tar.gz
chromium_src-28bc6bec94e67f23a6a9a16490e6bdf721cf6b27.tar.bz2
Revert of Add CPP API for BLE advertisments. (patchset #12 id:220001 of https://codereview.chromium.org/1054743003/)
Reason for revert: Breaks component=shared_library build (missing export?) ../../device/bluetooth/bluetooth_adapter_chromeos.cc:321: error: undefined reference to 'chromeos::BluetoothAdvertisementChromeOS::BluetoothAdvertisementChromeOS(scoped_ptr<device::BluetoothAdvertisement::Data, base::DefaultDeleter<device::BluetoothAdvertisement::Data> >, scoped_refptr<chromeos::BluetoothAdapterChromeOS>)' ../../base/memory/scoped_ptr.h:128: error: undefined reference to 'device::BluetoothAdvertisement::Data::~Data()' ../../device/bluetooth/bluetooth_adapter_chromeos.cc:322: error: undefined reference to 'chromeos::BluetoothAdvertisementChromeOS::Register(base::Callback<void ()> const&, base::Callback<void (device::BluetoothAdvertisement::ErrorCode)> const&)' obj/device/bluetooth/device_bluetooth.bluetooth_adapter_chromeos.o(.debug_addr+0x6f20): error: undefined reference to 'chromeos::BluetoothAdvertisementChromeOS::Register(base::Callback<void ()> const&, base::Callback<void (device::BluetoothAdvertisement::ErrorCode)> const&)' Original issue's description: > Add CPP API for BLE advertisments. > > This CL adds the new classes, changes to existing classes and tests for adding > the CPP API for LE advertisements. The design for this is available at > http://go/chrome-ble-advertising. > > R=armansito@chromium.org, jamuraa@chromium.org > BUG=466375 > > Committed: https://crrev.com/c96da18077ef4b5ab28cb8b2684cd84386075e5a > Cr-Commit-Position: refs/heads/master@{#327128} TBR=armansito@chromium.org,jamuraa@chromium.org,scheib@chromium.org,rkc@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=466375 Review URL: https://codereview.chromium.org/1111563002 Cr-Commit-Position: refs/heads/master@{#327155}
Diffstat (limited to 'device/bluetooth/bluetooth_adapter_unittest.cc')
-rw-r--r--device/bluetooth/bluetooth_adapter_unittest.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/device/bluetooth/bluetooth_adapter_unittest.cc b/device/bluetooth/bluetooth_adapter_unittest.cc
index 15a09e1..c028b97 100644
--- a/device/bluetooth/bluetooth_adapter_unittest.cc
+++ b/device/bluetooth/bluetooth_adapter_unittest.cc
@@ -71,11 +71,6 @@ class TestBluetoothAdapter : public BluetoothAdapter {
const AcquiredCallback& callback,
const BluetoothAudioSink::ErrorCallback& error_callback) override {}
- void RegisterAdvertisement(
- scoped_ptr<BluetoothAdvertisement::Data> advertisement_data,
- const CreateAdvertisementCallback& callback,
- const CreateAdvertisementErrorCallback& error_callback) override {}
-
void TestErrorCallback() {}
ScopedVector<BluetoothDiscoverySession> discovery_sessions_;