blob: 320979d8eaafc2abdfff6402091d566371b7003f (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
// Copyright (c) 2013 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 "device/bluetooth/bluetooth_profile.h"
#include <string>
namespace device {
BluetoothProfile::Options::Options()
: channel(0),
psm(0),
require_authentication(false),
require_authorization(false),
auto_connect(false),
version(0),
features(0) {
}
BluetoothProfile::Options::~Options() {
}
BluetoothProfile::BluetoothProfile() {
}
BluetoothProfile::~BluetoothProfile() {
}
// static
void BluetoothProfile::Register(const std::string& uuid,
const Options& options,
const ProfileCallback& callback) {
// TODO(keybuk): Implement selection of the appropriate BluetoothProfile
// subclass just like BluetoothAdapterFactory
callback.Run(NULL);
}
} // namespace device
|