summaryrefslogtreecommitdiffstats
path: root/components/proximity_auth/bluetooth_util.cc
blob: 27b377c3b5dc2f3a22e2644e8d949f5465f2e0a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2014 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.

#if !defined(OS_CHROMEOS)

#include "components/proximity_auth/bluetooth_util.h"

#include "base/callback.h"

namespace proximity_auth {
namespace bluetooth_util {
namespace {
const char kApiUnavailable[] = "This API is not implemented on this platform.";
}  // namespace

void SeekDeviceByAddress(const std::string& device_address,
                         const base::Closure& callback,
                         const ErrorCallback& error_callback,
                         base::TaskRunner* task_runner) {
  error_callback.Run(kApiUnavailable);
}

}  // namespace bluetooth_util
}  // namespace proximity_auth

#endif  // !defined(OS_CHROMEOS)