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

Unified Diff: chrome/common/extensions/api/experimental.dns.json

Issue 9774001: Remove dependence on .json files for IDL-specified extensions/apps APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolved conflicts with head Created 8 years, 9 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/common/common_resources.grd ('k') | chrome/common/extensions/api/extension_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/experimental.dns.json
diff --git a/chrome/common/extensions/api/experimental.dns.json b/chrome/common/extensions/api/experimental.dns.json
deleted file mode 100644
index 2e99d686f23562a38ff939ab3c4c7745bbee0408..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/experimental.dns.json
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2012 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.
-
-[
- {
- "namespace": "experimental.dns",
- "nodoc": true,
- "functions": [
- {
- "name": "resolve",
- "type": "function",
- "description": "Resolves the given hostname or IP address literal.",
- "parameters": [
- {
- "name": "hostname",
- "type": "string",
- "description": "The hostname to resolve."
- },
- {
- "name": "callback",
- "type": "function",
- "description": "Called when the resolution operation completes.",
- "parameters": [
- {
- "type": "object",
- "name": "resolveInfo",
- "properties": {
- "resultCode": {
- "type": "integer",
- "description": "The result code. Zero indicates success."
- },
- "address": {
- "type": "string",
- "description": "A string representing the IP address literal. Supplied only if resultCode indicates success. Note that we presently return only IPv4 addresses.",
- "optional": true
- }
- }
- }
- ]
- }
- ]
- }
- ]
- }
-]
« no previous file with comments | « chrome/common/common_resources.grd ('k') | chrome/common/extensions/api/extension_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698