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

Unified Diff: ppapi/thunk/ppb_websocket_thunk.cc

Issue 10332138: WebSocket Pepper API: allow to close connection without code and reason (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: uint16_t -> enum Created 8 years, 7 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/thunk/ppb_websocket_thunk.cc
diff --git a/ppapi/thunk/ppb_websocket_thunk.cc b/ppapi/thunk/ppb_websocket_thunk.cc
index e83293ca4361da94aef94d4fec2df8ebb1ac4e26..8201cc4dab2bf2c9ff5dccefb875ed9ac7190449 100644
--- a/ppapi/thunk/ppb_websocket_thunk.cc
+++ b/ppapi/thunk/ppb_websocket_thunk.cc
@@ -41,7 +41,7 @@ int32_t Connect(PP_Resource resource,
}
int32_t Close(PP_Resource resource,
- uint16_t code,
+ PP_WebSocketStatusCode code,
PP_Var reason,
PP_CompletionCallback callback) {
EnterWebSocket enter(resource, callback, false);

Powered by Google App Engine
This is Rietveld 408576698