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