OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "chrome/browser/page_load_metrics/observers/document_write_page_load_me
trics_observer.h" | 5 #include "chrome/browser/page_load_metrics/observers/document_write_page_load_me
trics_observer.h" |
6 #include "components/page_load_metrics/browser/page_load_metrics_util.h" | 6 #include "chrome/browser/page_load_metrics/page_load_metrics_util.h" |
7 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" | 7 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" |
8 | 8 |
9 namespace internal { | 9 namespace internal { |
10 const char kHistogramDocWriteFirstContentfulPaint[] = | 10 const char kHistogramDocWriteFirstContentfulPaint[] = |
11 "PageLoad.Clients.DocWrite.Evaluator.Timing2." | 11 "PageLoad.Clients.DocWrite.Evaluator.Timing2." |
12 "NavigationToFirstContentfulPaint"; | 12 "NavigationToFirstContentfulPaint"; |
13 const char kHistogramDocWriteParseStartToFirstContentfulPaint[] = | 13 const char kHistogramDocWriteParseStartToFirstContentfulPaint[] = |
14 "PageLoad.Clients.DocWrite.Evaluator.Timing2." | 14 "PageLoad.Clients.DocWrite.Evaluator.Timing2." |
15 "ParseStartToFirstContentfulPaint"; | 15 "ParseStartToFirstContentfulPaint"; |
16 const char kHistogramDocWriteParseDuration[] = | 16 const char kHistogramDocWriteParseDuration[] = |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 PAGE_LOAD_HISTOGRAM( | 413 PAGE_LOAD_HISTOGRAM( |
414 internal::kBackgroundHistogramDocWriteBlockParseBlockedOnScriptComplete, | 414 internal::kBackgroundHistogramDocWriteBlockParseBlockedOnScriptComplete, |
415 timing.parse_blocked_on_script_load_duration.value()); | 415 timing.parse_blocked_on_script_load_duration.value()); |
416 PAGE_LOAD_HISTOGRAM( | 416 PAGE_LOAD_HISTOGRAM( |
417 internal:: | 417 internal:: |
418 kBackgroundDocWriteBlockParseBlockedOnScriptLoadDocWriteComplete, | 418 kBackgroundDocWriteBlockParseBlockedOnScriptLoadDocWriteComplete, |
419 timing.parse_blocked_on_script_load_from_document_write_duration | 419 timing.parse_blocked_on_script_load_from_document_write_duration |
420 .value()); | 420 .value()); |
421 } | 421 } |
422 } | 422 } |
OLD | NEW |