OLD | NEW |
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_FROM_GWS_PAGE_LOAD_METRICS_OB
SERVER_H_ | 5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_FROM_GWS_PAGE_LOAD_METRICS_OB
SERVER_H_ |
6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_FROM_GWS_PAGE_LOAD_METRICS_OB
SERVER_H_ | 6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_FROM_GWS_PAGE_LOAD_METRICS_OB
SERVER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/optional.h" | 9 #include "base/optional.h" |
10 #include "components/page_load_metrics/browser/page_load_metrics_observer.h" | 10 #include "chrome/browser/page_load_metrics/page_load_metrics_observer.h" |
11 #include "url/gurl.h" | 11 #include "url/gurl.h" |
12 | 12 |
13 namespace internal { | 13 namespace internal { |
14 // Exposed for tests. | 14 // Exposed for tests. |
15 extern const char kHistogramFromGWSDomContentLoaded[]; | 15 extern const char kHistogramFromGWSDomContentLoaded[]; |
16 extern const char kHistogramFromGWSLoad[]; | 16 extern const char kHistogramFromGWSLoad[]; |
17 extern const char kHistogramFromGWSFirstPaint[]; | 17 extern const char kHistogramFromGWSFirstPaint[]; |
18 extern const char kHistogramFromGWSFirstTextPaint[]; | 18 extern const char kHistogramFromGWSFirstTextPaint[]; |
19 extern const char kHistogramFromGWSFirstImagePaint[]; | 19 extern const char kHistogramFromGWSFirstImagePaint[]; |
20 extern const char kHistogramFromGWSFirstContentfulPaint[]; | 20 extern const char kHistogramFromGWSFirstContentfulPaint[]; |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 178 |
179 void OnUserInput(const blink::WebInputEvent& event) override; | 179 void OnUserInput(const blink::WebInputEvent& event) override; |
180 | 180 |
181 private: | 181 private: |
182 FromGWSPageLoadMetricsLogger logger_; | 182 FromGWSPageLoadMetricsLogger logger_; |
183 | 183 |
184 DISALLOW_COPY_AND_ASSIGN(FromGWSPageLoadMetricsObserver); | 184 DISALLOW_COPY_AND_ASSIGN(FromGWSPageLoadMetricsObserver); |
185 }; | 185 }; |
186 | 186 |
187 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_FROM_GWS_PAGE_LOAD_METRICS
_OBSERVER_H_ | 187 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_FROM_GWS_PAGE_LOAD_METRICS
_OBSERVER_H_ |
OLD | NEW |