websocket_handshake_userdata_key.h 772 B

123456789101112131415161718192021
  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. // The key for WebSocket UserData in URLRequest objects. This is included in
  5. // net/url_request because net/websockets is not linked in on iOS.
  6. #ifndef NET_URL_REQUEST_WEBSOCKET_HANDSHAKE_USERDATA_KEY_H_
  7. #define NET_URL_REQUEST_WEBSOCKET_HANDSHAKE_USERDATA_KEY_H_
  8. #include "net/base/net_export.h"
  9. namespace net {
  10. // This variable has a unique address, which is used as the key to store
  11. // WebSocket-handshake related data in a URLRequest object.
  12. extern NET_EXPORT_PRIVATE const char kWebSocketHandshakeUserDataKey[];
  13. } // namespace net
  14. #endif // NET_URL_REQUEST_WEBSOCKET_HANDSHAKE_USERDATA_KEY_H_