Index: chrome/common/extensions/permissions/bluetooth_permission.h |
diff --git a/chrome/common/extensions/permissions/bluetooth_permission.h b/chrome/common/extensions/permissions/bluetooth_permission.h |
deleted file mode 100644 |
index 8d0c009829edef41a57310d3df064d06fa500bab..0000000000000000000000000000000000000000 |
--- a/chrome/common/extensions/permissions/bluetooth_permission.h |
+++ /dev/null |
@@ -1,44 +0,0 @@ |
-// Copyright 2013 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. |
- |
-#ifndef CHROME_COMMON_EXTENSIONS_PERMISSIONS_BLUETOOTH_PERMISSION_H_ |
-#define CHROME_COMMON_EXTENSIONS_PERMISSIONS_BLUETOOTH_PERMISSION_H_ |
- |
-#include <string> |
- |
-#include "chrome/common/extensions/permissions/bluetooth_permission_data.h" |
-#include "chrome/common/extensions/permissions/set_disjunction_permission.h" |
-#include "extensions/common/permissions/api_permission.h" |
- |
-namespace extensions { |
- |
-// BluetoothPermission represents the permission to implement a specific |
-// Bluetooth Profile. |
-class BluetoothPermission |
- : public SetDisjunctionPermission<BluetoothPermissionData, |
- BluetoothPermission> { |
- public: |
- // A Bluetooth profile uuid that should be checked for permission to access. |
- struct CheckParam : APIPermission::CheckParam { |
- explicit CheckParam(std::string uuid) |
- : uuid(uuid) {} |
- const std::string uuid; |
- }; |
- |
- explicit BluetoothPermission(const APIPermissionInfo* info); |
- virtual ~BluetoothPermission(); |
- |
- // SetDisjunctionPermission overrides. |
- // BluetoothPermission permits an empty list for gaining permission to the |
- // Bluetooth APIs without implementing a profile. |
- virtual bool FromValue(const base::Value* value, |
- std::string* error) OVERRIDE; |
- |
- // APIPermission overrides |
- virtual PermissionMessages GetMessages() const OVERRIDE; |
-}; |
- |
-} // namespace extensions |
- |
-#endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_BLUETOOTH_PERMISSION_H_ |