chore: clean up forward declarations (#29904)
This commit is contained in:
parent
1f8a46c9c6
commit
f6531166ae
78 changed files with 133 additions and 109 deletions
|
@ -12,7 +12,9 @@
|
|||
#include "shell/common/gin_converters/image_converter.h"
|
||||
#include "shell/common/gin_helper/promise.h"
|
||||
#include "shell/common/skia_util.h"
|
||||
#include "third_party/skia/include/core/SkBitmap.h"
|
||||
#include "ui/gfx/icon_util.h"
|
||||
#include "ui/gfx/image/image_skia.h"
|
||||
|
||||
namespace electron {
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ class APIPermissionSet;
|
|||
class Extension;
|
||||
class PermissionMessageProvider;
|
||||
class PermissionIDSet;
|
||||
class ScriptingWhitelist;
|
||||
class URLPatternSet;
|
||||
} // namespace extensions
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ class WebMouseEvent;
|
|||
class WebMouseWheelEvent;
|
||||
class WebKeyboardEvent;
|
||||
struct DeviceEmulationParams;
|
||||
struct WebSize;
|
||||
} // namespace blink
|
||||
|
||||
namespace gin {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
namespace extensions {
|
||||
class Extension;
|
||||
} // namespace extensions
|
||||
}
|
||||
|
||||
namespace gin {
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
namespace content {
|
||||
class RenderFrameHost;
|
||||
} // namespace content
|
||||
}
|
||||
|
||||
namespace gin {
|
||||
|
||||
|
|
|
@ -13,14 +13,8 @@
|
|||
#include "services/network/public/mojom/fetch_api.mojom.h"
|
||||
#include "shell/browser/net/cert_verifier_client.h"
|
||||
|
||||
namespace base {
|
||||
class DictionaryValue;
|
||||
class ListValue;
|
||||
} // namespace base
|
||||
|
||||
namespace net {
|
||||
class AuthChallengeInfo;
|
||||
class URLRequest;
|
||||
class X509Certificate;
|
||||
class HttpResponseHeaders;
|
||||
struct CertPrincipal;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
namespace gin {
|
||||
class Arguments;
|
||||
} // namespace gin
|
||||
}
|
||||
|
||||
namespace gin_helper {
|
||||
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
|
||||
#include "shell/common/heap_snapshot.h"
|
||||
|
||||
#include "base/files/file.h"
|
||||
#include "v8/include/v8-profiler.h"
|
||||
#include "v8/include/v8.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
|
@ -5,8 +5,13 @@
|
|||
#ifndef SHELL_COMMON_HEAP_SNAPSHOT_H_
|
||||
#define SHELL_COMMON_HEAP_SNAPSHOT_H_
|
||||
|
||||
#include "base/files/file.h"
|
||||
#include "v8/include/v8.h"
|
||||
namespace base {
|
||||
class File;
|
||||
}
|
||||
|
||||
namespace v8 {
|
||||
class Isolate;
|
||||
}
|
||||
|
||||
namespace electron {
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include "base/environment.h"
|
||||
#include "base/path_service.h"
|
||||
#include "base/run_loop.h"
|
||||
#include "base/single_thread_task_runner.h"
|
||||
#include "base/strings/string_split.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "base/threading/thread_task_runner_handle.h"
|
||||
|
|
|
@ -10,12 +10,11 @@
|
|||
#include "base/files/file_path.h"
|
||||
#include "base/macros.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "base/single_thread_task_runner.h"
|
||||
#include "uv.h" // NOLINT(build/include_directory)
|
||||
#include "v8/include/v8.h"
|
||||
|
||||
namespace base {
|
||||
class MessageLoop;
|
||||
class SingleThreadTaskRunner;
|
||||
}
|
||||
|
||||
namespace node {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
namespace node {
|
||||
class Environment;
|
||||
} // namespace node
|
||||
}
|
||||
|
||||
namespace electron {
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "gin/dictionary.h"
|
||||
#include "shell/common/gin_converters/callback_converter.h"
|
||||
#include "shell/common/node_includes.h"
|
||||
|
||||
namespace electron {
|
||||
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#include "shell/common/node_includes.h"
|
||||
namespace node {
|
||||
class Environment;
|
||||
}
|
||||
|
||||
namespace electron {
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/files/file_util.h"
|
||||
#include "base/strings/pattern.h"
|
||||
#include "base/strings/string_util.h"
|
||||
|
|
|
@ -5,7 +5,13 @@
|
|||
#ifndef SHELL_COMMON_SKIA_UTIL_H_
|
||||
#define SHELL_COMMON_SKIA_UTIL_H_
|
||||
|
||||
#include "ui/gfx/image/image_skia.h"
|
||||
namespace base {
|
||||
class FilePath;
|
||||
}
|
||||
|
||||
namespace gfx {
|
||||
class ImageSkia;
|
||||
}
|
||||
|
||||
namespace electron {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue