mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Merge branch 'google3'
Change-Id: Ibebf84b98939ee8e5006beedc34d225e8c2dd413
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "core/core.h"
|
||||
@@ -6,9 +5,10 @@
|
||||
#include "core/params.h"
|
||||
#include "core/payload.h"
|
||||
#include "core/status.h"
|
||||
#include "platform/api/platform.h"
|
||||
#include "platform/byte_array.h"
|
||||
#include "platform/file_impl.h"
|
||||
#include "platform/impl/sample/sample_platform.h"
|
||||
#include "platform/impl/shared/sample/sample_wifi_medium.h"
|
||||
#include "platform/port/string.h"
|
||||
#include "platform/ptr.h"
|
||||
|
||||
@@ -16,6 +16,8 @@ namespace location {
|
||||
namespace nearby {
|
||||
namespace connections {
|
||||
|
||||
using TestPlatform = platform::ImplementationPlatform;
|
||||
|
||||
class ResultListenerImpl : public ResultListener {
|
||||
public:
|
||||
void onResult(Status::Value status) override {}
|
||||
@@ -53,7 +55,7 @@ class PayloadListenerImpl : public PayloadListener {
|
||||
};
|
||||
|
||||
void check_compilation() {
|
||||
Core<sample::SamplePlatform> core;
|
||||
Core<TestPlatform> core;
|
||||
|
||||
const string name = "name";
|
||||
const string service_id = "service_id";
|
||||
|
||||
Reference in New Issue
Block a user