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 #ifndef CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ | 5 #ifndef CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ |
6 #define CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ | 6 #define CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "content/public/renderer/render_view_observer.h" | 10 #include "content/public/renderer/render_view_observer.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 class WebDataSource; | 13 class WebDataSource; |
14 } | 14 } |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 class DocumentState; | 17 class DocumentState; |
18 } | 18 } |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 void LogPageLoadTime(const content::DocumentState* load_times, | 54 void LogPageLoadTime(const content::DocumentState* load_times, |
55 const blink::WebDataSource* ds) const; | 55 const blink::WebDataSource* ds) const; |
56 | 56 |
57 bool dumped_first_layout_histograms_; | 57 bool dumped_first_layout_histograms_; |
58 base::WeakPtrFactory<PageLoadHistograms> weak_factory_; | 58 base::WeakPtrFactory<PageLoadHistograms> weak_factory_; |
59 | 59 |
60 DISALLOW_COPY_AND_ASSIGN(PageLoadHistograms); | 60 DISALLOW_COPY_AND_ASSIGN(PageLoadHistograms); |
61 }; | 61 }; |
62 | 62 |
63 #endif // CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ | 63 #endif // CHROME_RENDERER_PAGE_LOAD_HISTOGRAMS_H_ |
OLD | NEW |