From 4c45999dc22750f7184e4ca7498b05dfb498eedb 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 03d2a3763b..3317d07811 100644 --- a/src/net/cert/internal/trust_store_chrome.h +++ b/src/net/cert/internal/trust_store_chrome.h @@ -9,10 +9,14 @@ #include "base/containers/span.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 { struct ChromeRootCertInfo {