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

Unified Diff: chrome/common/extensions/permissions/bluetooth_permission.h

Issue 141743005: Extensions: Make it possible for permission parsing code to return a detailed error message. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 months 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/bluetooth_permission.h
===================================================================
--- chrome/common/extensions/permissions/bluetooth_permission.h (revision 247036)
+++ chrome/common/extensions/permissions/bluetooth_permission.h (working copy)
@@ -32,7 +32,8 @@
// 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) OVERRIDE;
+ virtual bool FromValue(const base::Value* value,
+ std::string* error) OVERRIDE;
// APIPermission overrides
virtual PermissionMessages GetMessages() const OVERRIDE;
« no previous file with comments | « chrome/browser/extensions/extension_prefs_unittest.cc ('k') | chrome/common/extensions/permissions/bluetooth_permission.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698