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

Side by Side Diff: chrome/renderer/navigation_state.cc

Issue 6276001: Fix two bugs in recording web timing histograms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initialize member and fix lint Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/navigation_state.h ('k') | chrome/renderer/page_load_histograms.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/renderer/navigation_state.h" 5 #include "chrome/renderer/navigation_state.h"
6 6
7 #include "chrome/renderer/user_script_idle_scheduler.h" 7 #include "chrome/renderer/user_script_idle_scheduler.h"
8 #include "webkit/glue/alt_error_page_resource_fetcher.h" 8 #include "webkit/glue/alt_error_page_resource_fetcher.h"
9 #include "webkit/glue/password_form.h" 9 #include "webkit/glue/password_form.h"
10 10
(...skipping 15 matching lines...) Expand all
26 26
27 NavigationState::NavigationState(PageTransition::Type transition_type, 27 NavigationState::NavigationState(PageTransition::Type transition_type,
28 const base::Time& request_time, 28 const base::Time& request_time,
29 bool is_content_initiated, 29 bool is_content_initiated,
30 int32 pending_page_id, 30 int32 pending_page_id,
31 int pending_history_list_offset) 31 int pending_history_list_offset)
32 : transition_type_(transition_type), 32 : transition_type_(transition_type),
33 load_type_(UNDEFINED_LOAD), 33 load_type_(UNDEFINED_LOAD),
34 request_time_(request_time), 34 request_time_(request_time),
35 load_histograms_recorded_(false), 35 load_histograms_recorded_(false),
36 web_timing_histograms_recorded_(false),
36 request_committed_(false), 37 request_committed_(false),
37 is_content_initiated_(is_content_initiated), 38 is_content_initiated_(is_content_initiated),
38 pending_page_id_(pending_page_id), 39 pending_page_id_(pending_page_id),
39 pending_history_list_offset_(pending_history_list_offset), 40 pending_history_list_offset_(pending_history_list_offset),
40 postpone_loading_data_(false), 41 postpone_loading_data_(false),
41 cache_policy_override_set_(false), 42 cache_policy_override_set_(false),
42 cache_policy_override_(WebKit::WebURLRequest::UseProtocolCachePolicy), 43 cache_policy_override_(WebKit::WebURLRequest::UseProtocolCachePolicy),
43 user_script_idle_scheduler_(NULL), 44 user_script_idle_scheduler_(NULL),
44 http_status_code_(0), 45 http_status_code_(0),
45 was_fetched_via_spdy_(false), 46 was_fetched_via_spdy_(false),
46 was_npn_negotiated_(false), 47 was_npn_negotiated_(false),
47 was_alternate_protocol_available_(false), 48 was_alternate_protocol_available_(false),
48 was_fetched_via_proxy_(false), 49 was_fetched_via_proxy_(false),
49 was_translated_(false), 50 was_translated_(false),
50 was_within_same_page_(false), 51 was_within_same_page_(false),
51 was_prefetcher_(false), 52 was_prefetcher_(false),
52 was_referred_by_prefetcher_(false) { 53 was_referred_by_prefetcher_(false) {
53 } 54 }
OLDNEW
« no previous file with comments | « chrome/renderer/navigation_state.h ('k') | chrome/renderer/page_load_histograms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698