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"] |
+ } |
+} |