OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_ANDROID_PAGE_LOAD_METRICS_OBS
ERVER_H_ | 5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_ANDROID_PAGE_LOAD_METRICS_OBS
ERVER_H_ |
6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_ANDROID_PAGE_LOAD_METRICS_OBS
ERVER_H_ | 6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_ANDROID_PAGE_LOAD_METRICS_OBS
ERVER_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 void OnFirstContentfulPaint( | 26 void OnFirstContentfulPaint( |
27 const page_load_metrics::PageLoadTiming& timing, | 27 const page_load_metrics::PageLoadTiming& timing, |
28 const page_load_metrics::PageLoadExtraInfo& extra_info) override; | 28 const page_load_metrics::PageLoadExtraInfo& extra_info) override; |
29 | 29 |
30 private: | 30 private: |
31 content::WebContents* web_contents_; | 31 content::WebContents* web_contents_; |
32 | 32 |
33 DISALLOW_COPY_AND_ASSIGN(AndroidPageLoadMetricsObserver); | 33 DISALLOW_COPY_AND_ASSIGN(AndroidPageLoadMetricsObserver); |
34 }; | 34 }; |
35 | 35 |
36 bool RegisterPageLoadMetricsBindings(JNIEnv* env); | |
37 | |
38 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_ANDROID_PAGE_LOAD_METRICS_
OBSERVER_H_ | 36 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_ANDROID_PAGE_LOAD_METRICS_
OBSERVER_H_ |
OLD | NEW |