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

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

Issue 2684933011: M57: Add UseCounter for ServiceWorkerNavigationPreload. (Closed)
Patch Set: Created 3 years, 10 months 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
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 "content/public/common/previews_state.h" 8 #include "content/public/common/previews_state.h"
9 #include "net/http/http_response_headers.h" 9 #include "net/http/http_response_headers.h"
10 10
(...skipping 11 matching lines...) Expand all
22 connection_info(net::HttpResponseInfo::CONNECTION_INFO_UNKNOWN), 22 connection_info(net::HttpResponseInfo::CONNECTION_INFO_UNKNOWN),
23 was_fetched_via_service_worker(false), 23 was_fetched_via_service_worker(false),
24 was_fetched_via_foreign_fetch(false), 24 was_fetched_via_foreign_fetch(false),
25 was_fallback_required_by_service_worker(false), 25 was_fallback_required_by_service_worker(false),
26 response_type_via_service_worker( 26 response_type_via_service_worker(
27 blink::WebServiceWorkerResponseTypeDefault), 27 blink::WebServiceWorkerResponseTypeDefault),
28 previews_state(PREVIEWS_OFF), 28 previews_state(PREVIEWS_OFF),
29 effective_connection_type(net::EFFECTIVE_CONNECTION_TYPE_UNKNOWN), 29 effective_connection_type(net::EFFECTIVE_CONNECTION_TYPE_UNKNOWN),
30 cert_status(0), 30 cert_status(0),
31 ssl_connection_status(0), 31 ssl_connection_status(0),
32 ssl_key_exchange_group(0) {} 32 ssl_key_exchange_group(0),
33 did_service_worker_navigation_preload(false) {}
33 34
34 ResourceResponseInfo::ResourceResponseInfo(const ResourceResponseInfo& other) = 35 ResourceResponseInfo::ResourceResponseInfo(const ResourceResponseInfo& other) =
35 default; 36 default;
36 37
37 ResourceResponseInfo::~ResourceResponseInfo() { 38 ResourceResponseInfo::~ResourceResponseInfo() {
38 } 39 }
39 40
40 } // namespace content 41 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698