OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #include "net/websockets/websocket_handshake_response_info.h" | |
6 | |
7 #include <string> | |
8 | |
9 #include "base/memory/ref_counted.h" | |
10 #include "base/time/time.h" | |
11 #include "net/http/http_response_headers.h" | |
12 #include "url/gurl.h" | |
13 | |
14 namespace net { | |
15 | |
16 WebSocketHandshakeResponseInfo::WebSocketHandshakeResponseInfo( | |
17 const GURL& url, | |
18 int status_code, | |
19 const std::string& status_text, | |
20 scoped_refptr<HttpResponseHeaders> headers, | |
21 base::Time response_time) | |
22 : url(url), | |
23 status_code(status_code), | |
24 status_text(status_text), | |
25 headers(headers), | |
26 response_time(response_time) {} | |
27 | |
28 WebSocketHandshakeResponseInfo::~WebSocketHandshakeResponseInfo() {} | |
29 | |
30 } // namespace net | |
OLD | NEW |