naiveproxy/net/url_request/websocket_handshake_userdata_key.h

22 lines
772 B
C
Raw Normal View History

2018-01-28 19:30:36 +03:00
// 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_