| 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_PAGE_LOAD_METRICS_OBSERVER_TE
ST_HARNESS_H_ | 5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_PAGE_LOAD_METRICS_OBSERVER_TE
ST_HARNESS_H_ |
| 6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_PAGE_LOAD_METRICS_OBSERVER_TE
ST_HARNESS_H_ | 6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_PAGE_LOAD_METRICS_OBSERVER_TE
ST_HARNESS_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/test/histogram_tester.h" | 9 #include "base/test/histogram_tester.h" |
| 9 #include "chrome/test/base/chrome_render_view_host_test_harness.h" | 10 #include "chrome/test/base/chrome_render_view_host_test_harness.h" |
| 10 #include "components/page_load_metrics/browser/metrics_web_contents_observer.h" | 11 #include "components/page_load_metrics/browser/metrics_web_contents_observer.h" |
| 11 #include "content/public/test/web_contents_tester.h" | 12 #include "content/public/test/web_contents_tester.h" |
| 12 | 13 |
| 13 namespace rappor { | 14 namespace rappor { |
| 14 class RapporService; | 15 class RapporService; |
| 15 } // namespace rappor | 16 } // namespace rappor |
| 16 | 17 |
| 17 namespace page_load_metrics { | 18 namespace page_load_metrics { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 43 private: | 44 private: |
| 44 base::HistogramTester histogram_tester_; | 45 base::HistogramTester histogram_tester_; |
| 45 MetricsWebContentsObserver* observer_; | 46 MetricsWebContentsObserver* observer_; |
| 46 | 47 |
| 47 DISALLOW_COPY_AND_ASSIGN(PageLoadMetricsObserverTestHarness); | 48 DISALLOW_COPY_AND_ASSIGN(PageLoadMetricsObserverTestHarness); |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 } // namespace page_load_metrics | 51 } // namespace page_load_metrics |
| 51 | 52 |
| 52 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_PAGE_LOAD_METRICS_OBSERVER
_TEST_HARNESS_H_ | 53 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_PAGE_LOAD_METRICS_OBSERVER
_TEST_HARNESS_H_ |
| OLD | NEW |