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

Side by Side Diff: chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.h

Issue 2177743002: Migrate page_load_metrics out of components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: migrate page_load_metrics_messages to common message generator Created 4 years, 4 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 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 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBSERV ER_H_ 5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBSERV ER_H_
6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBSERV ER_H_ 6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBSERV ER_H_
7 7
8 #include "components/page_load_metrics/browser/page_load_metrics_observer.h" 8 #include "chrome/browser/page_load_metrics/page_load_metrics_observer.h"
9 9
10 namespace internal { 10 namespace internal {
11 11
12 // NOTE: Some of these histograms are separated into a separate histogram 12 // NOTE: Some of these histograms are separated into a separate histogram
13 // specified by the ".Background" suffix. For these events, we put them into the 13 // specified by the ".Background" suffix. For these events, we put them into the
14 // background histogram if the web contents was ever in the background from 14 // background histogram if the web contents was ever in the background from
15 // navigation start to the event in question. 15 // navigation start to the event in question.
16 extern const char kHistogramCommit[]; 16 extern const char kHistogramCommit[];
17 extern const char kHistogramFirstLayout[]; 17 extern const char kHistogramFirstLayout[];
18 extern const char kHistogramFirstTextPaint[]; 18 extern const char kHistogramFirstTextPaint[];
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 void RecordRappor(const page_load_metrics::PageLoadTiming& timing, 97 void RecordRappor(const page_load_metrics::PageLoadTiming& timing,
98 const page_load_metrics::PageLoadExtraInfo& info); 98 const page_load_metrics::PageLoadExtraInfo& info);
99 99
100 ui::PageTransition transition_; 100 ui::PageTransition transition_;
101 bool initiated_by_user_gesture_; 101 bool initiated_by_user_gesture_;
102 102
103 DISALLOW_COPY_AND_ASSIGN(CorePageLoadMetricsObserver); 103 DISALLOW_COPY_AND_ASSIGN(CorePageLoadMetricsObserver);
104 }; 104 };
105 105
106 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBS ERVER_H_ 106 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBS ERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698