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

Unified Diff: ppapi/cpp/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/cpp/websocket.h
diff --git a/ppapi/cpp/websocket.h b/ppapi/cpp/websocket.h
index 8a4d6f45c14da846a0e05cff998bd61e338e5bf6..ddace2d88033b420b4aab4b107582699331202d3 100644
--- a/ppapi/cpp/websocket.h
+++ b/ppapi/cpp/websocket.h
@@ -94,7 +94,7 @@ class WebSocket : public Resource {
/// 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().
+ /// if previous call to Close() is not finished.
dmichael (off chromium) 2012/04/24 20:10:14 "a" previous ?
Takashi Toyoshima 2012/04/25 02:53:30 Done.
int32_t Close(uint16_t code, const Var& reason,
const CompletionCallback& callback);

Powered by Google App Engine
This is Rietveld 408576698