1 // Copyright 2023 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "gin/time_clamper.h"
7 #include "build/build_config.h"
11 // As site isolation is enabled on desktop platforms, we can safely provide
12 // more timing resolution. Jittering is still enabled everywhere.
13 #if BUILDFLAG(IS_ANDROID)
15 const int64_t TimeClamper::kResolutionMicros = 100;
17 const int64_t TimeClamper::kResolutionMicros = 5;