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

Unified Diff: device/bluetooth/test/mock_bluetooth_advertisement.cc

Issue 1132173002: Implement the advertising functions for the BLE API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/mock_bluetooth_advertisement.cc
diff --git a/device/bluetooth/test/mock_bluetooth_advertisement.cc b/device/bluetooth/test/mock_bluetooth_advertisement.cc
new file mode 100644
index 0000000000000000000000000000000000000000..ddba5166a87947be208f2ef087773db302323603
--- /dev/null
+++ b/device/bluetooth/test/mock_bluetooth_advertisement.cc
@@ -0,0 +1,21 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "device/bluetooth/test/mock_bluetooth_advertisement.h"
+
+namespace device {
+
+MockBluetoothAdvertisement::MockBluetoothAdvertisement() {
+}
+
+MockBluetoothAdvertisement::~MockBluetoothAdvertisement() {
+}
+
+void MockBluetoothAdvertisement::Unregister(
+ const SuccessCallback& success_callback,
+ const ErrorCallback& error_callback) {
+ success_callback.Run();
+}
+
+} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698