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

Side by Side Diff: third_party/chrome/idl/experimental_dns.idl

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
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 [nodoc] namespace experimental.dns {
6
7 dictionary ResolveCallbackResolveInfo {
8 // The result code. Zero indicates success.
9 long resultCode;
10
11 // A string representing the IP address literal. Supplied only if resultCode
12 // indicates success. Note that we presently return only IPv4 addresses.
13 DOMString? address;
14 };
15
16 callback ResolveCallback = void (ResolveCallbackResolveInfo resolveInfo);
17
18 interface Functions {
19 // Resolves the given hostname or IP address literal.
20 // |hostname| : The hostname to resolve.
21 // |callback| : Called when the resolution operation completes.
22 static void resolve(DOMString hostname,
23 ResolveCallback callback);
24 };
25
26 };
OLDNEW
« no previous file with comments | « third_party/chrome/idl/experimental_discovery.idl ('k') | third_party/chrome/idl/experimental_history.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698