| Index: chrome/common/extensions/permissions/bluetooth_permission.cc
|
| ===================================================================
|
| --- chrome/common/extensions/permissions/bluetooth_permission.cc (revision 247036)
|
| +++ chrome/common/extensions/permissions/bluetooth_permission.cc (working copy)
|
| @@ -25,7 +25,8 @@
|
| BluetoothPermission::~BluetoothPermission() {
|
| }
|
|
|
| -bool BluetoothPermission::FromValue(const base::Value* value) {
|
| +bool BluetoothPermission::FromValue(const base::Value* value,
|
| + std::string* error) {
|
| // Value may be omitted to gain access to non-profile functions.
|
| if (!value)
|
| return true;
|
| @@ -36,7 +37,7 @@
|
| return true;
|
|
|
| if (!SetDisjunctionPermission<BluetoothPermissionData,
|
| - BluetoothPermission>::FromValue(value)) {
|
| + BluetoothPermission>::FromValue(value, error)) {
|
| return false;
|
| }
|
|
|
|
|