commit | bb8040871a8ab7df72a3a378ace60a5e2d7c4a4a | [log] [tgz] |
---|---|---|
author | Kirubel Aklilu <[email protected]> | Thu Nov 10 19:02:30 2022 |
committer | Chromium LUCI CQ <[email protected]> | Thu Nov 10 19:02:30 2022 |
tree | d79eb39859ba7cb892ddc0caa0c02e8d86293169 | |
parent | fa1ff77026c2c9ee526d701251e31ba7c3a79d01 [diff] [blame] |
[DIPS] Add repeating timer to the DIPS profile-keyed service. This CL just adds the PersistentRepeatingTimer and required prefs. The period of the timer is temporarily set to 24hrs, but will be updated in future CLs. Future CLs will also implement the behavior that we want to occur when the timer reaches its period. Bug: 1375302 Change-Id: I60d72ba4412aa27d12ee4080ab8ea0945a690d5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4006254 Reviewed-by: Ben Kelly <[email protected]> Commit-Queue: Kirubel Aklilu <[email protected]> Reviewed-by: Lei Zhang <[email protected]> Cr-Commit-Position: refs/heads/main@{#1069865}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc index 1c251b5..8792315 100644 --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc
@@ -1642,6 +1642,8 @@ registry->RegisterBooleanPref(prefs::kVirtualKeyboardResizesLayoutByDefault, false); #endif + + registry->RegisterTimePref(prefs::kDIPSTimerLastUpdate, base::Time()); } void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {