From 45bae950d58165d5e0c08843d449e5b0f99bf933 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 12 Sep 2024 09:05:37 -0500 Subject: [PATCH] chore: remove unused base/ includes (#43688) --- build/fuses/build.py | 1 - shell/app/electron_main_linux.cc | 1 - shell/browser/api/electron_api_crash_reporter.cc | 2 -- shell/browser/api/electron_api_desktop_capturer.cc | 2 +- shell/browser/api/electron_api_service_worker_context.cc | 1 - shell/browser/api/message_port.cc | 1 - shell/browser/badging/badge_manager_factory.cc | 1 - shell/browser/browser.cc | 1 - shell/browser/electron_autofill_driver_factory.cc | 1 - shell/browser/electron_browser_client.cc | 1 - .../extensions/api/extension_action/extension_action_api.cc | 1 - .../api/management/electron_management_api_delegate.cc | 2 -- shell/browser/extensions/electron_extension_host_delegate.cc | 1 - shell/browser/extensions/electron_extension_loader.cc | 1 - shell/browser/extensions/electron_extension_system.cc | 1 - shell/browser/extensions/electron_process_manager_delegate.cc | 1 - shell/browser/fake_location_provider.cc | 1 - .../file_system_access_permission_context_factory.cc | 1 - shell/browser/javascript_environment.cc | 1 - shell/browser/net/asar/asar_file_validator.cc | 1 - shell/browser/notifications/win/notification_presenter_win.cc | 1 - shell/browser/notifications/win/windows_toast_notification.cc | 1 - shell/browser/serial/serial_chooser_controller.cc | 1 - shell/browser/special_storage_policy.cc | 1 - shell/browser/ui/cocoa/electron_menu_controller.mm | 1 - shell/browser/ui/cocoa/window_buttons_proxy.mm | 1 - shell/browser/ui/inspectable_web_contents.cc | 1 - shell/browser/ui/views/global_menu_bar_x11.cc | 1 - shell/browser/ui/views/inspectable_web_contents_view_views.cc | 1 - shell/browser/window_list.cc | 1 - shell/browser/zoom_level_delegate.cc | 1 - shell/common/api/electron_api_command_line.cc | 1 - shell/common/api/electron_api_url_loader.cc | 2 -- shell/common/application_info_win.cc | 1 - shell/common/color_util.cc | 1 - shell/common/extensions/electron_extensions_client.cc | 1 - shell/common/gin_converters/net_converter.cc | 1 - shell/common/gin_helper/trackable_object.h | 1 - shell/common/gin_helper/wrappable.cc | 1 - shell/common/node_bindings_win.cc | 1 - shell/renderer/api/electron_api_crash_reporter_renderer.cc | 1 - shell/renderer/renderer_client_base.cc | 4 ---- shell/utility/electron_content_utility_client.cc | 1 - 43 files changed, 1 insertion(+), 49 deletions(-) diff --git a/build/fuses/build.py b/build/fuses/build.py index 27cddd9ac0..77f269f6e8 100755 --- a/build/fuses/build.py +++ b/build/fuses/build.py @@ -36,7 +36,6 @@ TEMPLATE_CC = """ #if DCHECK_IS_ON() #include "base/command_line.h" -#include "base/strings/string_util.h" #include #endif diff --git a/shell/app/electron_main_linux.cc b/shell/app/electron_main_linux.cc index 1a6a2b06a0..14347d4880 100644 --- a/shell/app/electron_main_linux.cc +++ b/shell/app/electron_main_linux.cc @@ -6,7 +6,6 @@ #include #include "base/at_exit.h" -#include "base/base_switches.h" #include "base/command_line.h" #include "base/i18n/icu_util.h" #include "content/public/app/content_main.h" diff --git a/shell/browser/api/electron_api_crash_reporter.cc b/shell/browser/api/electron_api_crash_reporter.cc index 2d2cf673a6..bd0a5a90c7 100644 --- a/shell/browser/api/electron_api_crash_reporter.cc +++ b/shell/browser/api/electron_api_crash_reporter.cc @@ -10,7 +10,6 @@ #include #include -#include "base/functional/bind.h" #include "base/no_destructor.h" #include "base/path_service.h" #include "base/strings/utf_string_conversions.h" @@ -39,7 +38,6 @@ #endif #if BUILDFLAG(IS_LINUX) -#include "base/containers/span.h" #include "base/files/file_util.h" #include "base/uuid.h" #include "components/crash/core/common/crash_keys.h" diff --git a/shell/browser/api/electron_api_desktop_capturer.cc b/shell/browser/api/electron_api_desktop_capturer.cc index 62beae3da1..74e71b0bbb 100644 --- a/shell/browser/api/electron_api_desktop_capturer.cc +++ b/shell/browser/api/electron_api_desktop_capturer.cc @@ -9,7 +9,6 @@ #include #include "base/containers/flat_map.h" -#include "base/strings/string_number_conversions.h" #include "base/strings/utf_string_conversions.h" #include "base/threading/thread_restrictions.h" #include "chrome/browser/media/webrtc/desktop_capturer_wrapper.h" @@ -43,6 +42,7 @@ #endif #if BUILDFLAG(IS_MAC) +#include "base/strings/string_number_conversions.h" #include "ui/base/cocoa/permissions_utils.h" #endif diff --git a/shell/browser/api/electron_api_service_worker_context.cc b/shell/browser/api/electron_api_service_worker_context.cc index 814ab8cb3e..5f1bc4083a 100644 --- a/shell/browser/api/electron_api_service_worker_context.cc +++ b/shell/browser/api/electron_api_service_worker_context.cc @@ -7,7 +7,6 @@ #include #include -#include "base/strings/string_number_conversions.h" #include "chrome/browser/browser_process.h" #include "content/public/browser/console_message.h" #include "content/public/browser/storage_partition.h" diff --git a/shell/browser/api/message_port.cc b/shell/browser/api/message_port.cc index f531f05217..1c9f73aff8 100644 --- a/shell/browser/api/message_port.cc +++ b/shell/browser/api/message_port.cc @@ -10,7 +10,6 @@ #include "base/containers/contains.h" #include "base/containers/to_vector.h" -#include "base/strings/string_number_conversions.h" #include "base/task/single_thread_task_runner.h" #include "gin/arguments.h" #include "gin/data_object_builder.h" diff --git a/shell/browser/badging/badge_manager_factory.cc b/shell/browser/badging/badge_manager_factory.cc index 7f5047cf7d..ca2e487983 100644 --- a/shell/browser/badging/badge_manager_factory.cc +++ b/shell/browser/badging/badge_manager_factory.cc @@ -4,7 +4,6 @@ #include "shell/browser/badging/badge_manager_factory.h" -#include "base/functional/bind.h" #include "base/memory/ptr_util.h" #include "components/keyed_service/content/browser_context_dependency_manager.h" #include "shell/browser/badging/badge_manager.h" diff --git a/shell/browser/browser.cc b/shell/browser/browser.cc index c1fb07eefa..711aa4c2b9 100644 --- a/shell/browser/browser.cc +++ b/shell/browser/browser.cc @@ -10,7 +10,6 @@ #include "base/files/file_util.h" #include "base/path_service.h" -#include "base/run_loop.h" #include "base/task/single_thread_task_runner.h" #include "base/threading/thread_restrictions.h" #include "chrome/common/chrome_paths.h" diff --git a/shell/browser/electron_autofill_driver_factory.cc b/shell/browser/electron_autofill_driver_factory.cc index edbea8e4b0..2a6b0e0e87 100644 --- a/shell/browser/electron_autofill_driver_factory.cc +++ b/shell/browser/electron_autofill_driver_factory.cc @@ -7,7 +7,6 @@ #include #include -#include "base/functional/bind.h" #include "content/public/browser/navigation_handle.h" #include "content/public/browser/render_frame_host.h" #include "content/public/browser/web_contents.h" diff --git a/shell/browser/electron_browser_client.cc b/shell/browser/electron_browser_client.cc index d86874f8df..d890a3d134 100644 --- a/shell/browser/electron_browser_client.cc +++ b/shell/browser/electron_browser_client.cc @@ -22,7 +22,6 @@ #include "base/path_service.h" #include "base/process/process_metrics.h" #include "base/strings/escape.h" -#include "base/strings/string_number_conversions.h" #include "base/strings/string_util.h" #include "chrome/browser/browser_process.h" #include "chrome/common/chrome_paths.h" diff --git a/shell/browser/extensions/api/extension_action/extension_action_api.cc b/shell/browser/extensions/api/extension_action/extension_action_api.cc index 19d2be3c10..7b28cb7b5a 100644 --- a/shell/browser/extensions/api/extension_action/extension_action_api.cc +++ b/shell/browser/extensions/api/extension_action/extension_action_api.cc @@ -9,7 +9,6 @@ #include #include -#include "base/functional/bind.h" #include "base/no_destructor.h" #include "extensions/browser/event_router.h" #include "extensions/browser/extension_prefs.h" diff --git a/shell/browser/extensions/api/management/electron_management_api_delegate.cc b/shell/browser/extensions/api/management/electron_management_api_delegate.cc index 2dc842cad6..6f0c725068 100644 --- a/shell/browser/extensions/api/management/electron_management_api_delegate.cc +++ b/shell/browser/extensions/api/management/electron_management_api_delegate.cc @@ -9,9 +9,7 @@ #include #include -#include "base/functional/bind.h" #include "base/strings/stringprintf.h" -#include "base/strings/utf_string_conversions.h" #include "chrome/common/extensions/extension_metrics.h" #include "chrome/common/extensions/manifest_handlers/app_launch_info.h" #include "chrome/common/webui_url_constants.h" diff --git a/shell/browser/extensions/electron_extension_host_delegate.cc b/shell/browser/extensions/electron_extension_host_delegate.cc index f935f23773..9b4f2331b2 100644 --- a/shell/browser/extensions/electron_extension_host_delegate.cc +++ b/shell/browser/extensions/electron_extension_host_delegate.cc @@ -8,7 +8,6 @@ #include #include -#include "base/logging.h" #include "extensions/browser/media_capture_util.h" #include "shell/browser/api/electron_api_web_contents.h" #include "shell/browser/extensions/electron_extension_web_contents_observer.h" diff --git a/shell/browser/extensions/electron_extension_loader.cc b/shell/browser/extensions/electron_extension_loader.cc index 252b9507f8..7d9fbed61c 100644 --- a/shell/browser/extensions/electron_extension_loader.cc +++ b/shell/browser/extensions/electron_extension_loader.cc @@ -11,7 +11,6 @@ #include "base/files/file_util.h" #include "base/functional/bind.h" #include "base/logging.h" -#include "base/strings/string_number_conversions.h" #include "base/strings/utf_string_conversions.h" #include "base/task/sequenced_task_runner.h" #include "base/threading/thread_restrictions.h" diff --git a/shell/browser/extensions/electron_extension_system.cc b/shell/browser/extensions/electron_extension_system.cc index 6ab4279b27..be4edd66ee 100644 --- a/shell/browser/extensions/electron_extension_system.cc +++ b/shell/browser/extensions/electron_extension_system.cc @@ -10,7 +10,6 @@ #include #include "base/files/file_path.h" -#include "base/functional/bind.h" #include "base/json/json_string_value_serializer.h" #include "base/path_service.h" #include "base/values.h" diff --git a/shell/browser/extensions/electron_process_manager_delegate.cc b/shell/browser/extensions/electron_process_manager_delegate.cc index 31f30ed067..805461fb25 100644 --- a/shell/browser/extensions/electron_process_manager_delegate.cc +++ b/shell/browser/extensions/electron_process_manager_delegate.cc @@ -5,7 +5,6 @@ #include "shell/browser/extensions/electron_process_manager_delegate.h" -#include "base/command_line.h" #include "base/one_shot_event.h" #include "extensions/browser/extension_system.h" #include "extensions/browser/process_manager.h" diff --git a/shell/browser/fake_location_provider.cc b/shell/browser/fake_location_provider.cc index 60d1c51490..3705ef94ea 100644 --- a/shell/browser/fake_location_provider.cc +++ b/shell/browser/fake_location_provider.cc @@ -4,7 +4,6 @@ #include "shell/browser/fake_location_provider.h" -#include "base/time/time.h" #include "services/device/public/mojom/geoposition.mojom-shared.h" #include "services/device/public/mojom/geoposition.mojom.h" diff --git a/shell/browser/file_system_access/file_system_access_permission_context_factory.cc b/shell/browser/file_system_access/file_system_access_permission_context_factory.cc index ff553fc2dc..ec146d9894 100644 --- a/shell/browser/file_system_access/file_system_access_permission_context_factory.cc +++ b/shell/browser/file_system_access/file_system_access_permission_context_factory.cc @@ -4,7 +4,6 @@ #include "shell/browser/file_system_access/file_system_access_permission_context_factory.h" -#include "base/functional/bind.h" #include "base/memory/ptr_util.h" #include "base/no_destructor.h" #include "components/keyed_service/content/browser_context_dependency_manager.h" diff --git a/shell/browser/javascript_environment.cc b/shell/browser/javascript_environment.cc index 230b9ecbf6..b5ba26cb79 100644 --- a/shell/browser/javascript_environment.cc +++ b/shell/browser/javascript_environment.cc @@ -14,7 +14,6 @@ #include "base/bits.h" #include "base/command_line.h" #include "base/feature_list.h" -#include "base/no_destructor.h" #include "base/task/current_thread.h" #include "base/task/single_thread_task_runner.h" #include "base/task/thread_pool/initialization_util.h" diff --git a/shell/browser/net/asar/asar_file_validator.cc b/shell/browser/net/asar/asar_file_validator.cc index 342635a5f5..83c854efbc 100644 --- a/shell/browser/net/asar/asar_file_validator.cc +++ b/shell/browser/net/asar/asar_file_validator.cc @@ -10,7 +10,6 @@ #include #include "base/logging.h" -#include "base/notreached.h" #include "base/strings/string_number_conversions.h" #include "base/strings/string_util.h" #include "crypto/sha2.h" diff --git a/shell/browser/notifications/win/notification_presenter_win.cc b/shell/browser/notifications/win/notification_presenter_win.cc index 3a653c1fdf..2dbf831180 100644 --- a/shell/browser/notifications/win/notification_presenter_win.cc +++ b/shell/browser/notifications/win/notification_presenter_win.cc @@ -14,7 +14,6 @@ #include "base/files/file_util.h" #include "base/hash/md5.h" #include "base/logging.h" -#include "base/strings/string_number_conversions.h" #include "base/strings/utf_string_conversions.h" #include "base/time/time.h" #include "shell/browser/notifications/win/windows_toast_notification.h" diff --git a/shell/browser/notifications/win/windows_toast_notification.cc b/shell/browser/notifications/win/windows_toast_notification.cc index fae04cd611..9c0947b2d0 100644 --- a/shell/browser/notifications/win/windows_toast_notification.cc +++ b/shell/browser/notifications/win/windows_toast_notification.cc @@ -17,7 +17,6 @@ #include "base/hash/hash.h" #include "base/logging.h" #include "base/strings/strcat.h" -#include "base/strings/string_number_conversions.h" #include "base/strings/string_util_win.h" #include "content/public/browser/browser_task_traits.h" #include "content/public/browser/browser_thread.h" diff --git a/shell/browser/serial/serial_chooser_controller.cc b/shell/browser/serial/serial_chooser_controller.cc index 99c7ae1681..d0f8945afc 100644 --- a/shell/browser/serial/serial_chooser_controller.cc +++ b/shell/browser/serial/serial_chooser_controller.cc @@ -7,7 +7,6 @@ #include #include -#include "base/files/file_path.h" #include "base/functional/bind.h" #include "base/strings/stringprintf.h" #include "content/public/browser/web_contents.h" diff --git a/shell/browser/special_storage_policy.cc b/shell/browser/special_storage_policy.cc index b2818971cf..9a60656480 100644 --- a/shell/browser/special_storage_policy.cc +++ b/shell/browser/special_storage_policy.cc @@ -4,7 +4,6 @@ #include "shell/browser/special_storage_policy.h" -#include "base/functional/bind.h" #include "services/network/public/cpp/session_cookie_delete_predicate.h" namespace electron { diff --git a/shell/browser/ui/cocoa/electron_menu_controller.mm b/shell/browser/ui/cocoa/electron_menu_controller.mm index dc7a32ee5c..d23e007dd0 100644 --- a/shell/browser/ui/cocoa/electron_menu_controller.mm +++ b/shell/browser/ui/cocoa/electron_menu_controller.mm @@ -10,7 +10,6 @@ #include "base/apple/foundation_util.h" #include "base/functional/callback.h" -#include "base/logging.h" #include "base/strings/sys_string_conversions.h" #include "base/strings/utf_string_conversions.h" #include "content/public/browser/browser_task_traits.h" diff --git a/shell/browser/ui/cocoa/window_buttons_proxy.mm b/shell/browser/ui/cocoa/window_buttons_proxy.mm index 2edf2d22d7..de1d6b4630 100644 --- a/shell/browser/ui/cocoa/window_buttons_proxy.mm +++ b/shell/browser/ui/cocoa/window_buttons_proxy.mm @@ -5,7 +5,6 @@ #include "shell/browser/ui/cocoa/window_buttons_proxy.h" #include "base/i18n/rtl.h" -#include "base/notreached.h" @implementation ButtonsAreaHoverView : NSView diff --git a/shell/browser/ui/inspectable_web_contents.cc b/shell/browser/ui/inspectable_web_contents.cc index 454544ed93..baf05dbda3 100644 --- a/shell/browser/ui/inspectable_web_contents.cc +++ b/shell/browser/ui/inspectable_web_contents.cc @@ -14,7 +14,6 @@ #include "base/memory/raw_ptr.h" #include "base/metrics/histogram.h" #include "base/strings/pattern.h" -#include "base/strings/string_number_conversions.h" #include "base/strings/string_util.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" diff --git a/shell/browser/ui/views/global_menu_bar_x11.cc b/shell/browser/ui/views/global_menu_bar_x11.cc index 78ec7cd6ff..2f6eb08327 100644 --- a/shell/browser/ui/views/global_menu_bar_x11.cc +++ b/shell/browser/ui/views/global_menu_bar_x11.cc @@ -8,7 +8,6 @@ #include #include "base/functional/bind.h" -#include "base/logging.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" #include "shell/browser/native_window_views.h" diff --git a/shell/browser/ui/views/inspectable_web_contents_view_views.cc b/shell/browser/ui/views/inspectable_web_contents_view_views.cc index d8ca35f17b..61a5b013ec 100644 --- a/shell/browser/ui/views/inspectable_web_contents_view_views.cc +++ b/shell/browser/ui/views/inspectable_web_contents_view_views.cc @@ -8,7 +8,6 @@ #include #include "base/memory/raw_ptr.h" -#include "base/strings/utf_string_conversions.h" #include "shell/browser/ui/drag_util.h" #include "shell/browser/ui/inspectable_web_contents.h" #include "shell/browser/ui/inspectable_web_contents_delegate.h" diff --git a/shell/browser/window_list.cc b/shell/browser/window_list.cc index 9768b7e70e..89a3ab1d4b 100644 --- a/shell/browser/window_list.cc +++ b/shell/browser/window_list.cc @@ -6,7 +6,6 @@ #include -#include "base/logging.h" #include "base/no_destructor.h" #include "shell/browser/native_window.h" #include "shell/browser/window_list_observer.h" diff --git a/shell/browser/zoom_level_delegate.cc b/shell/browser/zoom_level_delegate.cc index 27fec5b665..cccbb37d20 100644 --- a/shell/browser/zoom_level_delegate.cc +++ b/shell/browser/zoom_level_delegate.cc @@ -10,7 +10,6 @@ #include "base/files/file_path.h" #include "base/functional/bind.h" -#include "base/strings/string_number_conversions.h" #include "components/prefs/json_pref_store.h" #include "components/prefs/pref_filter.h" #include "components/prefs/pref_registry_simple.h" diff --git a/shell/common/api/electron_api_command_line.cc b/shell/common/api/electron_api_command_line.cc index 5dcd03a550..786296900a 100644 --- a/shell/common/api/electron_api_command_line.cc +++ b/shell/common/api/electron_api_command_line.cc @@ -4,7 +4,6 @@ #include "base/command_line.h" #include "base/files/file_path.h" -#include "base/strings/string_util.h" #include "services/network/public/cpp/network_switches.h" #include "shell/common/gin_converters/base_converter.h" #include "shell/common/gin_converters/file_path_converter.h" diff --git a/shell/common/api/electron_api_url_loader.cc b/shell/common/api/electron_api_url_loader.cc index bf9a1a3d48..45763477ed 100644 --- a/shell/common/api/electron_api_url_loader.cc +++ b/shell/common/api/electron_api_url_loader.cc @@ -14,10 +14,8 @@ #include "base/check_op.h" #include "base/containers/fixed_flat_map.h" #include "base/memory/raw_ptr.h" -#include "base/no_destructor.h" #include "base/notreached.h" #include "base/sequence_checker.h" -#include "base/strings/string_number_conversions.h" #include "gin/handle.h" #include "gin/object_template_builder.h" #include "gin/wrappable.h" diff --git a/shell/common/application_info_win.cc b/shell/common/application_info_win.cc index 7df23001c0..5b0a28c9ab 100644 --- a/shell/common/application_info_win.cc +++ b/shell/common/application_info_win.cc @@ -13,7 +13,6 @@ #include #include "base/file_version_info.h" -#include "base/notreached.h" #include "base/strings/string_util.h" #include "base/strings/string_util_win.h" #include "base/strings/utf_string_conversions.h" diff --git a/shell/common/color_util.cc b/shell/common/color_util.cc index 3b48c3a8af..adddbf22bb 100644 --- a/shell/common/color_util.cc +++ b/shell/common/color_util.cc @@ -7,7 +7,6 @@ #include #include -#include "base/strings/string_util.h" #include "base/strings/stringprintf.h" #include "content/public/common/color_parser.h" diff --git a/shell/common/extensions/electron_extensions_client.cc b/shell/common/extensions/electron_extensions_client.cc index 8234474a2d..3604149118 100644 --- a/shell/common/extensions/electron_extensions_client.cc +++ b/shell/common/extensions/electron_extensions_client.cc @@ -7,7 +7,6 @@ #include #include -#include "base/logging.h" #include "base/no_destructor.h" #include "components/version_info/version_info.h" #include "content/public/common/user_agent.h" diff --git a/shell/common/gin_converters/net_converter.cc b/shell/common/gin_converters/net_converter.cc index 7a41afd470..9ecee92920 100644 --- a/shell/common/gin_converters/net_converter.cc +++ b/shell/common/gin_converters/net_converter.cc @@ -11,7 +11,6 @@ #include "base/containers/span.h" #include "base/memory/raw_ptr.h" -#include "base/strings/string_number_conversions.h" #include "base/strings/string_util.h" #include "base/values.h" #include "gin/converter.h" diff --git a/shell/common/gin_helper/trackable_object.h b/shell/common/gin_helper/trackable_object.h index 3ee141e16f..e9c6912e82 100644 --- a/shell/common/gin_helper/trackable_object.h +++ b/shell/common/gin_helper/trackable_object.h @@ -7,7 +7,6 @@ #include -#include "base/functional/bind.h" #include "base/memory/weak_ptr.h" #include "shell/common/gin_helper/cleaned_up_at_exit.h" #include "shell/common/gin_helper/event_emitter.h" diff --git a/shell/common/gin_helper/wrappable.cc b/shell/common/gin_helper/wrappable.cc index 8f4e8a87df..b302b96674 100644 --- a/shell/common/gin_helper/wrappable.cc +++ b/shell/common/gin_helper/wrappable.cc @@ -4,7 +4,6 @@ #include "shell/common/gin_helper/wrappable.h" -#include "base/logging.h" #include "shell/common/gin_helper/dictionary.h" #include "v8/include/v8-function.h" diff --git a/shell/common/node_bindings_win.cc b/shell/common/node_bindings_win.cc index 6c2aeffb27..6876424459 100644 --- a/shell/common/node_bindings_win.cc +++ b/shell/common/node_bindings_win.cc @@ -6,7 +6,6 @@ #include -#include "base/logging.h" #include "base/system/sys_info.h" namespace electron { diff --git a/shell/renderer/api/electron_api_crash_reporter_renderer.cc b/shell/renderer/api/electron_api_crash_reporter_renderer.cc index 3d9d9ad68e..1d5e9f2553 100644 --- a/shell/renderer/api/electron_api_crash_reporter_renderer.cc +++ b/shell/renderer/api/electron_api_crash_reporter_renderer.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 "base/functional/bind.h" #include "shell/common/gin_helper/dictionary.h" #include "shell/common/node_includes.h" diff --git a/shell/renderer/renderer_client_base.cc b/shell/renderer/renderer_client_base.cc index 298e330a1c..225cadc533 100644 --- a/shell/renderer/renderer_client_base.cc +++ b/shell/renderer/renderer_client_base.cc @@ -56,10 +56,6 @@ #include "components/pdf/renderer/internal_plugin_renderer_helpers.h" #endif // BUILDFLAG(ENABLE_PDF_VIEWER) -#if BUILDFLAG(IS_MAC) -#include "base/strings/sys_string_conversions.h" -#endif - #if BUILDFLAG(IS_WIN) #include #endif diff --git a/shell/utility/electron_content_utility_client.cc b/shell/utility/electron_content_utility_client.cc index 27bd1d86ed..5c5226cfea 100644 --- a/shell/utility/electron_content_utility_client.cc +++ b/shell/utility/electron_content_utility_client.cc @@ -7,7 +7,6 @@ #include #include "base/command_line.h" -#include "base/no_destructor.h" #include "content/public/utility/utility_thread.h" #include "mojo/public/cpp/bindings/binder_map.h" #include "mojo/public/cpp/bindings/service_factory.h"