Makes the is_blocking method public.
[chromium-blink-merge.git] / content / common / websocket.h
blob3bc8a99532cfafae34cb18f483066dd243562be7
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_WEBSOCKET_H_
6 #define CONTENT_COMMON_WEBSOCKET_H_
8 namespace content {
10 // WebSocket data message types sent between the browser and renderer processes.
11 enum WebSocketMessageType {
12 WEB_SOCKET_MESSAGE_TYPE_CONTINUATION = 0x0,
13 WEB_SOCKET_MESSAGE_TYPE_TEXT = 0x1,
14 WEB_SOCKET_MESSAGE_TYPE_BINARY = 0x2
17 } // namespace content
19 #endif // CONTENT_COMMON_WEBSOCKET_H_