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_COMMON_API_ELECTRON_API_CLIPBOARD_H_
|
||||
#define SHELL_COMMON_API_ELECTRON_API_CLIPBOARD_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_API_ELECTRON_API_CLIPBOARD_H_
|
||||
#define ELECTRON_SHELL_COMMON_API_ELECTRON_API_CLIPBOARD_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -71,4 +71,4 @@ class Clipboard {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_API_ELECTRON_API_CLIPBOARD_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_API_ELECTRON_API_CLIPBOARD_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_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_H_
|
||||
#define SHELL_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_H_
|
||||
#define ELECTRON_SHELL_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_H_
|
||||
|
||||
#include "gin/handle.h"
|
||||
#include "shell/common/gin_converters/std_converter.h"
|
||||
|
@ -63,4 +63,4 @@ class KeyWeakMap : public gin_helper::Wrappable<KeyWeakMap<K>> {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_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_COMMON_API_ELECTRON_API_NATIVE_IMAGE_H_
|
||||
#define SHELL_COMMON_API_ELECTRON_API_NATIVE_IMAGE_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_API_ELECTRON_API_NATIVE_IMAGE_H_
|
||||
#define ELECTRON_SHELL_COMMON_API_ELECTRON_API_NATIVE_IMAGE_H_
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
@ -142,4 +142,4 @@ class NativeImage : public gin::Wrappable<NativeImage> {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_API_ELECTRON_API_NATIVE_IMAGE_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_API_ELECTRON_API_NATIVE_IMAGE_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_COMMON_API_ELECTRON_BINDINGS_H_
|
||||
#define SHELL_COMMON_API_ELECTRON_BINDINGS_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_API_ELECTRON_BINDINGS_H_
|
||||
#define ELECTRON_SHELL_COMMON_API_ELECTRON_BINDINGS_H_
|
||||
|
||||
#include <list>
|
||||
#include <memory>
|
||||
|
@ -84,4 +84,4 @@ class ElectronBindings {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_API_ELECTRON_BINDINGS_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_API_ELECTRON_BINDINGS_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_COMMON_API_OBJECT_LIFE_MONITOR_H_
|
||||
#define SHELL_COMMON_API_OBJECT_LIFE_MONITOR_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_API_OBJECT_LIFE_MONITOR_H_
|
||||
#define ELECTRON_SHELL_COMMON_API_OBJECT_LIFE_MONITOR_H_
|
||||
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "v8/include/v8.h"
|
||||
|
@ -32,4 +32,4 @@ class ObjectLifeMonitor {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_API_OBJECT_LIFE_MONITOR_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_API_OBJECT_LIFE_MONITOR_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue