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

Unified Diff: extensions/common/api/_api_features.json

Issue 246423002: Split feature definitions into extensions and chrome features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: repack2 Created 6 years, 8 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 | « chrome/renderer/extensions/dispatcher.cc ('k') | extensions/common/api/_manifest_features.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/api/_api_features.json
diff --git a/extensions/common/api/_api_features.json b/extensions/common/api/_api_features.json
new file mode 100644
index 0000000000000000000000000000000000000000..cae93b142ae4520b667ccd70a491088abffbd2a6
--- /dev/null
+++ b/extensions/common/api/_api_features.json
@@ -0,0 +1,43 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This features file defines extension APIs implemented under src/extensions.
+// See extensions/common/features/* to understand this file, in particular
+// feature.h, simple_feature.h, and base_feature_provider.h.
+//
+// Note that specifying "web_page", "blessed_web_page", or "all" as a context
+// type will require manually updating chrome/renderer/resources/dispatcher.cc.
+
+{
+ "dns": {
+ "dependencies": ["permission:dns"],
+ "contexts": ["blessed_extension"]
+ },
+ "socket": {
+ "dependencies": ["permission:socket"],
+ "contexts": ["blessed_extension"]
+ },
+ "sockets.tcp": {
+ "dependencies": ["manifest:sockets"],
+ "contexts": ["blessed_extension"]
+ },
+ "sockets.tcpServer": {
+ "dependencies": ["manifest:sockets"],
+ "contexts": ["blessed_extension"]
+ },
+ "sockets.udp": {
+ "dependencies": ["manifest:sockets"],
+ "contexts": ["blessed_extension"]
+ },
+ "storage": {
+ "dependencies": ["permission:storage"],
+ "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
+ },
+ "test": {
+ "internal": true,
+ "channel": "stable",
+ "extension_types": "all",
+ "contexts": ["blessed_extension", "unblessed_extension", "content_script"]
+ }
+}
« no previous file with comments | « chrome/renderer/extensions/dispatcher.cc ('k') | extensions/common/api/_manifest_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698