From 93c9374e95b0111b60642ae137e80f8b5ea30c27 Mon Sep 17 00:00:00 2001 From: David Sanders Date: Mon, 31 May 2021 18:34:44 -0700 Subject: [PATCH] chore: trim unused STL includes (#29414) --- chromium_src/chrome/browser/certificate_manager_model.h | 1 - chromium_src/chrome/browser/process_singleton.h | 3 --- shell/app/electron_content_client.h | 2 -- shell/browser/api/electron_api_app.cc | 2 +- shell/browser/api/electron_api_app.h | 1 - shell/browser/api/electron_api_browser_window.cc | 2 -- shell/browser/api/electron_api_browser_window.h | 1 - shell/browser/api/electron_api_cookies.cc | 1 - shell/browser/api/electron_api_cookies.h | 1 - shell/browser/api/electron_api_debugger.h | 1 - shell/browser/api/electron_api_dialog.cc | 1 - shell/browser/api/electron_api_download_item.cc | 1 - shell/browser/api/electron_api_download_item.h | 1 - shell/browser/api/electron_api_global_shortcut.cc | 1 - shell/browser/api/electron_api_global_shortcut.h | 1 - shell/browser/api/electron_api_menu.cc | 1 - shell/browser/api/electron_api_menu_mac.h | 1 - shell/browser/api/electron_api_net_log.cc | 1 + shell/browser/api/electron_api_net_log.h | 4 ---- shell/browser/api/electron_api_notification.h | 1 - shell/browser/api/electron_api_power_save_blocker.h | 1 - shell/browser/api/electron_api_protocol.cc | 2 -- shell/browser/api/electron_api_screen.cc | 1 - shell/browser/api/electron_api_session.cc | 1 - shell/browser/api/electron_api_url_loader.cc | 1 - shell/browser/api/electron_api_view.h | 1 - shell/browser/api/electron_api_web_frame_main.h | 1 - shell/browser/api/gpuinfo_manager.h | 1 - shell/browser/api/save_page_handler.cc | 1 - shell/browser/api/save_page_handler.h | 2 -- shell/browser/badging/badge_manager.cc | 1 - shell/browser/badging/badge_manager.h | 2 -- shell/browser/cookie_change_notifier.cc | 2 -- shell/browser/cookie_change_notifier.h | 2 -- shell/browser/electron_browser_context.h | 1 - shell/browser/electron_browser_main_parts.cc | 2 +- shell/browser/electron_browser_main_parts.h | 2 -- shell/browser/electron_download_manager_delegate.h | 2 -- shell/browser/electron_permission_manager.h | 1 - shell/browser/electron_speech_recognition_manager_delegate.cc | 1 - shell/browser/electron_speech_recognition_manager_delegate.h | 1 - shell/browser/electron_web_ui_controller_factory.cc | 2 -- shell/browser/extended_web_contents_observer.h | 1 + .../extensions/api/streams_private/streams_private_api.cc | 1 + .../extensions/api/streams_private/streams_private_api.h | 1 - shell/browser/extensions/electron_extension_loader.h | 1 - shell/browser/extensions/electron_extension_system.h | 1 - shell/browser/file_select_helper.cc | 1 - shell/browser/file_select_helper.h | 3 --- shell/browser/lib/power_observer_linux.cc | 1 - shell/browser/login_handler.cc | 3 --- shell/browser/native_browser_view.cc | 2 -- shell/browser/native_browser_view_views.cc | 2 -- shell/browser/native_window.cc | 1 - shell/browser/native_window.h | 2 -- shell/browser/native_window_mac.h | 1 - shell/browser/native_window_views.cc | 1 - shell/browser/native_window_views.h | 1 - shell/browser/net/proxying_websocket.h | 1 - shell/browser/net/system_network_context_manager.cc | 1 + shell/browser/net/system_network_context_manager.h | 4 ---- shell/browser/notifications/linux/libnotify_notification.cc | 1 - shell/browser/notifications/linux/libnotify_notification.h | 3 --- shell/browser/notifications/mac/cocoa_notification.h | 1 - shell/browser/notifications/platform_notification_service.h | 1 - .../desktop_notification_controller.cc | 2 -- shell/browser/notifications/win/win32_notification.cc | 2 -- shell/browser/notifications/win/windows_toast_notification.cc | 1 - shell/browser/osr/osr_view_proxy.h | 1 - shell/browser/protocol_registry.cc | 3 --- shell/browser/relauncher.cc | 2 -- shell/browser/relauncher.h | 3 --- shell/browser/serial/serial_chooser_context.cc | 1 + shell/browser/serial/serial_chooser_context.h | 2 -- shell/browser/ui/autofill_popup.cc | 2 -- shell/browser/ui/devtools_manager_delegate.cc | 1 - shell/browser/ui/devtools_manager_delegate.h | 1 - shell/browser/ui/views/submenu_button.cc | 3 --- shell/browser/ui/webui/accessibility_ui.cc | 3 +++ shell/browser/ui/webui/accessibility_ui.h | 4 ---- shell/browser/ui/win/dialog_thread.h | 1 - shell/browser/ui/win/notify_icon.cc | 1 - shell/browser/web_contents_zoom_controller.cc | 2 ++ shell/browser/web_contents_zoom_controller.h | 3 --- shell/browser/web_dialog_helper.cc | 2 -- shell/browser/web_dialog_helper.h | 3 --- shell/browser/zoom_level_delegate.h | 1 - shell/common/api/electron_api_native_image_win.cc | 3 --- shell/common/api/electron_api_v8_util.cc | 1 - shell/common/application_info_linux.cc | 1 - shell/common/electron_command_line.h | 3 --- shell/common/extensions/electron_extensions_api_provider.cc | 1 - shell/common/gin_converters/blink_converter.cc | 1 - shell/common/gin_converters/content_converter.cc | 1 - shell/common/gin_converters/time_converter.h | 2 -- shell/common/skia_util.h | 2 -- shell/renderer/api/electron_api_context_bridge.cc | 1 - shell/renderer/api/electron_api_spell_check_client.cc | 2 -- shell/renderer/electron_api_service_impl.h | 1 - shell/renderer/electron_render_frame_observer.cc | 1 - shell/renderer/electron_renderer_client.cc | 1 - shell/renderer/electron_renderer_client.h | 1 - shell/renderer/electron_sandboxed_renderer_client.cc | 2 ++ shell/renderer/electron_sandboxed_renderer_client.h | 1 - shell/renderer/renderer_client_base.h | 1 - shell/utility/electron_content_utility_client.h | 2 -- 106 files changed, 14 insertions(+), 152 deletions(-) diff --git a/chromium_src/chrome/browser/certificate_manager_model.h b/chromium_src/chrome/browser/certificate_manager_model.h index 14517ee8ebc8..1c3507157450 100644 --- a/chromium_src/chrome/browser/certificate_manager_model.h +++ b/chromium_src/chrome/browser/certificate_manager_model.h @@ -5,7 +5,6 @@ #ifndef CHROME_BROWSER_CERTIFICATE_MANAGER_MODEL_H_ #define CHROME_BROWSER_CERTIFICATE_MANAGER_MODEL_H_ -#include #include #include diff --git a/chromium_src/chrome/browser/process_singleton.h b/chromium_src/chrome/browser/process_singleton.h index 1cac06a33f16..6367cb06f9bc 100644 --- a/chromium_src/chrome/browser/process_singleton.h +++ b/chromium_src/chrome/browser/process_singleton.h @@ -9,9 +9,6 @@ #include #endif // defined(OS_WIN) -#include -#include - #include "base/callback.h" #include "base/command_line.h" #include "base/files/file_path.h" diff --git a/shell/app/electron_content_client.h b/shell/app/electron_content_client.h index 8ac3a688da3a..86f4f2bd5069 100644 --- a/shell/app/electron_content_client.h +++ b/shell/app/electron_content_client.h @@ -5,8 +5,6 @@ #ifndef SHELL_APP_ELECTRON_CONTENT_CLIENT_H_ #define SHELL_APP_ELECTRON_CONTENT_CLIENT_H_ -#include -#include #include #include "base/files/file_path.h" diff --git a/shell/browser/api/electron_api_app.cc b/shell/browser/api/electron_api_app.cc index 86b1aef1df47..cf85a45f9c29 100644 --- a/shell/browser/api/electron_api_app.cc +++ b/shell/browser/api/electron_api_app.cc @@ -5,8 +5,8 @@ #include "shell/browser/api/electron_api_app.h" #include - #include +#include #include #include "base/callback_helpers.h" diff --git a/shell/browser/api/electron_api_app.h b/shell/browser/api/electron_api_app.h index c787ec038778..6b2da3e75aa3 100644 --- a/shell/browser/api/electron_api_app.h +++ b/shell/browser/api/electron_api_app.h @@ -8,7 +8,6 @@ #include #include #include -#include #include #include "base/task/cancelable_task_tracker.h" diff --git a/shell/browser/api/electron_api_browser_window.cc b/shell/browser/api/electron_api_browser_window.cc index c19544ec44b9..1ed0d9a52dcb 100644 --- a/shell/browser/api/electron_api_browser_window.cc +++ b/shell/browser/api/electron_api_browser_window.cc @@ -4,8 +4,6 @@ #include "shell/browser/api/electron_api_browser_window.h" -#include - #include "base/threading/thread_task_runner_handle.h" #include "content/browser/renderer_host/render_widget_host_impl.h" // nogncheck #include "content/browser/renderer_host/render_widget_host_owner_delegate.h" // nogncheck diff --git a/shell/browser/api/electron_api_browser_window.h b/shell/browser/api/electron_api_browser_window.h index d2fb9b1ac145..a985a60c3c07 100644 --- a/shell/browser/api/electron_api_browser_window.h +++ b/shell/browser/api/electron_api_browser_window.h @@ -5,7 +5,6 @@ #ifndef SHELL_BROWSER_API_ELECTRON_API_BROWSER_WINDOW_H_ #define SHELL_BROWSER_API_ELECTRON_API_BROWSER_WINDOW_H_ -#include #include #include diff --git a/shell/browser/api/electron_api_cookies.cc b/shell/browser/api/electron_api_cookies.cc index f7344817cfe7..c9a162402941 100644 --- a/shell/browser/api/electron_api_cookies.cc +++ b/shell/browser/api/electron_api_cookies.cc @@ -4,7 +4,6 @@ #include "shell/browser/api/electron_api_cookies.h" -#include #include #include "base/time/time.h" diff --git a/shell/browser/api/electron_api_cookies.h b/shell/browser/api/electron_api_cookies.h index a1b0a7e8ef0f..090399c17880 100644 --- a/shell/browser/api/electron_api_cookies.h +++ b/shell/browser/api/electron_api_cookies.h @@ -5,7 +5,6 @@ #ifndef SHELL_BROWSER_API_ELECTRON_API_COOKIES_H_ #define SHELL_BROWSER_API_ELECTRON_API_COOKIES_H_ -#include #include #include "base/callback_list.h" diff --git a/shell/browser/api/electron_api_debugger.h b/shell/browser/api/electron_api_debugger.h index 170df89b4506..9159a15375cf 100644 --- a/shell/browser/api/electron_api_debugger.h +++ b/shell/browser/api/electron_api_debugger.h @@ -6,7 +6,6 @@ #define SHELL_BROWSER_API_ELECTRON_API_DEBUGGER_H_ #include -#include #include "base/callback.h" #include "base/values.h" diff --git a/shell/browser/api/electron_api_dialog.cc b/shell/browser/api/electron_api_dialog.cc index 35ad88dd9e89..e6c5bc3803e0 100644 --- a/shell/browser/api/electron_api_dialog.cc +++ b/shell/browser/api/electron_api_dialog.cc @@ -2,7 +2,6 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#include #include #include diff --git a/shell/browser/api/electron_api_download_item.cc b/shell/browser/api/electron_api_download_item.cc index e839c7ac8894..49285b8f6ebd 100644 --- a/shell/browser/api/electron_api_download_item.cc +++ b/shell/browser/api/electron_api_download_item.cc @@ -4,7 +4,6 @@ #include "shell/browser/api/electron_api_download_item.h" -#include #include #include "base/strings/utf_string_conversions.h" diff --git a/shell/browser/api/electron_api_download_item.h b/shell/browser/api/electron_api_download_item.h index d63c5ff498e0..b89a2931eaad 100644 --- a/shell/browser/api/electron_api_download_item.h +++ b/shell/browser/api/electron_api_download_item.h @@ -6,7 +6,6 @@ #define SHELL_BROWSER_API_ELECTRON_API_DOWNLOAD_ITEM_H_ #include -#include #include "base/files/file_path.h" #include "base/memory/weak_ptr.h" diff --git a/shell/browser/api/electron_api_global_shortcut.cc b/shell/browser/api/electron_api_global_shortcut.cc index 4caf6b95f00b..9125e6cd033e 100644 --- a/shell/browser/api/electron_api_global_shortcut.cc +++ b/shell/browser/api/electron_api_global_shortcut.cc @@ -4,7 +4,6 @@ #include "shell/browser/api/electron_api_global_shortcut.h" -#include #include #include "base/stl_util.h" diff --git a/shell/browser/api/electron_api_global_shortcut.h b/shell/browser/api/electron_api_global_shortcut.h index 99ab90ebbd0a..6a5fe096ef26 100644 --- a/shell/browser/api/electron_api_global_shortcut.h +++ b/shell/browser/api/electron_api_global_shortcut.h @@ -6,7 +6,6 @@ #define SHELL_BROWSER_API_ELECTRON_API_GLOBAL_SHORTCUT_H_ #include -#include #include #include "base/callback.h" diff --git a/shell/browser/api/electron_api_menu.cc b/shell/browser/api/electron_api_menu.cc index c992168e7789..5dc3ca639357 100644 --- a/shell/browser/api/electron_api_menu.cc +++ b/shell/browser/api/electron_api_menu.cc @@ -4,7 +4,6 @@ #include "shell/browser/api/electron_api_menu.h" -#include #include #include "shell/browser/api/ui_event.h" diff --git a/shell/browser/api/electron_api_menu_mac.h b/shell/browser/api/electron_api_menu_mac.h index 5a1802563b28..30bf8ce01026 100644 --- a/shell/browser/api/electron_api_menu_mac.h +++ b/shell/browser/api/electron_api_menu_mac.h @@ -8,7 +8,6 @@ #include "shell/browser/api/electron_api_menu.h" #include -#include #import "shell/browser/ui/cocoa/electron_menu_controller.h" diff --git a/shell/browser/api/electron_api_net_log.cc b/shell/browser/api/electron_api_net_log.cc index 1140a75d3266..1ebc87694134 100644 --- a/shell/browser/api/electron_api_net_log.cc +++ b/shell/browser/api/electron_api_net_log.cc @@ -4,6 +4,7 @@ #include "shell/browser/api/electron_api_net_log.h" +#include #include #include "base/command_line.h" diff --git a/shell/browser/api/electron_api_net_log.h b/shell/browser/api/electron_api_net_log.h index dddea7c20420..212302f96158 100644 --- a/shell/browser/api/electron_api_net_log.h +++ b/shell/browser/api/electron_api_net_log.h @@ -5,10 +5,6 @@ #ifndef SHELL_BROWSER_API_ELECTRON_API_NET_LOG_H_ #define SHELL_BROWSER_API_ELECTRON_API_NET_LOG_H_ -#include -#include -#include - #include "base/callback.h" #include "base/optional.h" #include "base/values.h" diff --git a/shell/browser/api/electron_api_notification.h b/shell/browser/api/electron_api_notification.h index 64a6cbec319f..65684135afe9 100644 --- a/shell/browser/api/electron_api_notification.h +++ b/shell/browser/api/electron_api_notification.h @@ -5,7 +5,6 @@ #ifndef SHELL_BROWSER_API_ELECTRON_API_NOTIFICATION_H_ #define SHELL_BROWSER_API_ELECTRON_API_NOTIFICATION_H_ -#include #include #include diff --git a/shell/browser/api/electron_api_power_save_blocker.h b/shell/browser/api/electron_api_power_save_blocker.h index 055f6f12b044..844d85898491 100644 --- a/shell/browser/api/electron_api_power_save_blocker.h +++ b/shell/browser/api/electron_api_power_save_blocker.h @@ -6,7 +6,6 @@ #define SHELL_BROWSER_API_ELECTRON_API_POWER_SAVE_BLOCKER_H_ #include -#include #include "gin/handle.h" #include "gin/object_template_builder.h" diff --git a/shell/browser/api/electron_api_protocol.cc b/shell/browser/api/electron_api_protocol.cc index 952e32d0d356..4da8d8827e59 100644 --- a/shell/browser/api/electron_api_protocol.cc +++ b/shell/browser/api/electron_api_protocol.cc @@ -4,8 +4,6 @@ #include "shell/browser/api/electron_api_protocol.h" -#include -#include #include #include "base/command_line.h" diff --git a/shell/browser/api/electron_api_screen.cc b/shell/browser/api/electron_api_screen.cc index 5676521799a5..1e4c30b4669a 100644 --- a/shell/browser/api/electron_api_screen.cc +++ b/shell/browser/api/electron_api_screen.cc @@ -4,7 +4,6 @@ #include "shell/browser/api/electron_api_screen.h" -#include #include #include "base/bind.h" diff --git a/shell/browser/api/electron_api_session.cc b/shell/browser/api/electron_api_session.cc index 2e256938510e..282c4c8edec5 100644 --- a/shell/browser/api/electron_api_session.cc +++ b/shell/browser/api/electron_api_session.cc @@ -5,7 +5,6 @@ #include "shell/browser/api/electron_api_session.h" #include -#include #include #include #include diff --git a/shell/browser/api/electron_api_url_loader.cc b/shell/browser/api/electron_api_url_loader.cc index a83c687b4993..e88e243c86d4 100644 --- a/shell/browser/api/electron_api_url_loader.cc +++ b/shell/browser/api/electron_api_url_loader.cc @@ -5,7 +5,6 @@ #include "shell/browser/api/electron_api_url_loader.h" #include -#include #include #include #include diff --git a/shell/browser/api/electron_api_view.h b/shell/browser/api/electron_api_view.h index cf8552114da4..36e9538d7d18 100644 --- a/shell/browser/api/electron_api_view.h +++ b/shell/browser/api/electron_api_view.h @@ -5,7 +5,6 @@ #ifndef SHELL_BROWSER_API_ELECTRON_API_VIEW_H_ #define SHELL_BROWSER_API_ELECTRON_API_VIEW_H_ -#include #include #include "electron/buildflags/buildflags.h" diff --git a/shell/browser/api/electron_api_web_frame_main.h b/shell/browser/api/electron_api_web_frame_main.h index 0291c3284add..f9a052e4a7e2 100644 --- a/shell/browser/api/electron_api_web_frame_main.h +++ b/shell/browser/api/electron_api_web_frame_main.h @@ -5,7 +5,6 @@ #ifndef SHELL_BROWSER_API_ELECTRON_API_WEB_FRAME_MAIN_H_ #define SHELL_BROWSER_API_ELECTRON_API_WEB_FRAME_MAIN_H_ -#include #include #include diff --git a/shell/browser/api/gpuinfo_manager.h b/shell/browser/api/gpuinfo_manager.h index 0437d0922e9a..08d39136af50 100644 --- a/shell/browser/api/gpuinfo_manager.h +++ b/shell/browser/api/gpuinfo_manager.h @@ -6,7 +6,6 @@ #define SHELL_BROWSER_API_GPUINFO_MANAGER_H_ #include -#include #include #include "content/browser/gpu/gpu_data_manager_impl.h" // nogncheck diff --git a/shell/browser/api/save_page_handler.cc b/shell/browser/api/save_page_handler.cc index 70d525f68cbe..5d4534119277 100644 --- a/shell/browser/api/save_page_handler.cc +++ b/shell/browser/api/save_page_handler.cc @@ -4,7 +4,6 @@ #include "shell/browser/api/save_page_handler.h" -#include #include #include "base/callback.h" diff --git a/shell/browser/api/save_page_handler.h b/shell/browser/api/save_page_handler.h index f556d74e8ea2..19ec75179ae2 100644 --- a/shell/browser/api/save_page_handler.h +++ b/shell/browser/api/save_page_handler.h @@ -5,8 +5,6 @@ #ifndef SHELL_BROWSER_API_SAVE_PAGE_HANDLER_H_ #define SHELL_BROWSER_API_SAVE_PAGE_HANDLER_H_ -#include - #include "components/download/public/common/download_item.h" #include "content/public/browser/download_manager.h" #include "content/public/browser/save_page_type.h" diff --git a/shell/browser/badging/badge_manager.cc b/shell/browser/badging/badge_manager.cc index d99be915ca9e..752060e2c96f 100755 --- a/shell/browser/badging/badge_manager.cc +++ b/shell/browser/badging/badge_manager.cc @@ -4,7 +4,6 @@ #include "shell/browser/badging/badge_manager.h" -#include #include #include "base/i18n/number_formatting.h" diff --git a/shell/browser/badging/badge_manager.h b/shell/browser/badging/badge_manager.h index 5df9679b5d14..0f6f69ba1721 100644 --- a/shell/browser/badging/badge_manager.h +++ b/shell/browser/badging/badge_manager.h @@ -5,10 +5,8 @@ #ifndef SHELL_BROWSER_BADGING_BADGE_MANAGER_H_ #define SHELL_BROWSER_BADGING_BADGE_MANAGER_H_ -#include #include #include -#include #include "base/macros.h" #include "base/optional.h" diff --git a/shell/browser/cookie_change_notifier.cc b/shell/browser/cookie_change_notifier.cc index 88fde2207485..f45261d2d4ba 100644 --- a/shell/browser/cookie_change_notifier.cc +++ b/shell/browser/cookie_change_notifier.cc @@ -4,8 +4,6 @@ #include "shell/browser/cookie_change_notifier.h" -#include - #include "base/bind.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/storage_partition.h" diff --git a/shell/browser/cookie_change_notifier.h b/shell/browser/cookie_change_notifier.h index 98efb57bbff8..41225e2a7c12 100644 --- a/shell/browser/cookie_change_notifier.h +++ b/shell/browser/cookie_change_notifier.h @@ -5,8 +5,6 @@ #ifndef SHELL_BROWSER_COOKIE_CHANGE_NOTIFIER_H_ #define SHELL_BROWSER_COOKIE_CHANGE_NOTIFIER_H_ -#include - #include "base/callback_list.h" #include "base/macros.h" #include "mojo/public/cpp/bindings/receiver.h" diff --git a/shell/browser/electron_browser_context.h b/shell/browser/electron_browser_context.h index 1fdf108bd9fd..87052a37c77d 100644 --- a/shell/browser/electron_browser_context.h +++ b/shell/browser/electron_browser_context.h @@ -8,7 +8,6 @@ #include #include #include -#include #include "base/memory/weak_ptr.h" #include "chrome/browser/predictors/preconnect_manager.h" diff --git a/shell/browser/electron_browser_main_parts.cc b/shell/browser/electron_browser_main_parts.cc index 5dba215195d4..eec7486ca60a 100644 --- a/shell/browser/electron_browser_main_parts.cc +++ b/shell/browser/electron_browser_main_parts.cc @@ -5,7 +5,7 @@ #include "shell/browser/electron_browser_main_parts.h" #include - +#include #include #include "base/base_switches.h" diff --git a/shell/browser/electron_browser_main_parts.h b/shell/browser/electron_browser_main_parts.h index f31d0099639e..646d295575cc 100644 --- a/shell/browser/electron_browser_main_parts.h +++ b/shell/browser/electron_browser_main_parts.h @@ -5,9 +5,7 @@ #ifndef SHELL_BROWSER_ELECTRON_BROWSER_MAIN_PARTS_H_ #define SHELL_BROWSER_ELECTRON_BROWSER_MAIN_PARTS_H_ -#include #include -#include #include "base/callback.h" #include "base/metrics/field_trial.h" diff --git a/shell/browser/electron_download_manager_delegate.h b/shell/browser/electron_download_manager_delegate.h index 2c9ae9bc9f76..8a874500971c 100644 --- a/shell/browser/electron_download_manager_delegate.h +++ b/shell/browser/electron_download_manager_delegate.h @@ -5,8 +5,6 @@ #ifndef SHELL_BROWSER_ELECTRON_DOWNLOAD_MANAGER_DELEGATE_H_ #define SHELL_BROWSER_ELECTRON_DOWNLOAD_MANAGER_DELEGATE_H_ -#include - #include "base/memory/weak_ptr.h" #include "content/public/browser/download_manager_delegate.h" #include "shell/browser/ui/file_dialog.h" diff --git a/shell/browser/electron_permission_manager.h b/shell/browser/electron_permission_manager.h index 45e78f9ab7d4..f1bab317cb99 100644 --- a/shell/browser/electron_permission_manager.h +++ b/shell/browser/electron_permission_manager.h @@ -5,7 +5,6 @@ #ifndef SHELL_BROWSER_ELECTRON_PERMISSION_MANAGER_H_ #define SHELL_BROWSER_ELECTRON_PERMISSION_MANAGER_H_ -#include #include #include diff --git a/shell/browser/electron_speech_recognition_manager_delegate.cc b/shell/browser/electron_speech_recognition_manager_delegate.cc index 5a6cfa86daab..d2091fba86cd 100644 --- a/shell/browser/electron_speech_recognition_manager_delegate.cc +++ b/shell/browser/electron_speech_recognition_manager_delegate.cc @@ -4,7 +4,6 @@ #include "shell/browser/electron_speech_recognition_manager_delegate.h" -#include #include #include "base/callback.h" diff --git a/shell/browser/electron_speech_recognition_manager_delegate.h b/shell/browser/electron_speech_recognition_manager_delegate.h index a78ba22dae61..4164aa4c6950 100644 --- a/shell/browser/electron_speech_recognition_manager_delegate.h +++ b/shell/browser/electron_speech_recognition_manager_delegate.h @@ -5,7 +5,6 @@ #ifndef SHELL_BROWSER_ELECTRON_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ #define SHELL_BROWSER_ELECTRON_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ -#include #include #include "base/macros.h" diff --git a/shell/browser/electron_web_ui_controller_factory.cc b/shell/browser/electron_web_ui_controller_factory.cc index 31ed64e7b9ed..c6e159ce7c66 100644 --- a/shell/browser/electron_web_ui_controller_factory.cc +++ b/shell/browser/electron_web_ui_controller_factory.cc @@ -4,8 +4,6 @@ #include "shell/browser/electron_web_ui_controller_factory.h" -#include - #include "chrome/common/webui_url_constants.h" #include "content/public/browser/web_contents.h" #include "electron/buildflags/buildflags.h" diff --git a/shell/browser/extended_web_contents_observer.h b/shell/browser/extended_web_contents_observer.h index 20fd7b455966..f0a91a8b2aba 100644 --- a/shell/browser/extended_web_contents_observer.h +++ b/shell/browser/extended_web_contents_observer.h @@ -5,6 +5,7 @@ #ifndef SHELL_BROWSER_EXTENDED_WEB_CONTENTS_OBSERVER_H_ #define SHELL_BROWSER_EXTENDED_WEB_CONTENTS_OBSERVER_H_ +#include #include #include "base/observer_list.h" diff --git a/shell/browser/extensions/api/streams_private/streams_private_api.cc b/shell/browser/extensions/api/streams_private/streams_private_api.cc index bc1c1c47ab8c..ab5dc0032006 100644 --- a/shell/browser/extensions/api/streams_private/streams_private_api.cc +++ b/shell/browser/extensions/api/streams_private/streams_private_api.cc @@ -4,6 +4,7 @@ #include "electron/shell/browser/extensions/api/streams_private/streams_private_api.h" +#include #include #include "content/public/browser/browser_thread.h" diff --git a/shell/browser/extensions/api/streams_private/streams_private_api.h b/shell/browser/extensions/api/streams_private/streams_private_api.h index ec9c3f093a2e..421016f192f4 100644 --- a/shell/browser/extensions/api/streams_private/streams_private_api.h +++ b/shell/browser/extensions/api/streams_private/streams_private_api.h @@ -5,7 +5,6 @@ #ifndef SHELL_BROWSER_EXTENSIONS_API_STREAMS_PRIVATE_STREAMS_PRIVATE_API_H_ #define SHELL_BROWSER_EXTENSIONS_API_STREAMS_PRIVATE_STREAMS_PRIVATE_API_H_ -#include #include #include "base/macros.h" diff --git a/shell/browser/extensions/electron_extension_loader.h b/shell/browser/extensions/electron_extension_loader.h index c08a7924e880..49c6f630983f 100644 --- a/shell/browser/extensions/electron_extension_loader.h +++ b/shell/browser/extensions/electron_extension_loader.h @@ -5,7 +5,6 @@ #ifndef SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_LOADER_H_ #define SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_LOADER_H_ -#include #include #include diff --git a/shell/browser/extensions/electron_extension_system.h b/shell/browser/extensions/electron_extension_system.h index 09b06f9bc7f8..f9f866f95a8a 100644 --- a/shell/browser/extensions/electron_extension_system.h +++ b/shell/browser/extensions/electron_extension_system.h @@ -7,7 +7,6 @@ #include #include -#include #include "base/compiler_specific.h" #include "base/macros.h" diff --git a/shell/browser/file_select_helper.cc b/shell/browser/file_select_helper.cc index e574960a8f59..24f5019353d3 100644 --- a/shell/browser/file_select_helper.cc +++ b/shell/browser/file_select_helper.cc @@ -4,7 +4,6 @@ #include -#include #include #include diff --git a/shell/browser/file_select_helper.h b/shell/browser/file_select_helper.h index e4dd9e251dea..ffa4d5748a18 100644 --- a/shell/browser/file_select_helper.h +++ b/shell/browser/file_select_helper.h @@ -6,9 +6,6 @@ #define SHELL_BROWSER_FILE_SELECT_HELPER_H_ #include - -#include -#include #include #include "base/files/file_path.h" diff --git a/shell/browser/lib/power_observer_linux.cc b/shell/browser/lib/power_observer_linux.cc index 8ed6b4c9b738..615091ea5749 100644 --- a/shell/browser/lib/power_observer_linux.cc +++ b/shell/browser/lib/power_observer_linux.cc @@ -5,7 +5,6 @@ #include #include -#include #include #include "base/bind.h" diff --git a/shell/browser/login_handler.cc b/shell/browser/login_handler.cc index e0ac4458ff1e..316c5e0debb2 100644 --- a/shell/browser/login_handler.cc +++ b/shell/browser/login_handler.cc @@ -4,10 +4,7 @@ #include "shell/browser/login_handler.h" -#include -#include #include -#include #include "base/callback.h" #include "base/threading/sequenced_task_runner_handle.h" diff --git a/shell/browser/native_browser_view.cc b/shell/browser/native_browser_view.cc index b65e3a89080e..6cd32bc54003 100644 --- a/shell/browser/native_browser_view.cc +++ b/shell/browser/native_browser_view.cc @@ -2,8 +2,6 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#include - #include "shell/browser/native_browser_view.h" #include "shell/browser/api/electron_api_web_contents.h" diff --git a/shell/browser/native_browser_view_views.cc b/shell/browser/native_browser_view_views.cc index d476309fe9ef..16e23adb4c78 100644 --- a/shell/browser/native_browser_view_views.cc +++ b/shell/browser/native_browser_view_views.cc @@ -4,8 +4,6 @@ #include "shell/browser/native_browser_view_views.h" -#include -#include #include #include "shell/browser/ui/drag_util.h" diff --git a/shell/browser/native_window.cc b/shell/browser/native_window.cc index 1de6d968435c..4441e27f3eb8 100644 --- a/shell/browser/native_window.cc +++ b/shell/browser/native_window.cc @@ -6,7 +6,6 @@ #include #include -#include #include #include "base/memory/ptr_util.h" diff --git a/shell/browser/native_window.h b/shell/browser/native_window.h index c1bb7ba28a3f..297728ad197a 100644 --- a/shell/browser/native_window.h +++ b/shell/browser/native_window.h @@ -6,10 +6,8 @@ #define SHELL_BROWSER_NATIVE_WINDOW_H_ #include -#include #include #include -#include #include #include "base/memory/weak_ptr.h" diff --git a/shell/browser/native_window_mac.h b/shell/browser/native_window_mac.h index c02d923084ba..e5c5b0a6ab56 100644 --- a/shell/browser/native_window_mac.h +++ b/shell/browser/native_window_mac.h @@ -10,7 +10,6 @@ #include #include #include -#include #include #include "base/mac/scoped_nsobject.h" diff --git a/shell/browser/native_window_views.cc b/shell/browser/native_window_views.cc index 1a855d106792..1b238209652a 100644 --- a/shell/browser/native_window_views.cc +++ b/shell/browser/native_window_views.cc @@ -9,7 +9,6 @@ #endif #include -#include #include #include diff --git a/shell/browser/native_window_views.h b/shell/browser/native_window_views.h index 52ca6f024531..ae61aeafd438 100644 --- a/shell/browser/native_window_views.h +++ b/shell/browser/native_window_views.h @@ -10,7 +10,6 @@ #include #include #include -#include #include #include "shell/common/api/api.mojom.h" diff --git a/shell/browser/net/proxying_websocket.h b/shell/browser/net/proxying_websocket.h index 6caa8d33e06b..1596b29d64f2 100644 --- a/shell/browser/net/proxying_websocket.h +++ b/shell/browser/net/proxying_websocket.h @@ -5,7 +5,6 @@ #ifndef SHELL_BROWSER_NET_PROXYING_WEBSOCKET_H_ #define SHELL_BROWSER_NET_PROXYING_WEBSOCKET_H_ -#include #include #include #include diff --git a/shell/browser/net/system_network_context_manager.cc b/shell/browser/net/system_network_context_manager.cc index c6c404c83389..dd8724a1f61f 100644 --- a/shell/browser/net/system_network_context_manager.cc +++ b/shell/browser/net/system_network_context_manager.cc @@ -4,6 +4,7 @@ #include "shell/browser/net/system_network_context_manager.h" +#include #include #include diff --git a/shell/browser/net/system_network_context_manager.h b/shell/browser/net/system_network_context_manager.h index 099045fe8b6a..7037b484968b 100644 --- a/shell/browser/net/system_network_context_manager.h +++ b/shell/browser/net/system_network_context_manager.h @@ -5,10 +5,6 @@ #ifndef SHELL_BROWSER_NET_SYSTEM_NETWORK_CONTEXT_MANAGER_H_ #define SHELL_BROWSER_NET_SYSTEM_NETWORK_CONTEXT_MANAGER_H_ -#include -#include -#include - #include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/optional.h" diff --git a/shell/browser/notifications/linux/libnotify_notification.cc b/shell/browser/notifications/linux/libnotify_notification.cc index 8e84a2ed2708..8391566640c3 100644 --- a/shell/browser/notifications/linux/libnotify_notification.cc +++ b/shell/browser/notifications/linux/libnotify_notification.cc @@ -6,7 +6,6 @@ #include #include -#include #include "base/files/file_enumerator.h" #include "base/logging.h" diff --git a/shell/browser/notifications/linux/libnotify_notification.h b/shell/browser/notifications/linux/libnotify_notification.h index b00c5bf60d1a..17eb533513bc 100644 --- a/shell/browser/notifications/linux/libnotify_notification.h +++ b/shell/browser/notifications/linux/libnotify_notification.h @@ -5,9 +5,6 @@ #ifndef SHELL_BROWSER_NOTIFICATIONS_LINUX_LIBNOTIFY_NOTIFICATION_H_ #define SHELL_BROWSER_NOTIFICATIONS_LINUX_LIBNOTIFY_NOTIFICATION_H_ -#include -#include - #include "library_loaders/libnotify_loader.h" #include "shell/browser/notifications/notification.h" #include "ui/base/glib/glib_signal.h" diff --git a/shell/browser/notifications/mac/cocoa_notification.h b/shell/browser/notifications/mac/cocoa_notification.h index b6702505cb57..ffae5541fd08 100644 --- a/shell/browser/notifications/mac/cocoa_notification.h +++ b/shell/browser/notifications/mac/cocoa_notification.h @@ -9,7 +9,6 @@ #include #include -#include #include "base/mac/scoped_nsobject.h" #include "shell/browser/notifications/notification.h" diff --git a/shell/browser/notifications/platform_notification_service.h b/shell/browser/notifications/platform_notification_service.h index ddfa3268bdcf..7830eed0417f 100644 --- a/shell/browser/notifications/platform_notification_service.h +++ b/shell/browser/notifications/platform_notification_service.h @@ -5,7 +5,6 @@ #ifndef SHELL_BROWSER_NOTIFICATIONS_PLATFORM_NOTIFICATION_SERVICE_H_ #define SHELL_BROWSER_NOTIFICATIONS_PLATFORM_NOTIFICATION_SERVICE_H_ -#include #include #include "content/public/browser/platform_notification_service.h" diff --git a/shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.cc b/shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.cc index 74fa6a5f3e43..44777f3ef4a8 100644 --- a/shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.cc +++ b/shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.cc @@ -13,9 +13,7 @@ #include "shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.h" #include -#include #include -#include #include "base/check.h" #include "shell/browser/notifications/win/win32_desktop_notifications/common.h" diff --git a/shell/browser/notifications/win/win32_notification.cc b/shell/browser/notifications/win/win32_notification.cc index b0cdaeb72ddf..c7d97f5eb3f0 100644 --- a/shell/browser/notifications/win/win32_notification.cc +++ b/shell/browser/notifications/win/win32_notification.cc @@ -9,9 +9,7 @@ #include "shell/browser/notifications/win/win32_notification.h" #include -#include #include -#include #include "base/strings/utf_string_conversions.h" #include "third_party/skia/include/core/SkBitmap.h" diff --git a/shell/browser/notifications/win/windows_toast_notification.cc b/shell/browser/notifications/win/windows_toast_notification.cc index 2ece87ae917b..3e6fd53b6620 100644 --- a/shell/browser/notifications/win/windows_toast_notification.cc +++ b/shell/browser/notifications/win/windows_toast_notification.cc @@ -10,7 +10,6 @@ #include #include -#include #include "base/environment.h" #include "base/strings/utf_string_conversions.h" diff --git a/shell/browser/osr/osr_view_proxy.h b/shell/browser/osr/osr_view_proxy.h index c014208a1963..f6e4bea40c1d 100644 --- a/shell/browser/osr/osr_view_proxy.h +++ b/shell/browser/osr/osr_view_proxy.h @@ -6,7 +6,6 @@ #define SHELL_BROWSER_OSR_OSR_VIEW_PROXY_H_ #include -#include #include "third_party/skia/include/core/SkBitmap.h" #include "ui/events/event.h" diff --git a/shell/browser/protocol_registry.cc b/shell/browser/protocol_registry.cc index b278a49b61b4..f462a19111a4 100644 --- a/shell/browser/protocol_registry.cc +++ b/shell/browser/protocol_registry.cc @@ -4,9 +4,6 @@ #include "shell/browser/protocol_registry.h" -#include -#include - #include "content/public/browser/web_contents.h" #include "shell/browser/electron_browser_context.h" #include "shell/browser/net/asar/asar_url_loader_factory.h" diff --git a/shell/browser/relauncher.cc b/shell/browser/relauncher.cc index b86bd252b005..6e91d82c9953 100644 --- a/shell/browser/relauncher.cc +++ b/shell/browser/relauncher.cc @@ -4,9 +4,7 @@ #include "shell/browser/relauncher.h" -#include #include -#include #include "base/files/file_util.h" #include "base/logging.h" diff --git a/shell/browser/relauncher.h b/shell/browser/relauncher.h index 761fbb02dbe8..c97d52751790 100644 --- a/shell/browser/relauncher.h +++ b/shell/browser/relauncher.h @@ -29,9 +29,6 @@ // in light of PID reuse, so the parent must remain alive long enough for the // relauncher to set up its kqueue. -#include -#include - #include "base/command_line.h" #if defined(OS_WIN) diff --git a/shell/browser/serial/serial_chooser_context.cc b/shell/browser/serial/serial_chooser_context.cc index 5497fb114bcd..f03dffb3ad17 100644 --- a/shell/browser/serial/serial_chooser_context.cc +++ b/shell/browser/serial/serial_chooser_context.cc @@ -4,6 +4,7 @@ #include "shell/browser/serial/serial_chooser_context.h" +#include #include #include "base/base64.h" diff --git a/shell/browser/serial/serial_chooser_context.h b/shell/browser/serial/serial_chooser_context.h index 258307d9ff3c..20b9c3ac92f9 100644 --- a/shell/browser/serial/serial_chooser_context.h +++ b/shell/browser/serial/serial_chooser_context.h @@ -6,9 +6,7 @@ #define SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_H_ #include -#include #include -#include #include #include diff --git a/shell/browser/ui/autofill_popup.cc b/shell/browser/ui/autofill_popup.cc index 81d6f1262b7e..1bf596316b85 100644 --- a/shell/browser/ui/autofill_popup.cc +++ b/shell/browser/ui/autofill_popup.cc @@ -4,8 +4,6 @@ #include #include - -#include #include #include "base/i18n/rtl.h" diff --git a/shell/browser/ui/devtools_manager_delegate.cc b/shell/browser/ui/devtools_manager_delegate.cc index bacff6f662f6..0f8bd1252bff 100644 --- a/shell/browser/ui/devtools_manager_delegate.cc +++ b/shell/browser/ui/devtools_manager_delegate.cc @@ -6,7 +6,6 @@ #include #include -#include #include "base/bind.h" #include "base/command_line.h" diff --git a/shell/browser/ui/devtools_manager_delegate.h b/shell/browser/ui/devtools_manager_delegate.h index 197874f2d40d..81ddd8e6a9bf 100644 --- a/shell/browser/ui/devtools_manager_delegate.h +++ b/shell/browser/ui/devtools_manager_delegate.h @@ -5,7 +5,6 @@ #ifndef SHELL_BROWSER_UI_DEVTOOLS_MANAGER_DELEGATE_H_ #define SHELL_BROWSER_UI_DEVTOOLS_MANAGER_DELEGATE_H_ -#include #include #include "base/compiler_specific.h" diff --git a/shell/browser/ui/views/submenu_button.cc b/shell/browser/ui/views/submenu_button.cc index 37420b3f6025..cdc67b5c2095 100644 --- a/shell/browser/ui/views/submenu_button.cc +++ b/shell/browser/ui/views/submenu_button.cc @@ -4,9 +4,6 @@ #include "shell/browser/ui/views/submenu_button.h" -#include -#include - #include "base/strings/string_util.h" #include "base/strings/utf_string_conversions.h" #include "ui/accessibility/ax_enums.mojom.h" diff --git a/shell/browser/ui/webui/accessibility_ui.cc b/shell/browser/ui/webui/accessibility_ui.cc index 250e2ecd85a0..392cb236412c 100644 --- a/shell/browser/ui/webui/accessibility_ui.cc +++ b/shell/browser/ui/webui/accessibility_ui.cc @@ -4,7 +4,10 @@ #include "shell/browser/ui/webui/accessibility_ui.h" +#include +#include #include +#include #include "base/bind.h" #include "base/callback_helpers.h" diff --git a/shell/browser/ui/webui/accessibility_ui.h b/shell/browser/ui/webui/accessibility_ui.h index c38c14e26ef6..9e4a1ea38fc7 100644 --- a/shell/browser/ui/webui/accessibility_ui.h +++ b/shell/browser/ui/webui/accessibility_ui.h @@ -5,10 +5,6 @@ #ifndef SHELL_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_ #define SHELL_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_ -#include -#include -#include - #include "base/macros.h" #include "chrome/browser/accessibility/accessibility_ui.h" #include "content/public/browser/web_ui_controller.h" diff --git a/shell/browser/ui/win/dialog_thread.h b/shell/browser/ui/win/dialog_thread.h index accb8d91bf3b..49e4c6d20dbf 100644 --- a/shell/browser/ui/win/dialog_thread.h +++ b/shell/browser/ui/win/dialog_thread.h @@ -5,7 +5,6 @@ #ifndef SHELL_BROWSER_UI_WIN_DIALOG_THREAD_H_ #define SHELL_BROWSER_UI_WIN_DIALOG_THREAD_H_ -#include #include #include "base/memory/scoped_refptr.h" diff --git a/shell/browser/ui/win/notify_icon.cc b/shell/browser/ui/win/notify_icon.cc index aff97784f479..06f3a6086a4c 100644 --- a/shell/browser/ui/win/notify_icon.cc +++ b/shell/browser/ui/win/notify_icon.cc @@ -5,7 +5,6 @@ #include "shell/browser/ui/win/notify_icon.h" #include -#include #include "base/logging.h" #include "base/strings/string_number_conversions.h" diff --git a/shell/browser/web_contents_zoom_controller.cc b/shell/browser/web_contents_zoom_controller.cc index 7f0e2e7dd243..153457e28c38 100644 --- a/shell/browser/web_contents_zoom_controller.cc +++ b/shell/browser/web_contents_zoom_controller.cc @@ -4,6 +4,8 @@ #include "shell/browser/web_contents_zoom_controller.h" +#include + #include "content/public/browser/navigation_details.h" #include "content/public/browser/navigation_entry.h" #include "content/public/browser/navigation_handle.h" diff --git a/shell/browser/web_contents_zoom_controller.h b/shell/browser/web_contents_zoom_controller.h index f289fcc45cc2..720a0fbe1be9 100644 --- a/shell/browser/web_contents_zoom_controller.h +++ b/shell/browser/web_contents_zoom_controller.h @@ -5,9 +5,6 @@ #ifndef SHELL_BROWSER_WEB_CONTENTS_ZOOM_CONTROLLER_H_ #define SHELL_BROWSER_WEB_CONTENTS_ZOOM_CONTROLLER_H_ -#include -#include - #include "base/observer_list_types.h" #include "content/public/browser/host_zoom_map.h" #include "content/public/browser/web_contents_observer.h" diff --git a/shell/browser/web_dialog_helper.cc b/shell/browser/web_dialog_helper.cc index 8146b7e055c2..cf94412156ad 100644 --- a/shell/browser/web_dialog_helper.cc +++ b/shell/browser/web_dialog_helper.cc @@ -4,8 +4,6 @@ #include "shell/browser/web_dialog_helper.h" -#include - #include #include #include diff --git a/shell/browser/web_dialog_helper.h b/shell/browser/web_dialog_helper.h index 3ef07327b7bb..0ac4748fe0c5 100644 --- a/shell/browser/web_dialog_helper.h +++ b/shell/browser/web_dialog_helper.h @@ -5,9 +5,6 @@ #ifndef SHELL_BROWSER_WEB_DIALOG_HELPER_H_ #define SHELL_BROWSER_WEB_DIALOG_HELPER_H_ -#include -#include - #include "base/memory/weak_ptr.h" #include "third_party/blink/public/mojom/choosers/file_chooser.mojom.h" diff --git a/shell/browser/zoom_level_delegate.h b/shell/browser/zoom_level_delegate.h index 559094652747..773cf10c7de4 100644 --- a/shell/browser/zoom_level_delegate.h +++ b/shell/browser/zoom_level_delegate.h @@ -5,7 +5,6 @@ #ifndef SHELL_BROWSER_ZOOM_LEVEL_DELEGATE_H_ #define SHELL_BROWSER_ZOOM_LEVEL_DELEGATE_H_ -#include #include #include "base/files/file_path.h" diff --git a/shell/common/api/electron_api_native_image_win.cc b/shell/common/api/electron_api_native_image_win.cc index 455b702f2310..7220e7fecbd5 100644 --- a/shell/common/api/electron_api_native_image_win.cc +++ b/shell/common/api/electron_api_native_image_win.cc @@ -9,9 +9,6 @@ #include #include -#include -#include - #include "shell/common/gin_converters/image_converter.h" #include "shell/common/gin_helper/promise.h" #include "shell/common/skia_util.h" diff --git a/shell/common/api/electron_api_v8_util.cc b/shell/common/api/electron_api_v8_util.cc index 3c45f1a23542..8d1bceb904ff 100644 --- a/shell/common/api/electron_api_v8_util.cc +++ b/shell/common/api/electron_api_v8_util.cc @@ -2,7 +2,6 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#include #include #include "base/hash/hash.h" diff --git a/shell/common/application_info_linux.cc b/shell/common/application_info_linux.cc index 44d14048405d..80de26530f8a 100644 --- a/shell/common/application_info_linux.cc +++ b/shell/common/application_info_linux.cc @@ -7,7 +7,6 @@ #include #include -#include #include #include "base/environment.h" diff --git a/shell/common/electron_command_line.h b/shell/common/electron_command_line.h index 7a3cdc5b9275..efacde0f76ab 100644 --- a/shell/common/electron_command_line.h +++ b/shell/common/electron_command_line.h @@ -5,9 +5,6 @@ #ifndef SHELL_COMMON_ELECTRON_COMMAND_LINE_H_ #define SHELL_COMMON_ELECTRON_COMMAND_LINE_H_ -#include -#include - #include "base/command_line.h" #include "base/macros.h" #include "build/build_config.h" diff --git a/shell/common/extensions/electron_extensions_api_provider.cc b/shell/common/extensions/electron_extensions_api_provider.cc index bdf7fca4ab75..8a10e5054724 100644 --- a/shell/common/extensions/electron_extensions_api_provider.cc +++ b/shell/common/extensions/electron_extensions_api_provider.cc @@ -6,7 +6,6 @@ #include #include -#include #include "base/containers/span.h" #include "base/strings/utf_string_conversions.h" diff --git a/shell/common/gin_converters/blink_converter.cc b/shell/common/gin_converters/blink_converter.cc index 2e6b49f0b693..772305dbb5d0 100644 --- a/shell/common/gin_converters/blink_converter.cc +++ b/shell/common/gin_converters/blink_converter.cc @@ -6,7 +6,6 @@ #include #include -#include #include #include "base/strings/string_util.h" diff --git a/shell/common/gin_converters/content_converter.cc b/shell/common/gin_converters/content_converter.cc index e50861480e52..f95ad09b5939 100644 --- a/shell/common/gin_converters/content_converter.cc +++ b/shell/common/gin_converters/content_converter.cc @@ -5,7 +5,6 @@ #include "shell/common/gin_converters/content_converter.h" #include -#include #include "content/public/browser/context_menu_params.h" #include "content/public/browser/native_web_keyboard_event.h" diff --git a/shell/common/gin_converters/time_converter.h b/shell/common/gin_converters/time_converter.h index 0b0923f911a2..3c4a0539873f 100644 --- a/shell/common/gin_converters/time_converter.h +++ b/shell/common/gin_converters/time_converter.h @@ -5,8 +5,6 @@ #ifndef SHELL_COMMON_GIN_CONVERTERS_TIME_CONVERTER_H_ #define SHELL_COMMON_GIN_CONVERTERS_TIME_CONVERTER_H_ -#include - #include "gin/converter.h" namespace base { diff --git a/shell/common/skia_util.h b/shell/common/skia_util.h index ef1c3ba864f1..720cebdcea2d 100644 --- a/shell/common/skia_util.h +++ b/shell/common/skia_util.h @@ -5,8 +5,6 @@ #ifndef SHELL_COMMON_SKIA_UTIL_H_ #define SHELL_COMMON_SKIA_UTIL_H_ -#include - #include "ui/gfx/image/image_skia.h" namespace electron { diff --git a/shell/renderer/api/electron_api_context_bridge.cc b/shell/renderer/api/electron_api_context_bridge.cc index e86dd0999fe3..d1d5c6cdbca4 100644 --- a/shell/renderer/api/electron_api_context_bridge.cc +++ b/shell/renderer/api/electron_api_context_bridge.cc @@ -4,7 +4,6 @@ #include "shell/renderer/api/electron_api_context_bridge.h" -#include #include #include #include diff --git a/shell/renderer/api/electron_api_spell_check_client.cc b/shell/renderer/api/electron_api_spell_check_client.cc index 6b18148dd86f..48d9e38e0d15 100644 --- a/shell/renderer/api/electron_api_spell_check_client.cc +++ b/shell/renderer/api/electron_api_spell_check_client.cc @@ -4,9 +4,7 @@ #include "shell/renderer/api/electron_api_spell_check_client.h" -#include #include - #include #include #include diff --git a/shell/renderer/electron_api_service_impl.h b/shell/renderer/electron_api_service_impl.h index ffc097c4f923..68f43649f038 100644 --- a/shell/renderer/electron_api_service_impl.h +++ b/shell/renderer/electron_api_service_impl.h @@ -5,7 +5,6 @@ #ifndef SHELL_RENDERER_ELECTRON_API_SERVICE_IMPL_H_ #define SHELL_RENDERER_ELECTRON_API_SERVICE_IMPL_H_ -#include #include #include "base/memory/weak_ptr.h" diff --git a/shell/renderer/electron_render_frame_observer.cc b/shell/renderer/electron_render_frame_observer.cc index ecd6c7f0dc44..9b928f427a80 100644 --- a/shell/renderer/electron_render_frame_observer.cc +++ b/shell/renderer/electron_render_frame_observer.cc @@ -4,7 +4,6 @@ #include "shell/renderer/electron_render_frame_observer.h" -#include #include #include diff --git a/shell/renderer/electron_renderer_client.cc b/shell/renderer/electron_renderer_client.cc index 8edac6c3534b..d55e0a067bfe 100644 --- a/shell/renderer/electron_renderer_client.cc +++ b/shell/renderer/electron_renderer_client.cc @@ -5,7 +5,6 @@ #include "shell/renderer/electron_renderer_client.h" #include -#include #include "base/command_line.h" #include "content/public/renderer/render_frame.h" diff --git a/shell/renderer/electron_renderer_client.h b/shell/renderer/electron_renderer_client.h index 102008d44cb3..dd1e0bd4826c 100644 --- a/shell/renderer/electron_renderer_client.h +++ b/shell/renderer/electron_renderer_client.h @@ -8,7 +8,6 @@ #include #include #include -#include #include "shell/renderer/renderer_client_base.h" diff --git a/shell/renderer/electron_sandboxed_renderer_client.cc b/shell/renderer/electron_sandboxed_renderer_client.cc index 0302567b97d5..84cd6817cedc 100644 --- a/shell/renderer/electron_sandboxed_renderer_client.cc +++ b/shell/renderer/electron_sandboxed_renderer_client.cc @@ -4,6 +4,8 @@ #include "shell/renderer/electron_sandboxed_renderer_client.h" +#include + #include "base/base_paths.h" #include "base/command_line.h" #include "base/files/file_path.h" diff --git a/shell/renderer/electron_sandboxed_renderer_client.h b/shell/renderer/electron_sandboxed_renderer_client.h index a3ccf2c6ebbd..efbe3cbaf823 100644 --- a/shell/renderer/electron_sandboxed_renderer_client.h +++ b/shell/renderer/electron_sandboxed_renderer_client.h @@ -7,7 +7,6 @@ #include #include #include -#include #include "base/process/process_metrics.h" #include "shell/renderer/renderer_client_base.h" diff --git a/shell/renderer/renderer_client_base.h b/shell/renderer/renderer_client_base.h index dc713512b10c..a9b2ed17d517 100644 --- a/shell/renderer/renderer_client_base.h +++ b/shell/renderer/renderer_client_base.h @@ -7,7 +7,6 @@ #include #include -#include #include #include "content/public/renderer/content_renderer_client.h" diff --git a/shell/utility/electron_content_utility_client.h b/shell/utility/electron_content_utility_client.h index 4177ca8c9216..cff4b1a95816 100644 --- a/shell/utility/electron_content_utility_client.h +++ b/shell/utility/electron_content_utility_client.h @@ -6,8 +6,6 @@ #define SHELL_UTILITY_ELECTRON_CONTENT_UTILITY_CLIENT_H_ #include -#include -#include #include "base/compiler_specific.h" #include "content/public/utility/content_utility_client.h"