Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: chrome/common/page_load_metrics/page_load_metrics_util.h

Issue 2904533002: Factor management of metrics updates into its own class. (Closed)
Patch Set: address comment Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698