summaryrefslogtreecommitdiff
path: root/chromium/device/bluetooth/bluetooth_adapter_stub.cc
blob: fc62f95a54aa97b0f31f22d1a0bba06d159aa2bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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.

#include "base/memory/weak_ptr.h"
#include "device/bluetooth/bluetooth_adapter.h"

namespace device {

// Return a null ptr. Link this when there is no suitable BluetoothAdapter for
// a particular platform.
// static
base::WeakPtr<BluetoothAdapter> BluetoothAdapter::CreateAdapter(
    const InitCallback& init_callback) {
  return base::WeakPtr<BluetoothAdapter>();
}

}  // namespace device