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

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: Moving logic into availability_data_source Created 7 years, 8 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
5 namespace socket { 8 namespace socket {
6 enum SocketType { 9 enum SocketType {
7 tcp, 10 tcp,
8 udp 11 udp
9 }; 12 };
10 13
11 // The socket options. 14 // The socket options.
12 dictionary CreateOptions { 15 dictionary CreateOptions {
13 }; 16 };
14 17
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // |callback| : Called when the state is available. 249 // |callback| : Called when the state is available.
247 static void getInfo(long socketId, 250 static void getInfo(long socketId,
248 GetInfoCallback callback); 251 GetInfoCallback callback);
249 252
250 // Retrieves information about local adapters on this system. 253 // Retrieves information about local adapters on this system.
251 // |callback| : Called when local adapter information is available. 254 // |callback| : Called when local adapter information is available.
252 static void getNetworkList(GetNetworkCallback callback); 255 static void getNetworkList(GetNetworkCallback callback);
253 }; 256 };
254 257
255 }; 258 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698