Roll src/third_party/WebKit 3aa9dd9:183b2b0 (svn 201777:201778)
[chromium-blink-merge.git] / net / websockets / websocket_handshake_response_info.cc
blobb9588b63e3fd6d6043a2dad3a3cf186d3a73f43b
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 #include "net/websockets/websocket_handshake_response_info.h"
7 #include <string>
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"
14 namespace net {
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) {}
28 WebSocketHandshakeResponseInfo::~WebSocketHandshakeResponseInfo() {}
30 } // namespace net