| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // TODO(bmcquade): delete this class in October 2016, as it is deprecated by the |
| 6 // new PageLoad.* UMA histograms. |
| 7 |
| 5 #ifndef CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ | 8 #ifndef CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ |
| 6 #define CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ | 9 #define CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ |
| 7 | 10 |
| 8 #include "base/macros.h" | 11 #include "base/macros.h" |
| 9 #include "content/public/renderer/render_view_observer.h" | 12 #include "content/public/renderer/render_view_observer.h" |
| 10 | 13 |
| 11 namespace blink { | 14 namespace blink { |
| 12 class WebDataSource; | 15 class WebDataSource; |
| 13 } | 16 } |
| 14 | 17 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 // so first_paint and first_paint_after_load can be 0. | 51 // so first_paint and first_paint_after_load can be 0. |
| 49 void Dump(blink::WebFrame* frame); | 52 void Dump(blink::WebFrame* frame); |
| 50 | 53 |
| 51 void LogPageLoadTime(const content::DocumentState* load_times, | 54 void LogPageLoadTime(const content::DocumentState* load_times, |
| 52 const blink::WebDataSource* ds) const; | 55 const blink::WebDataSource* ds) const; |
| 53 | 56 |
| 54 DISALLOW_COPY_AND_ASSIGN(PageLoadHistograms); | 57 DISALLOW_COPY_AND_ASSIGN(PageLoadHistograms); |
| 55 }; | 58 }; |
| 56 | 59 |
| 57 #endif // CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ | 60 #endif // CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ |
| OLD | NEW |