New issue
Advanced search Search tips

Issue 809952 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Support TimeDelta prefs and policies

Project Member Reported by grt@chromium.org, Feb 7 2018

Issue description

We have various policies today that use an int to represent a duration in milliseconds. It would be nice to map these to preferences that use a TimeDelta as their fundamental unit so that code pulling these values out of a pref service doesn't need to be concerned with units.
 
Do these need to use an int milliseconds to be human-editable?  Because it would be nice to migrate the actual policies to be TimeDeltas themselves.

Sign in to add a comment