зеркало из https://github.com/electron/electron.git
chore: remove unused using and namespace declarations (#29892)
This commit is contained in:
Родитель
21319926a0
Коммит
b60b96b221
|
@ -513,7 +513,6 @@ v8::Local<v8::Value> BrowserWindow::From(v8::Isolate* isolate,
|
|||
|
||||
namespace {
|
||||
|
||||
using electron::api::BaseWindow;
|
||||
using electron::api::BrowserWindow;
|
||||
|
||||
void Initialize(v8::Local<v8::Object> exports,
|
||||
|
|
|
@ -26,8 +26,6 @@
|
|||
#include "shell/common/gin_helper/dictionary.h"
|
||||
#include "shell/common/gin_helper/object_template_builder.h"
|
||||
|
||||
using content::BrowserThread;
|
||||
|
||||
namespace gin {
|
||||
|
||||
template <>
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
#include "shell/browser/unresponsive_suppressor.h"
|
||||
#include "shell/common/node_includes.h"
|
||||
|
||||
using content::BrowserThread;
|
||||
|
||||
namespace {
|
||||
|
||||
static scoped_nsobject<NSMenu> applicationMenu_;
|
||||
|
|
|
@ -1205,9 +1205,6 @@ const char* Session::GetTypeName() {
|
|||
|
||||
namespace {
|
||||
|
||||
using electron::api::Cookies;
|
||||
using electron::api::Protocol;
|
||||
using electron::api::ServiceWorkerContext;
|
||||
using electron::api::Session;
|
||||
|
||||
v8::Local<v8::Value> FromPartition(const std::string& partition,
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
#include "content/public/browser/browser_thread.h"
|
||||
#include "shell/browser/browser.h"
|
||||
|
||||
using content::BrowserThread;
|
||||
|
||||
namespace electron {
|
||||
|
||||
namespace {
|
||||
|
|
|
@ -27,9 +27,6 @@
|
|||
|
||||
namespace extensions {
|
||||
|
||||
namespace keys = manifest_keys;
|
||||
namespace errors = manifest_errors;
|
||||
|
||||
constexpr APIPermissionInfo::InitInfo permissions_to_register[] = {
|
||||
{mojom::APIPermissionID::kDevtools, "devtools",
|
||||
APIPermissionInfo::kFlagImpliesFullURLAccess |
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
#include "extensions/renderer/native_extension_bindings_system.h"
|
||||
#include "extensions/renderer/native_handler.h"
|
||||
|
||||
using extensions::NativeHandler;
|
||||
|
||||
ElectronExtensionsDispatcherDelegate::ElectronExtensionsDispatcherDelegate() =
|
||||
default;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче