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

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: add trailing newlines in generated files, and ran docs generation (changes are unrelated to my patc… 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
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
- }
- }
- }
- ]
- }
- ]
- }
- ]
- }
-]

Powered by Google App Engine
This is Rietveld 408576698