Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / net / websockets / websocket_handshake_request_info.h
blobe5ef3369b2abc822920f1d2ebf40f75de28c0b53
1 // Copyright 2014 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.
5 #ifndef NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_REQUEST_INFO_H_
6 #define NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_REQUEST_INFO_H_
8 #include <string>
10 #include "base/time/time.h"
11 #include "net/base/net_export.h"
12 #include "net/http/http_request_headers.h"
13 #include "url/gurl.h"
15 namespace net {
17 struct NET_EXPORT WebSocketHandshakeRequestInfo {
18 WebSocketHandshakeRequestInfo(const GURL& url, base::Time request_time);
19 ~WebSocketHandshakeRequestInfo();
20 // The request URL
21 GURL url;
22 // HTTP request headers
23 HttpRequestHeaders headers;
24 // The time that this request is sent
25 base::Time request_time;
27 private:
28 DISALLOW_COPY_AND_ASSIGN(WebSocketHandshakeRequestInfo);
31 } // namespace net
33 #endif // NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_REQUEST_INFO_H_