summaryrefslogtreecommitdiff
path: root/chromium/net/url_request/websocket_handshake_userdata_key.h
blob: 63b75b794024d1fb192accfe1cc34bf74ccc9d9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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_