Chromium Code Reviews| Index: chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc |
| diff --git a/chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc b/chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..70ea515676866c4217695490e230c99cef4d2724 |
| --- /dev/null |
| +++ b/chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc |
| @@ -0,0 +1,83 @@ |
| +// 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.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.h" |
| + |
| +namespace extensions { |
| +namespace api { |
| + |
| +bool BluetoothSocketCreateFunction::RunImpl() { |
| + // TODO(keybuk): Implement. |
| + SetError("Not yet implemented."); |
| + return false; |
| +} |
| + |
| +bool BluetoothSocketUpdateFunction::RunImpl() { |
| + // TODO(keybuk): Implement. |
| + SetError("Not yet implemented."); |
| + return false; |
| +} |
| + |
| +bool BluetoothSocketSetPausedFunction::RunImpl() { |
| + // TODO(keybuk): Implement. |
| + SetError("Not yet implemented."); |
| + return false; |
| +} |
| + |
| +bool BluetoothSocketListenUsingRfcommFunction::RunImpl() { |
| + // TODO(keybuk): Implement. |
| + SetError("Not yet implemented."); |
| + return false; |
| +} |
| + |
| +bool BluetoothSocketListenUsingInsecureRfcommFunction::RunImpl() { |
| + // TODO(keybuk): Implement. |
| + SetError("Not yet implemented."); |
| + return false; |
| +} |
| + |
| +bool BluetoothSocketListenUsingL2capFunction::RunImpl() { |
| + // TODO(keybuk): Implement. |
| + SetError("Not yet implemented."); |
| + return false; |
| +} |
| + |
| +bool BluetoothSocketConnectFunction::RunImpl() { |
| + // TODO(keybuk): Implement. |
| + SetError("Not yet implemented."); |
| + return false; |
| +} |
| + |
| +bool BluetoothSocketDisconnectFunction::RunImpl() { |
| + // TODO(keybuk): Implement. |
| + SetError("Not yet implemented."); |
| + return false; |
| +} |
| + |
| +bool BluetoothSocketCloseFunction::RunImpl() { |
| + // TODO(keybuk): Implement. |
| + SetError("Not yet implemented."); |
| + return false; |
| +} |
| + |
| +bool BluetoothSocketSendFunction::RunImpl() { |
| + // TODO(keybuk): Implement. |
| + SetError("Not yet implemented."); |
| + return false; |
| +} |
| + |
| +bool BluetoothSocketGetInfoFunction::RunImpl() { |
| + // TODO(keybuk): Implement. |
| + SetError("Not yet implemented."); |
| + return false; |
| +} |
| + |
| +bool BluetoothSocketGetSocketsFunction::RunImpl() { |
| + // TODO(keybuk): Implement. |
| + SetError("Not yet implemented."); |
| + return false; |
| +} |
| + |
| +} // namespace api |
| +} // namespace extensions |