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

Unified Diff: components/proximity_auth/ble/bluetooth_low_energy_weave_channel.cc

Issue 2183523006: Chrome OS uWeave Characteristics Server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@migration
Patch Set: added channel Created 4 years, 4 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: components/proximity_auth/ble/bluetooth_low_energy_weave_channel.cc
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_weave_channel.cc b/components/proximity_auth/ble/bluetooth_low_energy_weave_channel.cc
new file mode 100644
index 0000000000000000000000000000000000000000..92a81bc7664936a58fd2b1e0b077fa7ae67fb4e4
--- /dev/null
+++ b/components/proximity_auth/ble/bluetooth_low_energy_weave_channel.cc
@@ -0,0 +1,28 @@
+// Copyright 2016 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 "components/proximity_auth/ble/bluetooth_low_energy_weave_channel.h"
+
+namespace proximity_auth {
+namespace weave {
+
+BluetoothLowEnergyWeaveChannel::BluetoothLowEnergyWeaveChannel(
+ const device::BluetoothDevice* bluetooth_device,
+ base::WeakPtr<BluetoothLocalGattCharacteristic> rx_characteristic) {}
+
+BluetoothLowEnergyWeaveChannel::~BluetoothLowEnergyWeaveChannel() {}
+
+void BluetoothLowEnergyWeaveChannel::RegisterObserver(
+ std::shared_ptr<BluetoothLowEnergyWeaveChannel::Observer> observer) {
+ observers_.push_back(observer);
+}
+
+std::shared_ptr<BluetoothLowEnergyWeaveServerConnection>
+BluetoothLowEnergyWeaveChannel::GetServerConnection() {
+ return std::shared_ptr<BluetoothLowEnergyWeaveServerConnection>(nullptr);
+}
+
+} // namespace weave
+
+} // namespace proximity_auth

Powered by Google App Engine
This is Rietveld 408576698