chore: remove unused std includes (#38767)

This commit is contained in:
Charles Kerr 2023-06-14 13:07:18 -05:00 committed by GitHub
parent f7c0a29d89
commit 5ad8b4b7d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
60 changed files with 7 additions and 82 deletions

View file

@ -4,8 +4,6 @@
#include "shell/browser/api/electron_api_browser_view.h"
#include <vector>
#include "content/browser/renderer_host/render_widget_host_view_base.h" // nogncheck
#include "content/public/browser/render_widget_host_view.h"
#include "shell/browser/api/electron_api_base_window.h"

View file

@ -7,7 +7,6 @@
#include <memory>
#include <string>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "content/public/browser/web_contents_observer.h"

View file

@ -6,7 +6,6 @@
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BROWSER_WINDOW_H_
#include <string>
#include <vector>
#include "base/cancelable_callback.h"
#include "shell/browser/api/electron_api_base_window.h"

View file

@ -4,7 +4,6 @@
#include "shell/browser/api/electron_api_debugger.h"
#include <memory>
#include <string>
#include <utility>

View file

@ -4,8 +4,6 @@
#include "shell/browser/api/electron_api_push_notifications.h"
#include <string>
#include "shell/common/gin_converters/value_converter.h"
#include "shell/common/gin_helper/dictionary.h"
#include "shell/common/node_includes.h"

View file

@ -5,7 +5,6 @@
#include "shell/browser/api/electron_api_safe_storage.h"
#include <string>
#include <vector>
#include "components/os_crypt/sync/os_crypt.h"
#include "shell/browser/browser.h"

View file

@ -4,7 +4,6 @@
#include "shell/browser/api/electron_api_service_worker_context.h"
#include <string>
#include <utility>
#include "chrome/browser/browser_process.h"

View file

@ -5,7 +5,6 @@
#include "shell/browser/api/electron_api_system_preferences.h"
#include <map>
#include <memory>
#include <string>
#include <utility>

View file

@ -8,7 +8,6 @@
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "base/containers/id_map.h"
#include "base/environment.h"

View file

@ -8,7 +8,6 @@
#include <memory>
#include <set>
#include <string>
#include <unordered_set>
#include <utility>
#include <vector>

View file

@ -5,7 +5,6 @@
#ifndef ELECTRON_SHELL_BROWSER_API_GPUINFO_MANAGER_H_
#define ELECTRON_SHELL_BROWSER_API_GPUINFO_MANAGER_H_
#include <memory>
#include <vector>
#include "base/memory/raw_ptr.h"

View file

@ -4,8 +4,6 @@
#include "shell/browser/badging/badge_manager_factory.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "base/memory/singleton.h"

View file

@ -6,7 +6,6 @@
#define ELECTRON_SHELL_BROWSER_ELECTRON_API_IPC_HANDLER_IMPL_H_
#include <string>
#include <vector>
#include "base/memory/weak_ptr.h"
#include "content/public/browser/web_contents_observer.h"

View file

@ -6,7 +6,6 @@
#include <memory>
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "base/functional/callback.h"

View file

@ -5,7 +5,6 @@
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_WEB_CONTENTS_UTILITY_HANDLER_IMPL_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_WEB_CONTENTS_UTILITY_HANDLER_IMPL_H_
#include <string>
#include <vector>
#include "base/memory/weak_ptr.h"

View file

@ -5,7 +5,6 @@
#ifndef ELECTRON_SHELL_BROWSER_FILE_SELECT_HELPER_H_
#define ELECTRON_SHELL_BROWSER_FILE_SELECT_HELPER_H_
#include <map>
#include <memory>
#include <string>
#include <vector>

View file

@ -6,10 +6,8 @@
#define ELECTRON_SHELL_BROWSER_HID_HID_CHOOSER_CONTEXT_H_
#include <map>
#include <memory>
#include <set>
#include <string>
#include <utility>
#include <vector>
#include "base/containers/queue.h"

View file

@ -7,7 +7,6 @@
#include <dlfcn.h>
#include <gtk/gtk.h>
#include <memory>
#include <string>
#include "base/environment.h"

View file

@ -4,7 +4,6 @@
#import "shell/browser/mac/electron_application.h"
#include <memory>
#include <string>
#include <utility>

View file

@ -5,8 +5,6 @@
#ifndef ELECTRON_SHELL_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_
#define ELECTRON_SHELL_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_
#include <string>
#include "base/memory/singleton.h"
#include "components/webrtc/media_stream_device_enumerator_impl.h"
#include "content/public/browser/media_observer.h"

View file

@ -5,8 +5,6 @@
#ifndef ELECTRON_SHELL_BROWSER_NATIVE_BROWSER_VIEW_H_
#define ELECTRON_SHELL_BROWSER_NATIVE_BROWSER_VIEW_H_
#include <vector>
#include "base/memory/raw_ptr.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_observer.h"

View file

@ -6,7 +6,6 @@
#define ELECTRON_SHELL_BROWSER_NATIVE_BROWSER_VIEW_MAC_H_
#import <Cocoa/Cocoa.h>
#include <vector>
#include "base/mac/scoped_nsobject.h"
#include "shell/browser/native_browser_view.h"

View file

@ -4,8 +4,6 @@
#include "shell/browser/native_browser_view_views.h"
#include <vector>
#include "shell/browser/ui/views/inspectable_web_contents_view_views.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/views/background.h"

View file

@ -5,9 +5,6 @@
#ifndef ELECTRON_SHELL_BROWSER_NATIVE_BROWSER_VIEW_VIEWS_H_
#define ELECTRON_SHELL_BROWSER_NATIVE_BROWSER_VIEW_VIEWS_H_
#include <memory>
#include <vector>
#include "shell/browser/native_browser_view.h"
namespace electron {

View file

@ -10,7 +10,6 @@
#include <memory>
#include <set>
#include <string>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "shell/browser/ui/views/root_view.h"

View file

@ -5,7 +5,6 @@
#include "shell/browser/net/resolve_host_function.h"
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "base/values.h"

View file

@ -5,9 +5,7 @@
#ifndef ELECTRON_SHELL_BROWSER_NET_RESOLVE_HOST_FUNCTION_H_
#define ELECTRON_SHELL_BROWSER_NET_RESOLVE_HOST_FUNCTION_H_
#include <deque>
#include <string>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "base/memory/ref_counted.h"

View file

@ -13,7 +13,6 @@
#include <windows.ui.notifications.h>
#include <wrl/implements.h>
#include <string>
#include <vector>
#include "shell/browser/notifications/notification.h"

View file

@ -5,7 +5,6 @@
#ifndef ELECTRON_SHELL_BROWSER_PRINTING_PRINT_VIEW_MANAGER_ELECTRON_H_
#define ELECTRON_SHELL_BROWSER_PRINTING_PRINT_VIEW_MANAGER_ELECTRON_H_
#include <memory>
#include <string>
#include <vector>

View file

@ -4,7 +4,6 @@
#include "shell/browser/serial/serial_chooser_context.h"
#include <memory>
#include <string>
#include <utility>

View file

@ -7,7 +7,6 @@
#include <map>
#include <set>
#include <utility>
#include <vector>
#include "base/memory/raw_ptr.h"

View file

@ -5,8 +5,6 @@
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_BUNDLE_MOVER_H_
#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_BUNDLE_MOVER_H_
#include <string>
#include "base/mac/foundation_util.h"
#include "shell/common/gin_helper/error_thrower.h"

View file

@ -7,7 +7,6 @@
#define ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_H_
#include <string>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "shell/common/api/api.mojom.h"

View file

@ -8,8 +8,6 @@
#include "shell/browser/ui/inspectable_web_contents_view.h"
#include <vector>
#include "base/mac/scoped_nsobject.h"
@class ElectronInspectableWebContentsView;

View file

@ -5,9 +5,7 @@
#include "shell/browser/ui/views/inspectable_web_contents_view_views.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"

View file

@ -6,7 +6,6 @@
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_INSPECTABLE_WEB_CONTENTS_VIEW_VIEWS_H_
#include <memory>
#include <vector>
#include "base/compiler_specific.h"
#include "base/memory/raw_ptr.h"

View file

@ -5,7 +5,7 @@
#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_SUBMENU_BUTTON_H_
#define ELECTRON_SHELL_BROWSER_UI_VIEWS_SUBMENU_BUTTON_H_
#include <memory>
#include <string>
#include "ui/accessibility/ax_node_data.h"
#include "ui/views/animation/ink_drop_highlight.h"

View file

@ -4,7 +4,6 @@
#include "shell/browser/usb/usb_chooser_context.h"
#include <memory>
#include <utility>
#include <vector>

View file

@ -6,10 +6,8 @@
#define ELECTRON_SHELL_BROWSER_USB_USB_CHOOSER_CONTEXT_H_
#include <map>
#include <memory>
#include <set>
#include <string>
#include <utility>
#include <vector>
#include "base/containers/queue.h"

View file

@ -5,9 +5,6 @@
#ifndef ELECTRON_SHELL_BROWSER_USB_USB_CHOOSER_CONTROLLER_H_
#define ELECTRON_SHELL_BROWSER_USB_USB_CHOOSER_CONTROLLER_H_
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#include "base/memory/raw_ptr.h"

View file

@ -4,8 +4,6 @@
#include "shell/browser/web_contents_permission_helper.h"
#include <memory>
#include <string>
#include <utility>
#include "content/public/browser/browser_context.h"

View file

@ -5,7 +5,6 @@
#include "shell/browser/zoom_level_delegate.h"
#include <functional>
#include <memory>
#include <utility>
#include <vector>