OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_METRICS_FIRST_WEB_CONTENTS_PROFILER_H_ | 5 #ifndef CHROME_BROWSER_METRICS_FIRST_WEB_CONTENTS_PROFILER_H_ |
6 #define CHROME_BROWSER_METRICS_FIRST_WEB_CONTENTS_PROFILER_H_ | 6 #define CHROME_BROWSER_METRICS_FIRST_WEB_CONTENTS_PROFILER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 // Whether an attempt was made to collect the "MainFrameLoad" metric. | 71 // Whether an attempt was made to collect the "MainFrameLoad" metric. |
72 bool collected_load_metric_; | 72 bool collected_load_metric_; |
73 | 73 |
74 // Whether an attempt was made to collect the "MainNavigationStart" metric. | 74 // Whether an attempt was made to collect the "MainNavigationStart" metric. |
75 bool collected_main_navigation_start_metric_; | 75 bool collected_main_navigation_start_metric_; |
76 | 76 |
77 // Whether an attempt was made to collect the "MainNavigationFinished" metric. | 77 // Whether an attempt was made to collect the "MainNavigationFinished" metric. |
78 bool collected_main_navigation_finished_metric_; | 78 bool collected_main_navigation_finished_metric_; |
79 | 79 |
80 // Whether core metric collection is complete. Used to keep reporting old | |
81 // stats post abandon to give us an intra-milestone comparison basis initially | |
82 // between the old and new stats. TODO(gab): Remove this in M49. | |
83 bool finished_; | |
84 | |
85 DISALLOW_COPY_AND_ASSIGN(FirstWebContentsProfiler); | 80 DISALLOW_COPY_AND_ASSIGN(FirstWebContentsProfiler); |
86 }; | 81 }; |
87 | 82 |
88 #endif // CHROME_BROWSER_METRICS_FIRST_WEB_CONTENTS_PROFILER_H_ | 83 #endif // CHROME_BROWSER_METRICS_FIRST_WEB_CONTENTS_PROFILER_H_ |
OLD | NEW |