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"
9 #include "base/memory/ref_counted.h"
10 #include "base/time/time.h"
11 #include "net/http/http_response_headers.h"
16 WebSocketHandshakeResponseInfo::WebSocketHandshakeResponseInfo(
19 const std::string
& status_text
,
20 scoped_refptr
<HttpResponseHeaders
> headers
,
21 base::Time response_time
)
23 status_code(status_code
),
24 status_text(status_text
),
26 response_time(response_time
) {}
28 WebSocketHandshakeResponseInfo::~WebSocketHandshakeResponseInfo() {}