Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: device/bluetooth/bluetooth_profile.cc

Issue 13862023: Add abstract BluetoothProfile class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add constructor and destructor for Options Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « device/bluetooth/bluetooth_profile.h ('k') | device/bluetooth/test/mock_bluetooth_device.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "device/bluetooth/bluetooth_profile.h"
6
7 #include <string>
8
9 namespace device {
10
11 BluetoothProfile::Options::Options()
12 : channel(0),
13 psm(0),
14 require_authentication(false),
15 require_authorization(false),
16 version(0),
17 features(0) {
18 }
19
20 BluetoothProfile::Options::~Options() {
21
22 }
23
24
25 BluetoothProfile::BluetoothProfile() {
26
27 }
28
29 BluetoothProfile::~BluetoothProfile() {
30
31 }
32
33
34 // static
35 void BluetoothProfile::Register(const std::string& uuid,
36 const Options& options,
37 const ProfileCallback& callback) {
38 // TODO(keybuk): Implement selection of the appropriate BluetoothProfile
39 // subclass just like BluetoothAdapterFactory
40 callback.Run(NULL);
41 }
42
43 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_profile.h ('k') | device/bluetooth/test/mock_bluetooth_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698