Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(444)

Side by Side Diff: content/public/common/resource_response_info.cc

Issue 1497423002: Revert of Downgrade lock icon for broken-HTTPS subresources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix conflict Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/common/resource_response_info.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/public/common/resource_response_info.h" 5 #include "content/public/common/resource_response_info.h"
6 6
7 #include "content/public/common/appcache_info.h" 7 #include "content/public/common/appcache_info.h"
8 #include "net/http/http_response_headers.h" 8 #include "net/http/http_response_headers.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 ResourceResponseInfo::ResourceResponseInfo() 12 ResourceResponseInfo::ResourceResponseInfo()
13 : has_major_certificate_errors(false), 13 : content_length(-1),
14 content_length(-1),
15 encoded_data_length(-1), 14 encoded_data_length(-1),
16 appcache_id(kAppCacheNoCacheId), 15 appcache_id(kAppCacheNoCacheId),
17 was_fetched_via_spdy(false), 16 was_fetched_via_spdy(false),
18 was_npn_negotiated(false), 17 was_npn_negotiated(false),
19 was_alternate_protocol_available(false), 18 was_alternate_protocol_available(false),
20 connection_info(net::HttpResponseInfo::CONNECTION_INFO_UNKNOWN), 19 connection_info(net::HttpResponseInfo::CONNECTION_INFO_UNKNOWN),
21 was_fetched_via_proxy(false), 20 was_fetched_via_proxy(false),
22 was_fetched_via_service_worker(false), 21 was_fetched_via_service_worker(false),
23 was_fallback_required_by_service_worker(false), 22 was_fallback_required_by_service_worker(false),
24 response_type_via_service_worker( 23 response_type_via_service_worker(
25 blink::WebServiceWorkerResponseTypeDefault), 24 blink::WebServiceWorkerResponseTypeDefault),
26 is_using_lofi(false) {} 25 is_using_lofi(false) {
26 }
27 27
28 ResourceResponseInfo::~ResourceResponseInfo() { 28 ResourceResponseInfo::~ResourceResponseInfo() {
29 } 29 }
30 30
31 } // namespace content 31 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/resource_response_info.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698