| Index: content/common/websocket.h
|
| diff --git a/content/common/websocket.h b/content/common/websocket.h
|
| index 324e9a100d489b3045780cdf79f9c7ea35affe1e..53fd52e2dab2fad2a8561e4fddeef60f42727d0c 100644
|
| --- a/content/common/websocket.h
|
| +++ b/content/common/websocket.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CONTENT_COMMON_WEBSOCKET_H_
|
| #define CONTENT_COMMON_WEBSOCKET_H_
|
|
|
| +#include <stdint.h>
|
| #include <string>
|
| #include <utility>
|
| #include <vector>
|
| @@ -23,6 +24,13 @@ enum WebSocketMessageType {
|
| WEB_SOCKET_MESSAGE_TYPE_LAST = WEB_SOCKET_MESSAGE_TYPE_BINARY
|
| };
|
|
|
| +// WebSocket binary message types.
|
| +enum class WebSocketBinaryType : uint8_t {
|
| + BLOB = 0x0,
|
| + ARRAY_BUFFER = 0x1,
|
| + LAST = ARRAY_BUFFER
|
| +};
|
| +
|
| // Opening handshake request information which will be shown in the inspector.
|
| // All string data should be encoded to ASCII in the browser process.
|
| struct WebSocketHandshakeRequest {
|
|
|