Change the parameters types of the functions `coarsen_time` and `coarsened_shared_current_time` from `bool` to `CanUseCrossOriginIsolatedAPIs` for more coherence with the surrounding code.