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

Side by Side Diff: chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc

Issue 246883003: Introduce chrome.bluetoothSocket API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ambiguity of listen functions Created 6 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
rpaquay 2014/04/22 15:47:55 nit: Copyright 2014
keybuk 2014/04/24 11:46:45 Done.
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 "chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.h"
6
7 namespace extensions {
8 namespace api {
9
10 bool BluetoothSocketCreateFunction::RunImpl() {
11 // TODO(keybuk): Implement.
12 SetError("Not yet implemented.");
13 return false;
14 }
15
16 bool BluetoothSocketUpdateFunction::RunImpl() {
17 // TODO(keybuk): Implement.
18 SetError("Not yet implemented.");
19 return false;
20 }
21
22 bool BluetoothSocketSetPausedFunction::RunImpl() {
23 // TODO(keybuk): Implement.
24 SetError("Not yet implemented.");
25 return false;
26 }
27
28 bool BluetoothSocketListenUsingRfcommFunction::RunImpl() {
29 // TODO(keybuk): Implement.
30 SetError("Not yet implemented.");
31 return false;
32 }
33
34 bool BluetoothSocketListenUsingInsecureRfcommFunction::RunImpl() {
35 // TODO(keybuk): Implement.
36 SetError("Not yet implemented.");
37 return false;
38 }
39
40 bool BluetoothSocketListenUsingL2capFunction::RunImpl() {
41 // TODO(keybuk): Implement.
42 SetError("Not yet implemented.");
43 return false;
44 }
45
46 bool BluetoothSocketConnectFunction::RunImpl() {
47 // TODO(keybuk): Implement.
48 SetError("Not yet implemented.");
49 return false;
50 }
51
52 bool BluetoothSocketDisconnectFunction::RunImpl() {
53 // TODO(keybuk): Implement.
54 SetError("Not yet implemented.");
55 return false;
56 }
57
58 bool BluetoothSocketCloseFunction::RunImpl() {
59 // TODO(keybuk): Implement.
60 SetError("Not yet implemented.");
61 return false;
62 }
63
64 bool BluetoothSocketSendFunction::RunImpl() {
65 // TODO(keybuk): Implement.
66 SetError("Not yet implemented.");
67 return false;
68 }
69
70 bool BluetoothSocketGetInfoFunction::RunImpl() {
71 // TODO(keybuk): Implement.
72 SetError("Not yet implemented.");
73 return false;
74 }
75
76 bool BluetoothSocketGetSocketsFunction::RunImpl() {
77 // TODO(keybuk): Implement.
78 SetError("Not yet implemented.");
79 return false;
80 }
81
82 } // namespace api
83 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698