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_PAGE_LOAD_METRICS_INITIALIZE_H_ | 5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_INITIALIZE_H_ |
6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_INITIALIZE_H_ | 6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_INITIALIZE_H_ |
7 | 7 |
8 #include "components/page_load_metrics/browser/metrics_web_contents_observer.h" | 8 #include "components/page_load_metrics/browser/metrics_web_contents_observer.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
11 class WebContents; | 11 class WebContents; |
12 } | 12 } |
13 | 13 |
14 namespace rappor { | 14 namespace rappor { |
15 class RapporService; | 15 class RapporService; |
16 } | 16 } |
17 | 17 |
18 namespace chrome { | 18 namespace chrome { |
19 | 19 |
20 void InitializePageLoadMetricsForWebContents( | 20 void InitializePageLoadMetricsForWebContents( |
21 content::WebContents* web_contents); | 21 content::WebContents* web_contents); |
22 | 22 |
23 class PageLoadMetricsEmbedderInterfaceImpl | 23 class PageLoadMetricsEmbedderInterfaceImpl |
Randy Smith (Not in Mondays)
2015/12/03 01:20:42
nit, not part of this CL, suggestion: ...Interface
Charlie Harrison
2015/12/03 13:35:35
Sounds fine by me. Want me to make the change in t
Randy Smith (Not in Mondays)
2015/12/03 21:06:49
As you wish.
| |
24 : public page_load_metrics::PageLoadMetricsEmbedderInterface { | 24 : public page_load_metrics::PageLoadMetricsEmbedderInterface { |
25 public: | 25 public: |
26 // PageLoadMetricsEmbedderInterface: | 26 // PageLoadMetricsEmbedderInterface: |
27 ~PageLoadMetricsEmbedderInterfaceImpl() override; | 27 ~PageLoadMetricsEmbedderInterfaceImpl() override; |
28 rappor::RapporService* GetRapporService() override; | 28 rappor::RapporService* GetRapporService() override; |
29 bool IsPrerendering(content::WebContents* web_contents) override; | 29 bool IsPrerendering(content::WebContents* web_contents) override; |
30 void RegisterObservers(page_load_metrics::PageLoadTracker* tracker) override; | |
30 }; | 31 }; |
31 | 32 |
32 } // namespace chrome | 33 } // namespace chrome |
33 | 34 |
34 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_INITIALIZE_H_ | 35 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_INITIALIZE_H_ |
OLD | NEW |