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

Side by Side Diff: extensions/common/api/_api_features.json

Issue 599303004: Add getUserSelectedDevices to the USB extensions API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add device_permissions_prompt.* to BUILD.gn. Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | extensions/common/api/usb.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This features file defines extension APIs implemented under src/extensions. 5 // This features file defines extension APIs implemented under src/extensions.
6 // See extensions/common/features/* to understand this file, in particular 6 // See extensions/common/features/* to understand this file, in particular
7 // feature.h, simple_feature.h, and base_feature_provider.h. 7 // feature.h, simple_feature.h, and base_feature_provider.h.
8 // 8 //
9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context 9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context
10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc.
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 // preferencesPrivate is the only API that uses types.private. 282 // preferencesPrivate is the only API that uses types.private.
283 // If any other APIs need it then they'll need to be added in 283 // If any other APIs need it then they'll need to be added in
284 // separate rules. 284 // separate rules.
285 "dependencies": ["permission:preferencesPrivate"], 285 "dependencies": ["permission:preferencesPrivate"],
286 "contexts": ["blessed_extension"] 286 "contexts": ["blessed_extension"]
287 }, 287 },
288 "usb": { 288 "usb": {
289 "dependencies": ["permission:usb"], 289 "dependencies": ["permission:usb"],
290 "contexts": ["blessed_extension"] 290 "contexts": ["blessed_extension"]
291 }, 291 },
292 "usb.getUserSelectedDevices": {
293 "channel": "dev",
294 "dependencies": ["permission:usb"],
295 "contexts": ["blessed_extension"]
296 },
292 "webRequest": { 297 "webRequest": {
293 "dependencies": ["permission:webRequest"], 298 "dependencies": ["permission:webRequest"],
294 "contexts": ["blessed_extension"] 299 "contexts": ["blessed_extension"]
295 }, 300 },
296 "webRequestInternal": [{ 301 "webRequestInternal": [{
297 "internal": true, 302 "internal": true,
298 "channel": "stable", 303 "channel": "stable",
299 "contexts": ["blessed_extension"] 304 "contexts": ["blessed_extension"]
300 }, { 305 }, {
301 // webview uses webRequestInternal API. 306 // webview uses webRequestInternal API.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 }], 339 }],
335 "webViewRequest": [{ 340 "webViewRequest": [{
336 "dependencies": ["permission:webview"], 341 "dependencies": ["permission:webview"],
337 "contexts": ["blessed_extension"] 342 "contexts": ["blessed_extension"]
338 }, { 343 }, {
339 "channel": "stable", 344 "channel": "stable",
340 "contexts": ["webui"], 345 "contexts": ["webui"],
341 "matches": ["chrome://chrome-signin/*"] 346 "matches": ["chrome://chrome-signin/*"]
342 }] 347 }]
343 } 348 }
OLDNEW
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | extensions/common/api/usb.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698