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

Side by Side Diff: ppapi/api/ppb_websocket.idl

Issue 9619021: WebSocket Pepper API: Implement extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for the final review (revised) Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/c/ppb_websocket.h » ('j') | ppapi/tests/test_websocket.cc » ('J')
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 5
6 /** 6 /**
7 * This file defines the <code>PPB_WebSocket</code> interface providing 7 * This file defines the <code>PPB_WebSocket</code> interface providing
8 * bi-directional, full-duplex, communications over a single TCP socket. 8 * bi-directional, full-duplex, communications over a single TCP socket.
9 */ 9 */
10 label Chrome { 10 label Chrome {
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 /** 384 /**
385 * GetExtensions() returns the extensions selected by the server for the 385 * GetExtensions() returns the extensions selected by the server for the
386 * specified WebSocket connection. 386 * specified WebSocket connection.
387 * 387 *
388 * @param[in] web_socket A <code>PP_Resource</code> corresponding to a 388 * @param[in] web_socket A <code>PP_Resource</code> corresponding to a
389 * WebSocket. 389 * WebSocket.
390 * 390 *
391 * @return Returns a <code>PP_VARTYPE_STRING</code> var. If called before the 391 * @return Returns a <code>PP_VARTYPE_STRING</code> var. If called before the
392 * connection is established, the var's data is an empty string. Returns a 392 * connection is established, the var's data is an empty string. Returns a
393 * <code>PP_VARTYPE_UNDEFINED</code> if called on an invalid resource. 393 * <code>PP_VARTYPE_UNDEFINED</code> if called on an invalid resource.
394 * Currently the var's data for valid resources are always an empty string.
395 */ 394 */
396 PP_Var GetExtensions([in] PP_Resource web_socket); 395 PP_Var GetExtensions([in] PP_Resource web_socket);
397 396
398 /** 397 /**
399 * GetProtocol() returns the sub-protocol chosen by the server for the 398 * GetProtocol() returns the sub-protocol chosen by the server for the
400 * specified WebSocket connection. 399 * specified WebSocket connection.
401 * 400 *
402 * @param[in] web_socket A <code>PP_Resource</code> corresponding to a 401 * @param[in] web_socket A <code>PP_Resource</code> corresponding to a
403 * WebSocket. 402 * WebSocket.
404 * 403 *
(...skipping 22 matching lines...) Expand all
427 * @param[in] web_socket A <code>PP_Resource</code> corresponding to a 426 * @param[in] web_socket A <code>PP_Resource</code> corresponding to a
428 * WebSocket. 427 * WebSocket.
429 * 428 *
430 * @return Returns a <code>PP_VARTYPE_STRING</code> var. If called before the 429 * @return Returns a <code>PP_VARTYPE_STRING</code> var. If called before the
431 * connection is established, the var contains the empty string. Returns a 430 * connection is established, the var contains the empty string. Returns a
432 * <code>PP_VARTYPE_UNDEFINED</code> if this function is called on an 431 * <code>PP_VARTYPE_UNDEFINED</code> if this function is called on an
433 * invalid resource. 432 * invalid resource.
434 */ 433 */
435 PP_Var GetURL([in] PP_Resource web_socket); 434 PP_Var GetURL([in] PP_Resource web_socket);
436 }; 435 };
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/ppb_websocket.h » ('j') | ppapi/tests/test_websocket.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698