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

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: 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 | « ppapi/api/ppb_websocket.idl ('k') | ppapi/cpp/websocket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_websocket.h
diff --git a/ppapi/c/ppb_websocket.h b/ppapi/c/ppb_websocket.h
index fa8daa44e6a841f5100e069d2fcad0e299b43ef8..64638822e9c61cee6cc3d942cb33e8d00cb53fc1 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 Wed Apr 25 11:48:30 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 a previous call to Close() is
+ * not finished.
*/
int32_t (*Close)(PP_Resource web_socket,
uint16_t code,
« no previous file with comments | « ppapi/api/ppb_websocket.idl ('k') | ppapi/cpp/websocket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698