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

Unified 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: rebase only 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 side-by-side diff with in-line comments
Download patch
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..9ecdca51c6dcd2f5c59175f4d0a593c58b696140
--- /dev/null
+++ b/chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.cc
@@ -0,0 +1,83 @@
+// Copyright 2014 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 "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
« no previous file with comments | « chrome/browser/extensions/api/bluetooth_socket/bluetooth_socket_api.h ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698