| Index: chrome/common/extensions/permissions/api_permission.cc
|
| ===================================================================
|
| --- chrome/common/extensions/permissions/api_permission.cc (revision 170599)
|
| +++ chrome/common/extensions/permissions/api_permission.cc (working copy)
|
| @@ -4,7 +4,6 @@
|
|
|
| #include "chrome/common/extensions/permissions/api_permission.h"
|
|
|
| -#include "chrome/common/extensions/permissions/bluetooth_device_permission.h"
|
| #include "chrome/common/extensions/permissions/permissions_info.h"
|
| #include "chrome/common/extensions/permissions/socket_permission.h"
|
| #include "grit/generated_resources.h"
|
| @@ -117,14 +116,6 @@
|
| return info()->name();
|
| }
|
|
|
| -std::string APIPermission::ToString() const {
|
| - return name();
|
| -}
|
| -
|
| -bool APIPermission::ManifestEntryForbidden() const {
|
| - return false;
|
| -}
|
| -
|
| PermissionMessage APIPermission::GetMessage_() const {
|
| return info()->GetMessage_();
|
| }
|
| @@ -332,9 +323,6 @@
|
| { APIPermission::kBluetooth, "bluetooth", kFlagNone,
|
| IDS_EXTENSION_PROMPT_WARNING_BLUETOOTH,
|
| PermissionMessage::kBluetooth },
|
| - { APIPermission::kBluetoothDevice, "bluetoothDevice",
|
| - kFlagNone, 0, PermissionMessage::kNone,
|
| - &::CreateAPIPermission<BluetoothDevicePermission> },
|
| { APIPermission::kUsb, "usb", kFlagNone,
|
| IDS_EXTENSION_PROMPT_WARNING_USB,
|
| PermissionMessage::kUsb },
|
|
|