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

Side by Side Diff: content/public/renderer/document_state.cc

Issue 2449553002: Remove dead DocumentState metrics tracking code (Closed)
Patch Set: fix tests Created 4 years, 1 month 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/renderer/document_state.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/renderer/document_state.h" 5 #include "content/public/renderer/document_state.h"
6 6
7 #include "content/public/renderer/navigation_state.h" 7 #include "content/public/renderer/navigation_state.h"
8 8
9 namespace content { 9 namespace content {
10 10
11 DocumentState::DocumentState() 11 DocumentState::DocumentState()
12 : load_histograms_recorded_(false), 12 : was_fetched_via_spdy_(false),
13 web_timing_histograms_recorded_(false),
14 was_fetched_via_spdy_(false),
15 was_alpn_negotiated_(false), 13 was_alpn_negotiated_(false),
16 was_alternate_protocol_available_(false), 14 was_alternate_protocol_available_(false),
17 connection_info_(net::HttpResponseInfo::CONNECTION_INFO_UNKNOWN), 15 connection_info_(net::HttpResponseInfo::CONNECTION_INFO_UNKNOWN),
18 was_load_data_with_base_url_request_(false), 16 was_load_data_with_base_url_request_(false),
19 load_type_(UNDEFINED_LOAD),
20 can_load_local_resources_(false) {} 17 can_load_local_resources_(false) {}
21 18
22 DocumentState::~DocumentState() {} 19 DocumentState::~DocumentState() {}
23 20
24 void DocumentState::set_navigation_state(NavigationState* navigation_state) { 21 void DocumentState::set_navigation_state(NavigationState* navigation_state) {
25 navigation_state_.reset(navigation_state); 22 navigation_state_.reset(navigation_state);
26 } 23 }
27 24
28 } // namespace content 25 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/document_state.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698