Skip to content

Commit

Permalink
chore: fixup gn check when enable_pdf_viewer is false (#41997)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkleinsc committed May 3, 2024
1 parent f1e9fd3 commit 9b25f82
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions shell/app/electron_content_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@

#if BUILDFLAG(ENABLE_PDF_VIEWER)
#include "chrome/common/pdf_util.h"
#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)

Expand Down
2 changes: 1 addition & 1 deletion shell/browser/electron_browser_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion shell/renderer/renderer_client_base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

#if BUILDFLAG(ENABLE_PDF_VIEWER)
#include "chrome/common/pdf_util.h"
#include "components/pdf/common/constants.h"
#include "components/pdf/common/constants.h" // nogncheck
#include "components/pdf/renderer/pdf_internal_plugin_delegate.h"
#include "shell/common/electron_constants.h"
#endif // BUILDFLAG(ENABLE_PDF_VIEWER)
Expand Down

0 comments on commit 9b25f82

Please sign in to comment.