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

Side by Side Diff: chrome/common/extensions/api/socket.idl

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updating .idl and .json APIs, HTML intro tables, python files Created 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Use the <code>chrome.socket</code> module to send and receive data over the
6 // network using TCP and UDP connections.
7
8 [availability=24]
5 namespace socket { 9 namespace socket {
6 enum SocketType { 10 enum SocketType {
7 tcp, 11 tcp,
8 udp 12 udp
9 }; 13 };
10 14
11 // The socket options. 15 // The socket options.
12 dictionary CreateOptions { 16 dictionary CreateOptions {
13 }; 17 };
14 18
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // |callback| : Called when the state is available. 250 // |callback| : Called when the state is available.
247 static void getInfo(long socketId, 251 static void getInfo(long socketId,
248 GetInfoCallback callback); 252 GetInfoCallback callback);
249 253
250 // Retrieves information about local adapters on this system. 254 // Retrieves information about local adapters on this system.
251 // |callback| : Called when local adapter information is available. 255 // |callback| : Called when local adapter information is available.
252 static void getNetworkList(GetNetworkCallback callback); 256 static void getNetworkList(GetNetworkCallback callback);
253 }; 257 };
254 258
255 }; 259 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698