naiveproxy/net/url_request/websocket_handshake_userdata_key.h
2018-12-09 21:59:24 -05:00

22 lines
772 B
C++

// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// The key for WebSocket UserData in URLRequest objects. This is included in
// net/url_request because net/websockets is not linked in on iOS.
#ifndef NET_URL_REQUEST_WEBSOCKET_HANDSHAKE_USERDATA_KEY_H_
#define NET_URL_REQUEST_WEBSOCKET_HANDSHAKE_USERDATA_KEY_H_
#include "net/base/net_export.h"
namespace net {
// This variable has a unique address, which is used as the key to store
// WebSocket-handshake related data in a URLRequest object.
extern NET_EXPORT_PRIVATE const char kWebSocketHandshakeUserDataKey[];
} // namespace net
#endif // NET_URL_REQUEST_WEBSOCKET_HANDSHAKE_USERDATA_KEY_H_