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

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: Addressing comments - Patch currently being broken up Created 7 years, 6 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
« no previous file with comments | « chrome/common/extensions/api/serial.idl ('k') | chrome/common/extensions/api/storage.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
5 namespace socket { 7 namespace socket {
6 enum SocketType { 8 enum SocketType {
7 tcp, 9 tcp,
8 udp 10 udp
9 }; 11 };
10 12
11 // The socket options. 13 // The socket options.
12 dictionary CreateOptions { 14 dictionary CreateOptions {
13 }; 15 };
14 16
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 SetMulticastLoopbackModeCallback callback); 325 SetMulticastLoopbackModeCallback callback);
324 326
325 // Get the multicast group addresses the socket is currently joined to. 327 // Get the multicast group addresses the socket is currently joined to.
326 // |socketId| : The socketId. 328 // |socketId| : The socketId.
327 // |callback| : Called with an array of strings of the result. 329 // |callback| : Called with an array of strings of the result.
328 static void getJoinedGroups(long socketId, 330 static void getJoinedGroups(long socketId,
329 GetJoinedGroupsCallback callback); 331 GetJoinedGroupsCallback callback);
330 }; 332 };
331 333
332 }; 334 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/serial.idl ('k') | chrome/common/extensions/api/storage.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698