Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git] / content / public / common / resource_response_info.cc
blobd5e81e91b35197b00907eaeec045c88041f39d55
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 "content/public/common/resource_response_info.h"
7 #include "content/public/common/appcache_info.h"
8 #include "net/http/http_response_headers.h"
10 namespace content {
12 ResourceResponseInfo::ResourceResponseInfo()
13 : content_length(-1),
14 encoded_data_length(-1),
15 appcache_id(kAppCacheNoCacheId),
16 was_fetched_via_spdy(false),
17 was_npn_negotiated(false),
18 was_alternate_protocol_available(false),
19 connection_info(net::HttpResponseInfo::CONNECTION_INFO_UNKNOWN),
20 was_fetched_via_proxy(false),
21 was_fetched_via_service_worker(false),
22 was_fallback_required_by_service_worker(false),
23 response_type_via_service_worker(
24 blink::WebServiceWorkerResponseTypeDefault) {
27 ResourceResponseInfo::~ResourceResponseInfo() {
30 } // namespace content