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: components/page_load_metrics/browser/page_load_metrics_observer.cc

Issue 1476503004: [page_load_metrics] User Initiated Abort Tracking (Observer version) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new_observer
Patch Set: Remove dcheck for STILL_RUNNING 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/page_load_metrics/browser/page_load_metrics_observer.h" 5 #include "components/page_load_metrics/browser/page_load_metrics_observer.h"
6 6
7 namespace page_load_metrics { 7 namespace page_load_metrics {
8 8
9 PageLoadExtraInfo::PageLoadExtraInfo( 9 PageLoadExtraInfo::PageLoadExtraInfo(
10 const base::TimeDelta& first_background_time, 10 const base::TimeDelta& first_background_time,
11 const base::TimeDelta& first_foreground_time, 11 const base::TimeDelta& first_foreground_time,
12 bool started_in_foreground, 12 bool started_in_foreground,
13 bool has_commit) 13 bool has_commit,
14 UserAbortType abort_type,
15 const base::TimeDelta& time_to_abort)
14 : first_background_time(first_background_time), 16 : first_background_time(first_background_time),
15 first_foreground_time(first_foreground_time), 17 first_foreground_time(first_foreground_time),
16 started_in_foreground(started_in_foreground), 18 started_in_foreground(started_in_foreground),
17 has_commit(has_commit) {} 19 has_commit(has_commit),
20 abort_type(abort_type),
21 time_to_abort(time_to_abort) {}
18 22
19 } // namespace page_load_metrics 23 } // namespace page_load_metrics
OLDNEW
« no previous file with comments | « components/page_load_metrics/browser/page_load_metrics_observer.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698