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 #include "public/web/WebPageImportanceSignals.h" | 5 #include "public/web/WebPageImportanceSignals.h" |
6 | 6 |
7 #include "platform/Histogram.h" | 7 #include "platform/Histogram.h" |
8 #include "public/web/WebViewClient.h" | 8 #include "public/web/WebViewClient.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 DEFINE_STATIC_LOCAL( | 37 DEFINE_STATIC_LOCAL( |
38 EnumerationHistogram, issued_non_get_histogram, | 38 EnumerationHistogram, issued_non_get_histogram, |
39 ("PageImportanceSignals.IssuedNonGetFetchFromScript.OnCommitLoad", 2)); | 39 ("PageImportanceSignals.IssuedNonGetFetchFromScript.OnCommitLoad", 2)); |
40 issued_non_get_histogram.Count(issued_non_get_fetch_from_script_); | 40 issued_non_get_histogram.Count(issued_non_get_fetch_from_script_); |
41 | 41 |
42 Reset(); | 42 Reset(); |
43 } | 43 } |
44 | 44 |
45 } // namespace blink | 45 } // namespace blink |
OLD | NEW |