Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Side by Side Diff: net/websockets/websocket_handshake_request_info.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_REQUEST_INFO_H_ 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_REQUEST_INFO_H_
6 #define NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_REQUEST_INFO_H_ 6 #define NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_REQUEST_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "base/time/time.h" 11 #include "base/time/time.h"
11 #include "net/base/net_export.h" 12 #include "net/base/net_export.h"
12 #include "net/http/http_request_headers.h" 13 #include "net/http/http_request_headers.h"
13 #include "url/gurl.h" 14 #include "url/gurl.h"
14 15
15 namespace net { 16 namespace net {
16 17
17 struct NET_EXPORT WebSocketHandshakeRequestInfo { 18 struct NET_EXPORT WebSocketHandshakeRequestInfo {
18 WebSocketHandshakeRequestInfo(const GURL& url, base::Time request_time); 19 WebSocketHandshakeRequestInfo(const GURL& url, base::Time request_time);
19 ~WebSocketHandshakeRequestInfo(); 20 ~WebSocketHandshakeRequestInfo();
20 // The request URL 21 // The request URL
21 GURL url; 22 GURL url;
22 // HTTP request headers 23 // HTTP request headers
23 HttpRequestHeaders headers; 24 HttpRequestHeaders headers;
24 // The time that this request is sent 25 // The time that this request is sent
25 base::Time request_time; 26 base::Time request_time;
26 27
27 private: 28 private:
28 DISALLOW_COPY_AND_ASSIGN(WebSocketHandshakeRequestInfo); 29 DISALLOW_COPY_AND_ASSIGN(WebSocketHandshakeRequestInfo);
29 }; 30 };
30 31
31 } // namespace net 32 } // namespace net
32 33
33 #endif // NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_REQUEST_INFO_H_ 34 #endif // NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_REQUEST_INFO_H_
OLDNEW
« no previous file with comments | « net/websockets/websocket_frame_parser.h ('k') | net/websockets/websocket_handshake_response_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698