From 02b6c6acf854a3a2da2d168a474e2188f5f6078f Mon Sep 17 00:00:00 2001 From: David Sanders Date: Fri, 28 May 2021 15:16:27 -0700 Subject: [PATCH] chore: trim unused STL includes --- 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 14517ee8ebc81..1c35071574507 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 1cac06a33f168..6367cb06f9bc6 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 8ac3a688da3ab..86f4f2bd5069e 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 86b1aef1df475..cf85a45f9c297 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 c787ec0387785..6b2da3e75aa34 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 c19544ec44b92..1ed0d9a52dcb0 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 d2fb9b1ac1452..a985a60c3c07f 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 f7344817cfe72..c9a162402941c 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 a1b0a7e8ef0fd..090399c178809 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 170df89b45066..9159a15375cfe 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 35ad88dd9e890..e6c5bc3803e07 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 e839c7ac88949..49285b8f6ebda 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 d63c5ff498e09..b89a2931eaadb 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 4caf6b95f00b4..9125e6cd033ed 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 99ab90ebbd0ae..6a5fe096ef260 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 c992168e77893..5dc3ca6393573 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 5a1802563b28f..30bf8ce01026e 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 1140a75d3266a..1ebc876941348 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 dddea7c204204..212302f96158c 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 64a6cbec319f3..65684135afe9b 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 055f6f12b044b..844d858984910 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 952e32d0d3566..4da8d8827e59c 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 5676521799a5e..1e4c30b4669aa 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 2e256938510e2..282c4c8edec5b 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 a83c687b4993a..e88e243c86d48 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 cf8552114da4f..36e9538d7d185 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 0291c3284add6..f9a052e4a7e27 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 0437d0922e9a3..08d39136af50f 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 70d525f68cbef..5d45341192773 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 f556d74e8ea24..19ec75179ae2b 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 d99be915ca9e4..752060e2c96f5 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 5df9679b5d148..0f6f69ba17217 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 88fde22074859..f45261d2d4ba1 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 98efb57bbff8d..41225e2a7c129 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 1fdf108bd9fd9..87052a37c77d4 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 5dba215195d44..eec7486ca60aa 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 f31d0099639e0..646d295575cc0 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 2c9ae9bc9f767..8a874500971c0 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 45e78f9ab7d44..f1bab317cb994 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 5a6cfa86daab2..d2091fba86cd4 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 a78ba22dae610..4164aa4c69504 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 31ed64e7b9edd..c6e159ce7c661 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 20fd7b4559667..f0a91a8b2aba8 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 bc1c1c47ab8ce..ab5dc00320068 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 ec9c3f093a2ed..421016f192f4f 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 c08a7924e8802..49c6f630983f1 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 09b06f9bc7f85..f9f866f95a8ae 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 e574960a8f59c..24f5019353d3b 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 e4dd9e251dea0..ffa4d5748a18c 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 8ed6b4c9b7386..615091ea57495 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 e0ac4458ff1e3..316c5e0debb22 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 b65e3a89080ea..6cd32bc540032 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 d476309fe9ef0..16e23adb4c784 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 1de6d968435c5..4441e27f3eb89 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 c1bb7ba28a3fc..297728ad197a6 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 c02d923084baa..e5c5b0a6ab569 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 1a855d1067922..1b238209652ae 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 52ca6f024531c..ae61aeafd438e 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 6caa8d33e06be..1596b29d64f22 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 c6c404c833895..dd8724a1f61f7 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 099045fe8b6ac..7037b484968bd 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 8e84a2ed27080..8391566640c32 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 b00c5bf60d1ad..17eb533513bc0 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 b6702505cb578..ffae5541fd084 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 ddfa3268bdcff..7830eed0417f0 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 74fa6a5f3e43e..44777f3ef4a81 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 b0cdaeb72ddf3..c7d97f5eb3f06 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 2ece87ae917bd..3e6fd53b66209 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 c014208a1963c..f6e4bea40c1d2 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 b278a49b61b4d..f462a19111a4f 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 b86bd252b0052..6e91d82c99531 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 761fbb02dbe86..c97d52751790c 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 5497fb114bcd3..f03dffb3ad177 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 258307d9ff3cc..20b9c3ac92f95 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 81d6f1262b7e6..1bf596316b85f 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 bacff6f662f6f..0f8bd1252bffe 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 197874f2d40d6..81ddd8e6a9bff 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 37420b3f60257..cdc67b5c20950 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 250e2ecd85a0b..392cb236412c9 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 c38c14e26ef66..9e4a1ea38fc76 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 accb8d91bf3b7..49e4c6d20dbf5 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 aff97784f479c..06f3a6086a4c5 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 7f0e2e7dd2439..153457e28c389 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 f289fcc45cc20..720a0fbe1be95 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 8146b7e055c25..cf94412156ad9 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 3ef07327b7bbc..0ac4748fe0c51 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 5590946527473..773cf10c7de41 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 455b702f2310f..7220e7fecbd50 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 3c45f1a235422..8d1bceb904ff4 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 44d14048405d7..80de26530f8a7 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 7a3cdc5b92759..efacde0f76ab7 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 bdf7fca4ab75c..8a10e5054724e 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 2e6b49f0b6938..772305dbb5d02 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 e50861480e52b..f95ad09b59398 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 0b0923f911a29..3c4a0539873fd 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 ef1c3ba864f18..720cebdcea2db 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 e86dd0999fe36..d1d5c6cdbca40 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 6b18148dd86fc..48d9e38e0d152 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 ffc097c4f923c..68f43649f038c 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 ecd6c7f0dc443..9b928f427a80e 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 8edac6c3534b9..d55e0a067bfeb 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 102008d44cb36..dd1e0bd4826cf 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 0302567b97d55..84cd6817cedc1 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 a3ccf2c6ebbd6..efbe3cbaf8233 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 dc713512b10cd..a9b2ed17d517e 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 4177ca8c92168..cff4b1a958163 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"