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

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

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.h
diff --git a/device/bluetooth/test/mock_bluetooth_advertisement.h b/device/bluetooth/test/mock_bluetooth_advertisement.h
new file mode 100644
index 0000000000000000000000000000000000000000..ddaeef43dd3260890383d0e8c5d43eda1c15df70
--- /dev/null
+++ b/device/bluetooth/test/mock_bluetooth_advertisement.h
@@ -0,0 +1,29 @@
+// 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.
+
+#ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_CHROMEOS_H_
+#define DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_CHROMEOS_H_
+
+#include "base/macros.h"
+#include "device/bluetooth/bluetooth_advertisement.h"
+
+namespace device {
+
+class MockBluetoothAdvertisement : public device::BluetoothAdvertisement {
+ public:
+ MockBluetoothAdvertisement();
+
+ // BluetoothAdvertisement overrides:
+ void Unregister(const SuccessCallback& success_callback,
+ const ErrorCallback& error_callback) override;
+
+ private:
+ ~MockBluetoothAdvertisement() override;
+
+ DISALLOW_COPY_AND_ASSIGN(MockBluetoothAdvertisement);
+};
+
+} // namespace chromeos
+
+#endif // DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_CHROMEOS_H_
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_adapter.cc ('k') | device/bluetooth/test/mock_bluetooth_advertisement.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698