Home | History | Annotate | Download | only in common
      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.
      4 
      5 #ifndef CONTENT_COMMON_WEBSOCKET_H_
      6 #define CONTENT_COMMON_WEBSOCKET_H_
      7 
      8 namespace content {
      9 
     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
     15 };
     16 
     17 }  // namespace content
     18 
     19 #endif  // CONTENT_COMMON_WEBSOCKET_H_
     20