From b60df095aa84b4c7b5f5dae317e7410e0be7ec78 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sun, 4 Jun 2023 11:54:34 +0800 Subject: [PATCH] net/cert: Fix iwyu --- src/net/cert/internal/trust_store_chrome.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/net/cert/internal/trust_store_chrome.h b/src/net/cert/internal/trust_store_chrome.h index 7920c1e6d8..30c589aa7b 100644 --- a/src/net/cert/internal/trust_store_chrome.h +++ b/src/net/cert/internal/trust_store_chrome.h @@ -14,10 +14,14 @@ #include "base/version.h" #include "crypto/sha2.h" #include "net/base/net_export.h" -#include "net/cert/root_store_proto_lite/root_store.pb.h" #include "third_party/boringssl/src/pki/trust_store.h" #include "third_party/boringssl/src/pki/trust_store_in_memory.h" +// Forward declares this so root_store.pb.h would not be a public dependency. +namespace chrome_root_store { +class RootStore; +} + namespace net { // Represents a ConstraintSet for compiled-in version of the root store.