Reland "Miscellaneous IWYU fixes"

This is a reland of commit 66822aaf283bf93f907fcdd21d7278b1a9e79cea

This commit was speculatively reverted for what turned out to be
unrelated https://crbug.com/1317522.

Original change's description:
> Miscellaneous IWYU fixes
>
> Add explicit includes to files that depend on their inclusion of
> time.h, string_piece.h, and related files for <cmath>, check.h,
> check_op.h, checked_math.h, clamped_math.h and template_util.h.
>
> Change-Id: I6b13232401ac6b930f439f5d79e27816b6b4ed0b
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3561575
> Auto-Submit: David Dorwin <[email protected]>
> Reviewed-by: Doug Steedman <[email protected]>
> Reviewed-by: Scott Violet <[email protected]>
> Commit-Queue: Scott Violet <[email protected]>
> Owners-Override: Scott Violet <[email protected]>
> Cr-Commit-Position: refs/heads/main@{#993472}

Change-Id: I2add2f9daf1c07e5632f441ccee33198454411a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3595266
Auto-Submit: David Dorwin <[email protected]>
Bot-Commit: Rubber Stamper <[email protected]>
Reviewed-by: Scott Violet <[email protected]>
Commit-Queue: Scott Violet <[email protected]>
Owners-Override: Scott Violet <[email protected]>
Cr-Commit-Position: refs/heads/main@{#994037}
diff --git a/components/reporting/encryption/primitives.cc b/components/reporting/encryption/primitives.cc
index 137516d..e3ff770 100644
--- a/components/reporting/encryption/primitives.cc
+++ b/components/reporting/encryption/primitives.cc
@@ -9,6 +9,7 @@
 #include <memory>
 #include <string>
 
+#include "base/check_op.h"
 #include "crypto/aead.h"
 #include "crypto/openssl_util.h"
 #include "third_party/boringssl/src/include/openssl/curve25519.h"