OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_COMMON_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_CONSTANTS_H_ |
| 6 #define CHROME_COMMON_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_CONSTANTS_H_ |
| 7 |
| 8 namespace page_load_metrics { |
| 9 |
| 10 // Amount of time to delay dispatch of metrics. This allows us to batch and send |
| 11 // fewer cross-process updates, given that cross-process updates can be |
| 12 // expensive. |
| 13 const int kBufferTimerDelayMillis = 1000; |
| 14 |
| 15 } // namespace page_load_metrics |
| 16 |
| 17 #endif // CHROME_COMMON_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_CONSTANTS_H_ |
OLD | NEW |