chore: more iwyu (#43063)
* chore: iwyu shell/browser/electron_pdf_document_helper_client.h * chore: iwyu shell/browser/hid/electron_hid_delegate.h * chore: iwyu content/public/browser/web_contents.h * chore: iwyu shell/browser/usb/electron_usb_delegate.h * chore: iwyu shell/browser/browser_observer.h * chore: iwyu shell/browser/bluetooth/electron_bluetooth_delegate.h * chore: iwyu shell/browser/serial/electron_serial_delegate.h * chore: iwyu shell/browser/api/frame_subscriber.h * chore: iwyu mojo/public/cpp/bindings/ * chore: iwyu components/ * chore: iwyu extensions/ * chore: iwyu shell/common/gin_helper/ * chore: iwyu v8/ * chore: iwyu base/containers/linked_list.h * chore: iwyu shell/browser/native_window.h * chore: iwyu shell/browser/api/electron_api_base_window.h * chore: iwyu shell/common/node_includes.h * chore: iwyu gin/handle.h * chore: iwyu base/functional/callback.h * chore: iwyu ui/gfx/ * chore: iwyu content/public/browser/render_frame_host.h * fix: mac * fix: mac * fix: win * chore: iwyu base/files/file_path.h * chore: iwyu base/unguessable_token.h * chore: iwyu ui/display/screen.h * chore: iwyu chrome/browser/predictors/preconnect_manager.h * chore: iwyu base/observer_list_types.h * chore: iwyu content/public/browser/web_contents.h * chore: iwyu chrome/browser/devtools/devtools_eye_dropper.h * chore: iwyu shell/browser/ui/inspectable_web_contents.h * chore: iwyu content/public/browser/keyboard_event_processing_result.h * chore: iwyu net/cookies/canonical_cookie.h * chore: iwyu net/base/address_list.h * chore: iwyu net/cert/x509_certificate.h * chore: iwyu net/cookies/cookie_change_dispatcher.h * chore: iwyu net/dns/public/host_resolver_results.h * fix: mac * Revert "chore: iwyu net/cert/x509_certificate.h" This reverts commit 002896f71146e90f1e29e090a1d6eede48cee11e.
This commit is contained in:
parent
92496c1930
commit
e70ce89235
187 changed files with 640 additions and 223 deletions
|
@ -13,6 +13,7 @@
|
|||
#include "shell/common/gin_helper/function_template.h"
|
||||
#include "shell/common/gin_helper/locker.h"
|
||||
#include "shell/common/gin_helper/microtasks_scope.h"
|
||||
#include "v8/include/v8-function.h"
|
||||
// Implements safe conversions between JS functions and base::RepeatingCallback.
|
||||
|
||||
namespace gin_helper {
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include "gin/per_isolate_data.h"
|
||||
#include "shell/common/gin_helper/event_emitter_template.h"
|
||||
#include "shell/common/gin_helper/function_template_extensions.h"
|
||||
#include "v8/include/v8-context.h"
|
||||
|
||||
namespace gin_helper {
|
||||
template <typename T>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "base/no_destructor.h"
|
||||
#include "gin/converter.h"
|
||||
#include "shell/common/gin_helper/wrappable_base.h"
|
||||
#include "v8/include/v8-function.h"
|
||||
|
||||
namespace gin_helper {
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_DESTROYABLE_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_DESTROYABLE_H_
|
||||
|
||||
#include "v8/include/v8.h"
|
||||
#include "v8/include/v8-forward.h"
|
||||
|
||||
namespace gin_helper {
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <string_view>
|
||||
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "v8/include/v8.h"
|
||||
#include "v8/include/v8-forward.h"
|
||||
|
||||
namespace gin_helper {
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include "shell/common/gin_helper/event.h"
|
||||
#include "gin/dictionary.h"
|
||||
#include "gin/handle.h"
|
||||
#include "gin/object_template_builder.h"
|
||||
|
||||
namespace gin_helper::internal {
|
||||
|
|
|
@ -5,10 +5,14 @@
|
|||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_EVENT_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_EVENT_H_
|
||||
|
||||
#include "gin/handle.h"
|
||||
#include "gin/wrappable.h"
|
||||
#include "shell/common/gin_helper/constructible.h"
|
||||
|
||||
namespace gin {
|
||||
template <typename T>
|
||||
class Handle;
|
||||
} // namespace gin
|
||||
|
||||
namespace v8 {
|
||||
class Isolate;
|
||||
template <typename T>
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
#include "shell/common/gin_helper/destroyable.h"
|
||||
#include "shell/common/gin_helper/error_thrower.h"
|
||||
#include "shell/common/gin_helper/microtasks_scope.h"
|
||||
#include "v8/include/v8-context.h"
|
||||
#include "v8/include/v8-external.h"
|
||||
#include "v8/include/v8-template.h"
|
||||
|
||||
// This file is forked from gin/function_template.h with 2 differences:
|
||||
// 1. Support for additional types of arguments.
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "shell/common/gin_helper/locker.h"
|
||||
|
||||
#include "shell/common/process_util.h"
|
||||
#include "v8/include/v8-locker.h"
|
||||
|
||||
namespace gin_helper {
|
||||
|
||||
|
|
|
@ -7,7 +7,10 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include "v8/include/v8.h"
|
||||
namespace v8 {
|
||||
class Isolate;
|
||||
class Locker;
|
||||
} // namespace v8
|
||||
|
||||
namespace gin_helper {
|
||||
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include "v8/include/v8.h"
|
||||
#include "v8/include/v8-forward.h"
|
||||
#include "v8/include/v8-microtask-queue.h"
|
||||
|
||||
namespace gin_helper {
|
||||
|
||||
|
|
|
@ -6,7 +6,11 @@
|
|||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_PERSISTENT_DICTIONARY_H_
|
||||
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "shell/common/gin_helper/dictionary.h"
|
||||
#include "gin/converter.h"
|
||||
#include "v8/include/v8-context.h"
|
||||
#include "v8/include/v8-isolate.h"
|
||||
#include "v8/include/v8-local-handle.h"
|
||||
#include "v8/include/v8-object.h"
|
||||
|
||||
namespace gin_helper {
|
||||
|
||||
|
|
|
@ -5,7 +5,10 @@
|
|||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_PINNABLE_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_PINNABLE_H_
|
||||
|
||||
#include "v8/include/v8.h"
|
||||
#include "v8/include/v8-isolate.h"
|
||||
#include "v8/include/v8-local-handle.h"
|
||||
#include "v8/include/v8-persistent-handle.h"
|
||||
#include "v8/include/v8-value.h"
|
||||
|
||||
namespace gin_helper {
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include <string_view>
|
||||
|
||||
#include "shell/common/gin_helper/promise.h"
|
||||
#include "v8/include/v8-context.h"
|
||||
|
||||
namespace gin_helper {
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#include "shell/common/gin_helper/locker.h"
|
||||
#include "shell/common/gin_helper/microtasks_scope.h"
|
||||
#include "shell/common/process_util.h"
|
||||
#include "v8/include/v8-context.h"
|
||||
|
||||
namespace gin_helper {
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "base/logging.h"
|
||||
#include "shell/common/gin_helper/dictionary.h"
|
||||
#include "v8/include/v8-function.h"
|
||||
|
||||
namespace gin_helper {
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_WRAPPABLE_BASE_H_
|
||||
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "v8/include/v8.h"
|
||||
#include "v8/include/v8-forward.h"
|
||||
|
||||
namespace gin {
|
||||
class Arguments;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue