OLD | NEW |
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_RESPONSE_INFO_H_ | 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_RESPONSE_INFO_H_ |
6 #define NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_RESPONSE_INFO_H_ | 6 #define NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_RESPONSE_INFO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
12 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
13 #include "url/gurl.h" | 14 #include "url/gurl.h" |
14 | 15 |
15 namespace net { | 16 namespace net { |
16 | 17 |
17 class HttpResponseHeaders; | 18 class HttpResponseHeaders; |
18 | 19 |
19 struct NET_EXPORT WebSocketHandshakeResponseInfo { | 20 struct NET_EXPORT WebSocketHandshakeResponseInfo { |
(...skipping 14 matching lines...) Expand all Loading... |
34 // The time that this response arrived | 35 // The time that this response arrived |
35 base::Time response_time; | 36 base::Time response_time; |
36 | 37 |
37 private: | 38 private: |
38 DISALLOW_COPY_AND_ASSIGN(WebSocketHandshakeResponseInfo); | 39 DISALLOW_COPY_AND_ASSIGN(WebSocketHandshakeResponseInfo); |
39 }; | 40 }; |
40 | 41 |
41 } // namespace net | 42 } // namespace net |
42 | 43 |
43 #endif // NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_RESPONSE_INFO_H_ | 44 #endif // NET_WEBSOCKETS_WEBSOCKET_HANDSHAKE_RESPONSE_INFO_H_ |
OLD | NEW |