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

Unified Diff: chrome/common/extensions/permissions/api_permission.cc

Issue 11348335: Revert 170514 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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/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 },
« no previous file with comments | « chrome/common/extensions/permissions/api_permission.h ('k') | chrome/common/extensions/permissions/api_permission_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698