[tasks] Implement kWinExplicitHighResolutionTimer

High timer resolution is only requested for DelayPolicy::kPrecise.
This should reduce usage of high resolution timers on windows.

Bug: 1153139
Change-Id: Ic301fecfce86c63501e80290e85952acc155cb8d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3529553
Commit-Queue: Etienne Pierre-Doray <[email protected]>
Reviewed-by: Gabriel Charette <[email protected]>
Cr-Commit-Position: refs/heads/main@{#997825}
diff --git a/base/task/task_features.h b/base/task/task_features.h
index 9f43038..7458a9f9 100644
--- a/base/task/task_features.h
+++ b/base/task/task_features.h
@@ -80,6 +80,10 @@
 // DelayPolicy.
 extern const BASE_EXPORT base::Feature kAlignWakeUps;
 
+// Under this feature, tasks that need high resolution timer are determined
+// based on explicit DelayPolicy rather than based on a threshold.
+extern const BASE_EXPORT base::Feature kExplicitHighResolutionTimerWin;
+
 }  // namespace base
 
 #endif  // BASE_TASK_TASK_FEATURES_H_