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

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

Issue 463493006: Add chrome.usbPrivate API for use by USB device WEBUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a gadget-based test for string descriptor caching. Created 6 years, 4 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
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 "contexts": ["blessed_extension"] 143 "contexts": ["blessed_extension"]
144 }, 144 },
145 "types.private": { 145 "types.private": {
146 "channel": "dev", 146 "channel": "dev",
147 "extension_types": ["extension"], 147 "extension_types": ["extension"],
148 "location": "component" 148 "location": "component"
149 }, 149 },
150 "usb": { 150 "usb": {
151 "dependencies": ["permission:usb"], 151 "dependencies": ["permission:usb"],
152 "contexts": ["blessed_extension"] 152 "contexts": ["blessed_extension"]
153 },
154 "usbPrivate": {
155 "channel": "dev",
156 "contexts": ["webui"]
153 } 157 }
154 } 158 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698