chore: add ELECTRON_ prefix to C++ include guards (#31925)
This commit is contained in:
parent
0865267387
commit
c4ea33d1bf
358 changed files with 1080 additions and 1079 deletions
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_API_CONTEXT_BRIDGE_OBJECT_CACHE_H_
|
||||
#define SHELL_RENDERER_API_CONTEXT_BRIDGE_OBJECT_CACHE_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_API_CONTEXT_BRIDGE_OBJECT_CACHE_H_
|
||||
#define ELECTRON_SHELL_RENDERER_API_CONTEXT_BRIDGE_OBJECT_CACHE_H_
|
||||
|
||||
#include <forward_list>
|
||||
#include <unordered_map>
|
||||
|
@ -44,4 +44,4 @@ class ObjectCache final {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_RENDERER_API_CONTEXT_BRIDGE_OBJECT_CACHE_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_API_CONTEXT_BRIDGE_OBJECT_CACHE_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_
|
||||
#define SHELL_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_
|
||||
#define ELECTRON_SHELL_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_
|
||||
|
||||
#include "shell/renderer/api/context_bridge/object_cache.h"
|
||||
#include "v8/include/v8.h"
|
||||
|
@ -55,4 +55,4 @@ v8::MaybeLocal<v8::Object> CreateProxyForAPI(
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_
|
||||
#define SHELL_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_
|
||||
#define ELECTRON_SHELL_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_
|
||||
|
||||
#include <memory>
|
||||
#include <set>
|
||||
|
@ -113,4 +113,4 @@ class SpellCheckClient : public blink::WebSpellCheckPanelHostClient,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_
|
||||
#define SHELL_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_
|
||||
#define ELECTRON_SHELL_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_
|
||||
|
||||
namespace mojo {
|
||||
class BinderMap;
|
||||
|
@ -19,4 +19,4 @@ void ExposeElectronRendererInterfacesToBrowser(
|
|||
electron::RendererClientBase* client,
|
||||
mojo::BinderMap* binders);
|
||||
|
||||
#endif // SHELL_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_CONTENT_SETTINGS_OBSERVER_H_
|
||||
#define SHELL_RENDERER_CONTENT_SETTINGS_OBSERVER_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_CONTENT_SETTINGS_OBSERVER_H_
|
||||
#define ELECTRON_SHELL_RENDERER_CONTENT_SETTINGS_OBSERVER_H_
|
||||
|
||||
#include "base/compiler_specific.h"
|
||||
#include "content/public/renderer/render_frame_observer.h"
|
||||
|
@ -31,4 +31,4 @@ class ContentSettingsObserver : public content::RenderFrameObserver,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_RENDERER_CONTENT_SETTINGS_OBSERVER_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_CONTENT_SETTINGS_OBSERVER_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_ELECTRON_API_SERVICE_IMPL_H_
|
||||
#define SHELL_RENDERER_ELECTRON_API_SERVICE_IMPL_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_ELECTRON_API_SERVICE_IMPL_H_
|
||||
#define ELECTRON_SHELL_RENDERER_ELECTRON_API_SERVICE_IMPL_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -70,4 +70,4 @@ class ElectronApiServiceImpl : public mojom::ElectronRenderer,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_RENDERER_ELECTRON_API_SERVICE_IMPL_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_ELECTRON_API_SERVICE_IMPL_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_ELECTRON_AUTOFILL_AGENT_H_
|
||||
#define SHELL_RENDERER_ELECTRON_AUTOFILL_AGENT_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_ELECTRON_AUTOFILL_AGENT_H_
|
||||
#define ELECTRON_SHELL_RENDERER_ELECTRON_AUTOFILL_AGENT_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
@ -93,4 +93,4 @@ class AutofillAgent : public content::RenderFrameObserver,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_RENDERER_ELECTRON_AUTOFILL_AGENT_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_ELECTRON_AUTOFILL_AGENT_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_ELECTRON_RENDER_FRAME_OBSERVER_H_
|
||||
#define SHELL_RENDERER_ELECTRON_RENDER_FRAME_OBSERVER_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_ELECTRON_RENDER_FRAME_OBSERVER_H_
|
||||
#define ELECTRON_SHELL_RENDERER_ELECTRON_RENDER_FRAME_OBSERVER_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -50,4 +50,4 @@ class ElectronRenderFrameObserver : public content::RenderFrameObserver {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_RENDERER_ELECTRON_RENDER_FRAME_OBSERVER_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_ELECTRON_RENDER_FRAME_OBSERVER_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_ELECTRON_RENDERER_CLIENT_H_
|
||||
#define SHELL_RENDERER_ELECTRON_RENDERER_CLIENT_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_ELECTRON_RENDERER_CLIENT_H_
|
||||
#define ELECTRON_SHELL_RENDERER_ELECTRON_RENDERER_CLIENT_H_
|
||||
|
||||
#include <memory>
|
||||
#include <set>
|
||||
|
@ -66,4 +66,4 @@ class ElectronRendererClient : public RendererClientBase {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_RENDERER_ELECTRON_RENDERER_CLIENT_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_ELECTRON_RENDERER_CLIENT_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_ELECTRON_RENDERER_PEPPER_HOST_FACTORY_H_
|
||||
#define SHELL_RENDERER_ELECTRON_RENDERER_PEPPER_HOST_FACTORY_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_ELECTRON_RENDERER_PEPPER_HOST_FACTORY_H_
|
||||
#define ELECTRON_SHELL_RENDERER_ELECTRON_RENDERER_PEPPER_HOST_FACTORY_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -37,4 +37,4 @@ class ElectronRendererPepperHostFactory : public ppapi::host::HostFactory {
|
|||
content::RendererPpapiHost* host_;
|
||||
};
|
||||
|
||||
#endif // SHELL_RENDERER_ELECTRON_RENDERER_PEPPER_HOST_FACTORY_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_ELECTRON_RENDERER_PEPPER_HOST_FACTORY_H_
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
// Copyright (c) 2016 GitHub, Inc.
|
||||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
#ifndef SHELL_RENDERER_ELECTRON_SANDBOXED_RENDERER_CLIENT_H_
|
||||
#define SHELL_RENDERER_ELECTRON_SANDBOXED_RENDERER_CLIENT_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_ELECTRON_SANDBOXED_RENDERER_CLIENT_H_
|
||||
#define ELECTRON_SHELL_RENDERER_ELECTRON_SANDBOXED_RENDERER_CLIENT_H_
|
||||
|
||||
#include <memory>
|
||||
#include <set>
|
||||
|
@ -55,4 +55,4 @@ class ElectronSandboxedRendererClient : public RendererClientBase {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_RENDERER_ELECTRON_SANDBOXED_RENDERER_CLIENT_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_ELECTRON_SANDBOXED_RENDERER_CLIENT_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_DISPATCHER_DELEGATE_H_
|
||||
#define SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_DISPATCHER_DELEGATE_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_DISPATCHER_DELEGATE_H_
|
||||
#define ELECTRON_SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_DISPATCHER_DELEGATE_H_
|
||||
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
@ -39,4 +39,4 @@ class ElectronExtensionsDispatcherDelegate
|
|||
extensions::NativeExtensionBindingsSystem* bindings_system) override;
|
||||
};
|
||||
|
||||
#endif // SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_DISPATCHER_DELEGATE_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_DISPATCHER_DELEGATE_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_RENDERER_CLIENT_H_
|
||||
#define SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_RENDERER_CLIENT_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_RENDERER_CLIENT_H_
|
||||
#define ELECTRON_SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_RENDERER_CLIENT_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -51,4 +51,4 @@ class ElectronExtensionsRendererClient
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_RENDERER_CLIENT_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_RENDERER_CLIENT_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_GUEST_VIEW_CONTAINER_H_
|
||||
#define SHELL_RENDERER_GUEST_VIEW_CONTAINER_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_GUEST_VIEW_CONTAINER_H_
|
||||
#define ELECTRON_SHELL_RENDERER_GUEST_VIEW_CONTAINER_H_
|
||||
|
||||
#include "base/callback.h"
|
||||
|
||||
|
@ -44,4 +44,4 @@ class GuestViewContainer {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_RENDERER_GUEST_VIEW_CONTAINER_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_GUEST_VIEW_CONTAINER_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_PEPPER_HELPER_H_
|
||||
#define SHELL_RENDERER_PEPPER_HELPER_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_PEPPER_HELPER_H_
|
||||
#define ELECTRON_SHELL_RENDERER_PEPPER_HELPER_H_
|
||||
|
||||
#include "base/compiler_specific.h"
|
||||
#include "base/component_export.h"
|
||||
|
@ -25,4 +25,4 @@ class PepperHelper : public content::RenderFrameObserver {
|
|||
void OnDestruct() override;
|
||||
};
|
||||
|
||||
#endif // SHELL_RENDERER_PEPPER_HELPER_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_PEPPER_HELPER_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_PRINTING_PRINT_RENDER_FRAME_HELPER_DELEGATE_H_
|
||||
#define SHELL_RENDERER_PRINTING_PRINT_RENDER_FRAME_HELPER_DELEGATE_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_PRINTING_PRINT_RENDER_FRAME_HELPER_DELEGATE_H_
|
||||
#define ELECTRON_SHELL_RENDERER_PRINTING_PRINT_RENDER_FRAME_HELPER_DELEGATE_H_
|
||||
|
||||
#include "components/printing/renderer/print_render_frame_helper.h"
|
||||
|
||||
|
@ -30,4 +30,4 @@ class PrintRenderFrameHelperDelegate
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_RENDERER_PRINTING_PRINT_RENDER_FRAME_HELPER_DELEGATE_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_PRINTING_PRINT_RENDER_FRAME_HELPER_DELEGATE_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_RENDERER_CLIENT_BASE_H_
|
||||
#define SHELL_RENDERER_RENDERER_CLIENT_BASE_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_RENDERER_CLIENT_BASE_H_
|
||||
#define ELECTRON_SHELL_RENDERER_RENDERER_CLIENT_BASE_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -171,4 +171,4 @@ class RendererClientBase : public content::ContentRendererClient
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_RENDERER_RENDERER_CLIENT_BASE_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_RENDERER_CLIENT_BASE_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_RENDERER_WEB_WORKER_OBSERVER_H_
|
||||
#define SHELL_RENDERER_WEB_WORKER_OBSERVER_H_
|
||||
#ifndef ELECTRON_SHELL_RENDERER_WEB_WORKER_OBSERVER_H_
|
||||
#define ELECTRON_SHELL_RENDERER_WEB_WORKER_OBSERVER_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -37,4 +37,4 @@ class WebWorkerObserver {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_RENDERER_WEB_WORKER_OBSERVER_H_
|
||||
#endif // ELECTRON_SHELL_RENDERER_WEB_WORKER_OBSERVER_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue