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

Unified Diff: chrome/common/extensions/docs/templates/articles/app_hardware.html

Issue 13947050: Stop forcing optional permission on usbDevices section (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove APIPermissionInfo::kFlagMustBeOptional and related tests. Created 7 years, 7 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
« no previous file with comments | « no previous file | chrome/common/extensions/permissions/api_permission.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/templates/articles/app_hardware.html
diff --git a/chrome/common/extensions/docs/templates/articles/app_hardware.html b/chrome/common/extensions/docs/templates/articles/app_hardware.html
index 10db5ca2f686bcc5b2139023fa9dbe4eefd81e9f..a338e7d053571ef181255b122c59b03ea18f798b 100644
--- a/chrome/common/extensions/docs/templates/articles/app_hardware.html
+++ b/chrome/common/extensions/docs/templates/articles/app_hardware.html
@@ -64,11 +64,9 @@ chrome.usb.findDevices(FindDeviceOptions, callback)
<td>FindDeviceOptions (object)</td>
<td>An object specifying both a <code>vendorId</code> (long) and
<code>productId</code> (long) used to find the correct type of device on
- the bus. Before calling this, your extension manifest must declare the
- <code>optional_permissons</code> with a <code>usbDevices</code>
- section containing the same <code>vendorId</code> and
- <code>deviceId</code> combination and must have received user consent
- via <code>chrome.permissions.request(...)</code>.
+ the bus. Your manifest must declare the<code>usbDevices</code> permission
+ section listing all the <code>vendorId</code> and
+ <code>deviceId</code> pairs your app wants to access.
</td>
</tr>
<tr>
« no previous file with comments | « no previous file | chrome/common/extensions/permissions/api_permission.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698