From aee588b65049de340f06b75f82e50f8d0433610a Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Wed, 1 May 2024 09:20:03 -0400 Subject: [PATCH] chore: fixup gn check when enable_pdf_viewer is false (#42009) Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt --- shell/app/electron_content_client.cc | 4 ++-- shell/browser/electron_browser_client.cc | 2 +- shell/renderer/renderer_client_base.cc | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/shell/app/electron_content_client.cc b/shell/app/electron_content_client.cc index d649dac1ec7..a7962dbbfa3 100644 --- a/shell/app/electron_content_client.cc +++ b/shell/app/electron_content_client.cc @@ -39,8 +39,8 @@ #endif // BUILDFLAG(ENABLE_WIDEVINE) #if BUILDFLAG(ENABLE_PDF_VIEWER) -#include "components/pdf/common/constants.h" -#include "pdf/pdf.h" // nogncheck +#include "components/pdf/common/constants.h" // nogncheck +#include "pdf/pdf.h" // nogncheck #include "shell/common/electron_constants.h" #endif // BUILDFLAG(ENABLE_PDF_VIEWER) diff --git a/shell/browser/electron_browser_client.cc b/shell/browser/electron_browser_client.cc index c34deee930f..cdaa21c4814 100644 --- a/shell/browser/electron_browser_client.cc +++ b/shell/browser/electron_browser_client.cc @@ -214,7 +214,7 @@ #include "components/pdf/browser/pdf_document_helper.h" // nogncheck #include "components/pdf/browser/pdf_navigation_throttle.h" #include "components/pdf/browser/pdf_url_loader_request_interceptor.h" -#include "components/pdf/common/constants.h" +#include "components/pdf/common/constants.h" // nogncheck #include "shell/browser/electron_pdf_document_helper_client.h" #endif diff --git a/shell/renderer/renderer_client_base.cc b/shell/renderer/renderer_client_base.cc index 2bbcc90365f..d89a3ddff48 100644 --- a/shell/renderer/renderer_client_base.cc +++ b/shell/renderer/renderer_client_base.cc @@ -69,8 +69,8 @@ #endif #if BUILDFLAG(ENABLE_PDF_VIEWER) -#include "components/pdf/common/constants.h" -#include "components/pdf/common/pdf_util.h" +#include "components/pdf/common/constants.h" // nogncheck +#include "components/pdf/common/pdf_util.h" // nogncheck #include "components/pdf/renderer/pdf_internal_plugin_delegate.h" #include "shell/common/electron_constants.h" #endif // BUILDFLAG(ENABLE_PDF_VIEWER)