OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.h" | 5 #include "chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 namespace api { | 8 namespace api { |
9 | 9 |
10 bool BluetoothSocketCreateFunction::RunImpl() { | 10 bool BluetoothSocketCreateFunction::RunAsync() { |
11 // TODO(keybuk): Implement. | 11 // TODO(keybuk): Implement. |
12 SetError("Not yet implemented."); | 12 SetError("Not yet implemented."); |
13 return false; | 13 return false; |
14 } | 14 } |
15 | 15 |
16 bool BluetoothSocketUpdateFunction::RunImpl() { | 16 bool BluetoothSocketUpdateFunction::RunAsync() { |
17 // TODO(keybuk): Implement. | 17 // TODO(keybuk): Implement. |
18 SetError("Not yet implemented."); | 18 SetError("Not yet implemented."); |
19 return false; | 19 return false; |
20 } | 20 } |
21 | 21 |
22 bool BluetoothSocketSetPausedFunction::RunImpl() { | 22 bool BluetoothSocketSetPausedFunction::RunAsync() { |
23 // TODO(keybuk): Implement. | 23 // TODO(keybuk): Implement. |
24 SetError("Not yet implemented."); | 24 SetError("Not yet implemented."); |
25 return false; | 25 return false; |
26 } | 26 } |
27 | 27 |
28 bool BluetoothSocketListenUsingRfcommFunction::RunImpl() { | 28 bool BluetoothSocketListenUsingRfcommFunction::RunAsync() { |
29 // TODO(keybuk): Implement. | 29 // TODO(keybuk): Implement. |
30 SetError("Not yet implemented."); | 30 SetError("Not yet implemented."); |
31 return false; | 31 return false; |
32 } | 32 } |
33 | 33 |
34 bool BluetoothSocketListenUsingInsecureRfcommFunction::RunImpl() { | 34 bool BluetoothSocketListenUsingInsecureRfcommFunction::RunAsync() { |
35 // TODO(keybuk): Implement. | 35 // TODO(keybuk): Implement. |
36 SetError("Not yet implemented."); | 36 SetError("Not yet implemented."); |
37 return false; | 37 return false; |
38 } | 38 } |
39 | 39 |
40 bool BluetoothSocketListenUsingL2capFunction::RunImpl() { | 40 bool BluetoothSocketListenUsingL2capFunction::RunAsync() { |
41 // TODO(keybuk): Implement. | 41 // TODO(keybuk): Implement. |
42 SetError("Not yet implemented."); | 42 SetError("Not yet implemented."); |
43 return false; | 43 return false; |
44 } | 44 } |
45 | 45 |
46 bool BluetoothSocketConnectFunction::RunImpl() { | 46 bool BluetoothSocketConnectFunction::RunAsync() { |
47 // TODO(keybuk): Implement. | 47 // TODO(keybuk): Implement. |
48 SetError("Not yet implemented."); | 48 SetError("Not yet implemented."); |
49 return false; | 49 return false; |
50 } | 50 } |
51 | 51 |
52 bool BluetoothSocketDisconnectFunction::RunImpl() { | 52 bool BluetoothSocketDisconnectFunction::RunAsync() { |
53 // TODO(keybuk): Implement. | 53 // TODO(keybuk): Implement. |
54 SetError("Not yet implemented."); | 54 SetError("Not yet implemented."); |
55 return false; | 55 return false; |
56 } | 56 } |
57 | 57 |
58 bool BluetoothSocketCloseFunction::RunImpl() { | 58 bool BluetoothSocketCloseFunction::RunAsync() { |
59 // TODO(keybuk): Implement. | 59 // TODO(keybuk): Implement. |
60 SetError("Not yet implemented."); | 60 SetError("Not yet implemented."); |
61 return false; | 61 return false; |
62 } | 62 } |
63 | 63 |
64 bool BluetoothSocketSendFunction::RunImpl() { | 64 bool BluetoothSocketSendFunction::RunAsync() { |
65 // TODO(keybuk): Implement. | 65 // TODO(keybuk): Implement. |
66 SetError("Not yet implemented."); | 66 SetError("Not yet implemented."); |
67 return false; | 67 return false; |
68 } | 68 } |
69 | 69 |
70 bool BluetoothSocketGetInfoFunction::RunImpl() { | 70 bool BluetoothSocketGetInfoFunction::RunAsync() { |
71 // TODO(keybuk): Implement. | 71 // TODO(keybuk): Implement. |
72 SetError("Not yet implemented."); | 72 SetError("Not yet implemented."); |
73 return false; | 73 return false; |
74 } | 74 } |
75 | 75 |
76 bool BluetoothSocketGetSocketsFunction::RunImpl() { | 76 bool BluetoothSocketGetSocketsFunction::RunAsync() { |
77 // TODO(keybuk): Implement. | 77 // TODO(keybuk): Implement. |
78 SetError("Not yet implemented."); | 78 SetError("Not yet implemented."); |
79 return false; | 79 return false; |
80 } | 80 } |
81 | 81 |
82 } // namespace api | 82 } // namespace api |
83 } // namespace extensions | 83 } // namespace extensions |
OLD | NEW |