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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/common_resources.grd ('k') | chrome/common/extensions/api/extension_api.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 [
6 {
7 "namespace": "experimental.dns",
8 "nodoc": true,
9 "functions": [
10 {
11 "name": "resolve",
12 "type": "function",
13 "description": "Resolves the given hostname or IP address literal.",
14 "parameters": [
15 {
16 "name": "hostname",
17 "type": "string",
18 "description": "The hostname to resolve."
19 },
20 {
21 "name": "callback",
22 "type": "function",
23 "description": "Called when the resolution operation completes.",
24 "parameters": [
25 {
26 "type": "object",
27 "name": "resolveInfo",
28 "properties": {
29 "resultCode": {
30 "type": "integer",
31 "description": "The result code. Zero indicates success."
32 },
33 "address": {
34 "type": "string",
35 "description": "A string representing the IP address literal . Supplied only if resultCode indicates success. Note that we presently return o nly IPv4 addresses.",
36 "optional": true
37 }
38 }
39 }
40 ]
41 }
42 ]
43 }
44 ]
45 }
46 ]
OLDNEW
« 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