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 | |
Charlie Harrison
2017/05/24 21:02:52
It's kinda weird to have two page_load_metrics_uti
Bryan McQuade
2017/05/25 02:30:21
done
| |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_COMMON_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_UTIL_H_ | |
6 #define CHROME_COMMON_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_UTIL_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_UTIL_H_ | |
OLD | NEW |