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

Side by Side Diff: chrome/common/extensions/api/experimental.dns.idl

Issue 10272021: Files generated by the JSON schema compiler are named incorrectly (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor changes Created 8 years, 7 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
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 // File-level comment to appease parser. Eventually this will not be necessary.
6
7 [nodoc] namespace experimental.dns {
8
9 dictionary ResolveCallbackResolveInfo {
10 // The result code. Zero indicates success.
11 long resultCode;
12
13 // A string representing the IP address literal. Supplied only if resultCode
14 // indicates success. Note that we presently return only IPv4 addresses.
15 DOMString? address;
16 };
17
18 callback ResolveCallback = void (ResolveCallbackResolveInfo resolveInfo);
19
20 interface Functions {
21 // Resolves the given hostname or IP address literal.
22 // |hostname| : The hostname to resolve.
23 // |callback| : Called when the resolution operation completes.
24 static void resolve(DOMString hostname,
25 ResolveCallback callback);
26 };
27
28 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698