chore: remove unused nogncheck includes (#43991)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
trop[bot] 2024-09-26 21:49:42 -05:00 committed by GitHub
parent 9ca68e2b8c
commit 481f9b25a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 5 additions and 15 deletions

View file

@ -35,7 +35,6 @@
#if BUILDFLAG(ENABLE_PDF_VIEWER)
#include "components/pdf/common/constants.h" // nogncheck
#include "pdf/pdf.h" // nogncheck
#include "shell/common/electron_constants.h"
#endif // BUILDFLAG(ENABLE_PDF_VIEWER)

View file

@ -183,10 +183,6 @@
#endif
#endif // BUILDFLAG(ENABLE_PRINTING)
#if BUILDFLAG(ENABLE_PDF_VIEWER)
#include "components/pdf/browser/pdf_document_helper.h" // nogncheck
#endif
#if BUILDFLAG(ENABLE_PLUGINS)
#include "content/public/browser/plugin_service.h"
#endif

View file

@ -7,6 +7,10 @@
#include <fcntl.h>
#include <stdlib.h>
#if BUILDFLAG(IS_LINUX)
#include <gtk/gtk.h>
#endif
#include "base/command_line.h"
#include "base/environment.h"
#include "base/process/launch.h"
@ -21,7 +25,6 @@
#if BUILDFLAG(IS_LINUX)
#include "shell/browser/linux/unity_service.h"
#include "ui/gtk/gtk_util.h" // nogncheck
#endif
namespace electron {

View file

@ -32,7 +32,6 @@
#include "components/net_log/chrome_net_log.h"
#include "components/network_hints/common/network_hints.mojom.h"
#include "content/browser/keyboard_lock/keyboard_lock_service_impl.h" // nogncheck
#include "content/browser/site_instance_impl.h" // nogncheck
#include "content/public/browser/browser_main_runner.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/client_certificate_delegate.h"

View file

@ -22,10 +22,6 @@
#include "shell/browser/printing/print_view_manager_electron.h"
#endif
#if BUILDFLAG(ENABLE_PDF_VIEWER)
#include "components/pdf/browser/pdf_document_helper.h" // nogncheck
#endif
namespace extensions {
class ElectronGuestViewManagerDelegate

View file

@ -17,7 +17,6 @@
#include "shell/common/application_info.h"
#include "shell/common/platform_util.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/gtk/gtk_util.h" // nogncheck
namespace electron {

View file

@ -17,8 +17,8 @@
#include "shell/common/gin_converters/file_path_converter.h"
#include "shell/common/gin_helper/dictionary.h"
#include "shell/common/gin_helper/promise.h"
#include "ui/gtk/select_file_dialog_linux_gtk.h" // nogncheck
#include "ui/shell_dialogs/select_file_dialog.h"
#include "ui/shell_dialogs/select_file_policy.h"
#include "ui/shell_dialogs/selected_file_info.h"
namespace file_dialog {

View file

@ -12,7 +12,6 @@
#include "base/logging.h"
#include "electron/electron_version.h"
#include "shell/common/platform_util.h"
#include "ui/gtk/gtk_util.h" // nogncheck
namespace {

View file

@ -33,7 +33,6 @@
#include "dbus/message.h"
#include "dbus/object_proxy.h"
#include "shell/common/platform_util_internal.h"
#include "ui/gtk/gtk_util.h" // nogncheck
#include "url/gurl.h"
#define ELECTRON_TRASH "ELECTRON_TRASH"