chore: remove unused nogncheck includes (#43964)

This commit is contained in:
Charles Kerr 2024-09-26 17:09:42 -05:00 committed by GitHub
parent 852f9ff329
commit 8397fef3ef
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) #if BUILDFLAG(ENABLE_PDF_VIEWER)
#include "components/pdf/common/constants.h" // nogncheck #include "components/pdf/common/constants.h" // nogncheck
#include "pdf/pdf.h" // nogncheck
#include "shell/common/electron_constants.h" #include "shell/common/electron_constants.h"
#endif // BUILDFLAG(ENABLE_PDF_VIEWER) #endif // BUILDFLAG(ENABLE_PDF_VIEWER)

View file

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

View file

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

View file

@ -31,7 +31,6 @@
#include "components/net_log/chrome_net_log.h" #include "components/net_log/chrome_net_log.h"
#include "components/network_hints/common/network_hints.mojom.h" #include "components/network_hints/common/network_hints.mojom.h"
#include "content/browser/keyboard_lock/keyboard_lock_service_impl.h" // nogncheck #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_main_runner.h"
#include "content/public/browser/browser_task_traits.h" #include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/client_certificate_delegate.h" #include "content/public/browser/client_certificate_delegate.h"

View file

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

View file

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

View file

@ -17,8 +17,8 @@
#include "shell/common/gin_converters/file_path_converter.h" #include "shell/common/gin_converters/file_path_converter.h"
#include "shell/common/gin_helper/dictionary.h" #include "shell/common/gin_helper/dictionary.h"
#include "shell/common/gin_helper/promise.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_dialog.h"
#include "ui/shell_dialogs/select_file_policy.h"
#include "ui/shell_dialogs/selected_file_info.h" #include "ui/shell_dialogs/selected_file_info.h"
namespace file_dialog { namespace file_dialog {

View file

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

View file

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