1 // Copyright 2014 The Chromium Authors 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 <utility> 8 9 #include "base/time/time.h" 10 #include "net/http/http_response_headers.h" 11 12 namespace net { 13 WebSocketHandshakeResponseInfo(const GURL & url,scoped_refptr<HttpResponseHeaders> headers,const IPEndPoint & remote_endpoint,base::Time response_time)14WebSocketHandshakeResponseInfo::WebSocketHandshakeResponseInfo( 15 const GURL& url, 16 scoped_refptr<HttpResponseHeaders> headers, 17 const IPEndPoint& remote_endpoint, 18 base::Time response_time) 19 : url(url), 20 headers(std::move(headers)), 21 remote_endpoint(remote_endpoint), 22 response_time(response_time) {} 23 24 WebSocketHandshakeResponseInfo::~WebSocketHandshakeResponseInfo() = default; 25 26 } // namespace net 27