OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/child/weburlresponse_extradata_impl.h" | 5 #include "content/child/weburlresponse_extradata_impl.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
9 WebURLResponseExtraDataImpl::WebURLResponseExtraDataImpl( | 9 WebURLResponseExtraDataImpl::WebURLResponseExtraDataImpl( |
10 const std::string& npn_negotiated_protocol) | 10 const std::string& alpn_negotiated_protocol) |
11 : npn_negotiated_protocol_(npn_negotiated_protocol), | 11 : alpn_negotiated_protocol_(alpn_negotiated_protocol), |
12 is_ftp_directory_listing_(false), | 12 is_ftp_directory_listing_(false), |
13 connection_info_(net::HttpResponseInfo::CONNECTION_INFO_UNKNOWN), | 13 connection_info_(net::HttpResponseInfo::CONNECTION_INFO_UNKNOWN), |
14 effective_connection_type_(net::EFFECTIVE_CONNECTION_TYPE_UNKNOWN) {} | 14 effective_connection_type_(net::EFFECTIVE_CONNECTION_TYPE_UNKNOWN) {} |
15 | 15 |
16 WebURLResponseExtraDataImpl::~WebURLResponseExtraDataImpl() { | 16 WebURLResponseExtraDataImpl::~WebURLResponseExtraDataImpl() { |
17 } | 17 } |
18 | 18 |
19 } // namespace content | 19 } // namespace content |
OLD | NEW |