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

Unified Diff: ppapi/c/ppb_websocket.h

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: 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
Index: ppapi/c/ppb_websocket.h
diff --git a/ppapi/c/ppb_websocket.h b/ppapi/c/ppb_websocket.h
index fa8daa44e6a841f5100e069d2fcad0e299b43ef8..ab250e102655b140480e1f3e0f937d97bff84c74 100644
--- a/ppapi/c/ppb_websocket.h
+++ b/ppapi/c/ppb_websocket.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_websocket.idl modified Mon Mar 26 09:51:15 2012. */
+/* From ppb_websocket.idl modified Mon Apr 23 21:31:03 2012. */
#ifndef PPAPI_C_PPB_WEBSOCKET_H_
#define PPAPI_C_PPB_WEBSOCKET_H_
@@ -271,8 +271,8 @@ struct PPB_WebSocket_1_0 {
* 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 previous call to Close() is
+ * not finished.
*/
int32_t (*Close)(PP_Resource web_socket,
uint16_t code,

Powered by Google App Engine
This is Rietveld 408576698