mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Roll forward to cl/314747126
Signed-off-by: Alexey Polyudov <apolyudov@google.com> Change-Id: Ie19e006429b138b3768e97dae971a43fdc5ef8bf
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "core/internal/base_endpoint_channel.h"
|
||||
#include "core/internal/medium_manager.h"
|
||||
#include "platform/api/bluetooth_classic.h"
|
||||
#include "platform/api/platform.h"
|
||||
#include "platform/port/string.h"
|
||||
#include "platform/ptr.h"
|
||||
#include "proto/connections_enums.pb.h"
|
||||
@@ -26,13 +27,14 @@ namespace location {
|
||||
namespace nearby {
|
||||
namespace connections {
|
||||
|
||||
template <typename Platform>
|
||||
class BluetoothEndpointChannel : public BaseEndpointChannel<Platform> {
|
||||
class BluetoothEndpointChannel : public BaseEndpointChannel {
|
||||
public:
|
||||
static Ptr<BluetoothEndpointChannel<Platform> > createOutgoing(
|
||||
using Platform = platform::ImplementationPlatform;
|
||||
|
||||
static Ptr<BluetoothEndpointChannel> createOutgoing(
|
||||
Ptr<MediumManager<Platform> > medium_manager, const string& channel_name,
|
||||
Ptr<BluetoothSocket> bluetooth_socket);
|
||||
static Ptr<BluetoothEndpointChannel<Platform> > createIncoming(
|
||||
static Ptr<BluetoothEndpointChannel> createIncoming(
|
||||
Ptr<MediumManager<Platform> > medium_manager, const string& channel_name,
|
||||
Ptr<BluetoothSocket> bluetooth_socket);
|
||||
|
||||
@@ -54,6 +56,4 @@ class BluetoothEndpointChannel : public BaseEndpointChannel<Platform> {
|
||||
} // namespace nearby
|
||||
} // namespace location
|
||||
|
||||
#include "core/internal/bluetooth_endpoint_channel.cc"
|
||||
|
||||
#endif // CORE_INTERNAL_BLUETOOTH_ENDPOINT_CHANNEL_H_
|
||||
|
||||
Reference in New Issue
Block a user