mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
28 lines
789 B
C++
28 lines
789 B
C++
|
// Copyright 2014 The Chromium Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style license that can be
|
||
|
// found in the LICENSE file.
|
||
|
|
||
|
#include "net/websockets/websocket_handshake_response_info.h"
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
#include "base/time/time.h"
|
||
|
#include "net/http/http_response_headers.h"
|
||
|
#include "url/gurl.h"
|
||
|
|
||
|
namespace net {
|
||
|
|
||
|
WebSocketHandshakeResponseInfo::WebSocketHandshakeResponseInfo(
|
||
|
const GURL& url,
|
||
|
scoped_refptr<HttpResponseHeaders> headers,
|
||
|
const HostPortPair& socket_address,
|
||
|
base::Time response_time)
|
||
|
: url(url),
|
||
|
headers(std::move(headers)),
|
||
|
socket_address(socket_address),
|
||
|
response_time(response_time) {}
|
||
|
|
||
|
WebSocketHandshakeResponseInfo::~WebSocketHandshakeResponseInfo() = default;
|
||
|
|
||
|
} // namespace net
|