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

Unified Diff: ppapi/api/ppb_websocket.idl

Issue 10169036: WebSocket Pepper API: the second Close() should not return error code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix grammar nits Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ppapi/c/ppb_websocket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/ppb_websocket.idl
diff --git a/ppapi/api/ppb_websocket.idl b/ppapi/api/ppb_websocket.idl
index 7ec3e1f699306403c4484ea2a1916fef625c5aa2..1e138bb80b47bf8a405a99177edef010c7321f7d 100644
--- a/ppapi/api/ppb_websocket.idl
+++ b/ppapi/api/ppb_websocket.idl
@@ -269,8 +269,8 @@ interface PPB_WebSocket {
* Returns <code>PP_ERROR_NOACCESS</code> if the code is not an integer
* equal to 1000 or in the range 3000 to 4999. <code>PP_ERROR_NOACCESS</code>
* corresponds to an InvalidAccessError in the WebSocket API specification.
- * Returns <code>PP_ERROR_INPROGRESS</code> if this is not the first call to
- * Close().
+ * Returns <code>PP_ERROR_INPROGRESS</code> if a previous call to Close() is
+ * not finished.
*/
int32_t Close([in] PP_Resource web_socket,
[in] uint16_t code,
« no previous file with comments | « no previous file | ppapi/c/ppb_websocket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698