Revert "[Bluetooth] Moved checking privileges to JS layer."
authorPiotr Kosko <p.kosko@samsung.com>
Thu, 5 Nov 2015 06:39:05 +0000 (07:39 +0100)
committerPiotr Kosko <p.kosko@samsung.com>
Fri, 4 Dec 2015 11:18:43 +0000 (12:18 +0100)
commit812745b849aa956a5ced3f5e69e77041853e8a97
tree7e64133a5e635e31c87e210c0cf7b951b07ffa62
parent395f3452b1f8d0b9fa7f07768f9fd100b3527b54
Revert "[Bluetooth] Moved checking privileges to JS layer."

This reverts commit 6e2fa04538acf45e71a1d03bc65406057e3af314.

Commit moves also missing privilege checking.
Commit also squashed with
  [Bluetooth] Fixes for checking privileges
  I498c7a9a0eae3236ea71deb119385ae575926bdc

[Verification] Code compiles without errors.

Change-Id: I00e8d529a07df2606f14b74b98820ed4d0587596
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
14 files changed:
src/bluetooth/bluetooth.gyp
src/bluetooth/bluetooth_adapter.cc
src/bluetooth/bluetooth_api.js
src/bluetooth/bluetooth_device.cc
src/bluetooth/bluetooth_gatt_service.cc
src/bluetooth/bluetooth_health_application.cc
src/bluetooth/bluetooth_health_channel.cc
src/bluetooth/bluetooth_health_profile_handler.cc
src/bluetooth/bluetooth_le_adapter.cc
src/bluetooth/bluetooth_le_device.cc
src/bluetooth/bluetooth_privilege.cc [new file with mode: 0644]
src/bluetooth/bluetooth_privilege.h [new file with mode: 0644]
src/bluetooth/bluetooth_service_handler.cc
src/bluetooth/bluetooth_socket.cc