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

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

Issue 9617010: Move chrome.downloads out of experimental to dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 | Annotate | Revision Log
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 // File-level comment to appease parser. Eventually this will not be necessary.
6
7 [nodoc] namespace experimental.socket { 5 [nodoc] namespace experimental.socket {
8 enum SocketType { 6 enum SocketType {
9 tcp, 7 tcp,
10 udp 8 udp
11 }; 9 };
12 10
13 // The socket options. 11 // The socket options.
14 dictionary CreateOptions { 12 dictionary CreateOptions {
15 // The schema generator does not support dictionaries without any fields. 13 // The schema generator does not support dictionaries without any fields.
16 // Ignore this field. 14 // Ignore this field.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // Enable/disable Nagle algorithm. 158 // Enable/disable Nagle algorithm.
161 // |socketId| : The socketId. 159 // |socketId| : The socketId.
162 // |noDelay| : If true, disable Nagle algorithm. 160 // |noDelay| : If true, disable Nagle algorithm.
163 // |callback| : Called when the setNoDelay attempt is complete. 161 // |callback| : Called when the setNoDelay attempt is complete.
164 static void setNoDelay(long socketId, 162 static void setNoDelay(long socketId,
165 boolean noDelay, 163 boolean noDelay,
166 SetNoDelayCallback callback); 164 SetNoDelayCallback callback);
167 }; 165 };
168 166
169 }; 167 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698