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_
|
||||
|
|
|
@ -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_APPLICATION_INFO_H_
|
||||
#define SHELL_COMMON_APPLICATION_INFO_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_APPLICATION_INFO_H_
|
||||
#define ELECTRON_SHELL_COMMON_APPLICATION_INFO_H_
|
||||
|
||||
#if defined(OS_WIN)
|
||||
#include "shell/browser/win/scoped_hstring.h"
|
||||
|
@ -32,4 +32,4 @@ bool IsRunningInDesktopBridge();
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_APPLICATION_INFO_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_APPLICATION_INFO_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_ASAR_ARCHIVE_H_
|
||||
#define SHELL_COMMON_ASAR_ARCHIVE_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_ASAR_ARCHIVE_H_
|
||||
#define ELECTRON_SHELL_COMMON_ASAR_ARCHIVE_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -115,4 +115,4 @@ class Archive {
|
|||
|
||||
} // namespace asar
|
||||
|
||||
#endif // SHELL_COMMON_ASAR_ARCHIVE_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_ASAR_ARCHIVE_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_ASAR_ASAR_UTIL_H_
|
||||
#define SHELL_COMMON_ASAR_ASAR_UTIL_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_ASAR_ASAR_UTIL_H_
|
||||
#define ELECTRON_SHELL_COMMON_ASAR_ASAR_UTIL_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -38,4 +38,4 @@ void ValidateIntegrityOrDie(const char* data,
|
|||
|
||||
} // namespace asar
|
||||
|
||||
#endif // SHELL_COMMON_ASAR_ASAR_UTIL_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_ASAR_ASAR_UTIL_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_ASAR_SCOPED_TEMPORARY_FILE_H_
|
||||
#define SHELL_COMMON_ASAR_SCOPED_TEMPORARY_FILE_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_ASAR_SCOPED_TEMPORARY_FILE_H_
|
||||
#define ELECTRON_SHELL_COMMON_ASAR_SCOPED_TEMPORARY_FILE_H_
|
||||
|
||||
#include "base/files/file_path.h"
|
||||
#include "shell/common/asar/archive.h"
|
||||
|
@ -44,4 +44,4 @@ class ScopedTemporaryFile {
|
|||
|
||||
} // namespace asar
|
||||
|
||||
#endif // SHELL_COMMON_ASAR_SCOPED_TEMPORARY_FILE_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_ASAR_SCOPED_TEMPORARY_FILE_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_COLOR_UTIL_H_
|
||||
#define SHELL_COMMON_COLOR_UTIL_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_COLOR_UTIL_H_
|
||||
#define ELECTRON_SHELL_COMMON_COLOR_UTIL_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -21,4 +21,4 @@ std::string ToRGBAHex(SkColor color, bool include_hash = true);
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_COLOR_UTIL_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_COLOR_UTIL_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_CRASH_KEYS_H_
|
||||
#define SHELL_COMMON_CRASH_KEYS_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_CRASH_KEYS_H_
|
||||
#define ELECTRON_SHELL_COMMON_CRASH_KEYS_H_
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
@ -27,4 +27,4 @@ void SetPlatformCrashKey();
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_CRASH_KEYS_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_CRASH_KEYS_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_ELECTRON_COMMAND_LINE_H_
|
||||
#define SHELL_COMMON_ELECTRON_COMMAND_LINE_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_ELECTRON_COMMAND_LINE_H_
|
||||
#define ELECTRON_SHELL_COMMON_ELECTRON_COMMAND_LINE_H_
|
||||
|
||||
#include "base/command_line.h"
|
||||
#include "build/build_config.h"
|
||||
|
@ -33,4 +33,4 @@ class ElectronCommandLine {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_ELECTRON_COMMAND_LINE_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_ELECTRON_COMMAND_LINE_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_ELECTRON_CONSTANTS_H_
|
||||
#define SHELL_COMMON_ELECTRON_CONSTANTS_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_ELECTRON_CONSTANTS_H_
|
||||
#define ELECTRON_SHELL_COMMON_ELECTRON_CONSTANTS_H_
|
||||
|
||||
#include "base/files/file_path.h"
|
||||
#include "build/build_config.h"
|
||||
|
@ -37,4 +37,4 @@ extern const base::FilePath::CharType kPdfPluginPath[];
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_ELECTRON_CONSTANTS_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_ELECTRON_CONSTANTS_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_COMMON_ELECTRON_PATHS_H_
|
||||
#define SHELL_COMMON_ELECTRON_PATHS_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_ELECTRON_PATHS_H_
|
||||
#define ELECTRON_SHELL_COMMON_ELECTRON_PATHS_H_
|
||||
|
||||
#include "base/base_paths.h"
|
||||
|
||||
|
@ -46,4 +46,4 @@ static_assert(PATH_START < PATH_END, "invalid PATH boundaries");
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_ELECTRON_PATHS_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_ELECTRON_PATHS_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_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_API_PROVIDER_H_
|
||||
#define SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_API_PROVIDER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_API_PROVIDER_H_
|
||||
#define ELECTRON_SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_API_PROVIDER_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -37,4 +37,4 @@ class ElectronExtensionsAPIProvider : public extensions::ExtensionsAPIProvider {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_API_PROVIDER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_API_PROVIDER_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_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_CLIENT_H_
|
||||
#define SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_CLIENT_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_CLIENT_H_
|
||||
#define ELECTRON_SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_CLIENT_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -62,4 +62,4 @@ class ElectronExtensionsClient : public extensions::ExtensionsClient {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_CLIENT_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_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_COMMON_GIN_CONVERTERS_ACCELERATOR_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_ACCELERATOR_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_ACCELERATOR_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_ACCELERATOR_CONVERTER_H_
|
||||
|
||||
#include "gin/converter.h"
|
||||
|
||||
|
@ -22,4 +22,4 @@ struct Converter<ui::Accelerator> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_ACCELERATOR_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_ACCELERATOR_CONVERTER_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_GIN_CONVERTERS_BASE_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_BASE_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_BASE_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_BASE_CONVERTER_H_
|
||||
|
||||
#include "base/process/kill.h"
|
||||
#include "gin/converter.h"
|
||||
|
@ -44,4 +44,4 @@ struct Converter<base::TerminationStatus> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_BASE_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_BASE_CONVERTER_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_GIN_CONVERTERS_BLINK_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_BLINK_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_BLINK_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_BLINK_CONVERTER_H_
|
||||
|
||||
#include "gin/converter.h"
|
||||
#include "third_party/blink/public/common/context_menu_data/context_menu_data.h"
|
||||
|
@ -120,4 +120,4 @@ v8::Local<v8::Value> MediaFlagsToV8(v8::Isolate* isolate, int mediaFlags);
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_BLINK_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_BLINK_CONVERTER_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_GIN_CONVERTERS_CALLBACK_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_CALLBACK_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_CALLBACK_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_CALLBACK_CONVERTER_H_
|
||||
|
||||
#include <utility>
|
||||
|
||||
|
@ -56,4 +56,4 @@ struct Converter<base::OnceCallback<Sig>> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_CALLBACK_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_CALLBACK_CONVERTER_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_GIN_CONVERTERS_CONTENT_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_CONTENT_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_CONTENT_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_CONTENT_CONVERTER_H_
|
||||
|
||||
#include <utility>
|
||||
|
||||
|
@ -88,4 +88,4 @@ struct Converter<content::NativeWebKeyboardEvent> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_CONTENT_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_CONTENT_CONVERTER_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_GIN_CONVERTERS_EXTENSION_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_EXTENSION_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_EXTENSION_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_EXTENSION_CONVERTER_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -23,4 +23,4 @@ struct Converter<const extensions::Extension*> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_EXTENSION_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_EXTENSION_CONVERTER_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_GIN_CONVERTERS_FILE_DIALOG_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_FILE_DIALOG_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FILE_DIALOG_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FILE_DIALOG_CONVERTER_H_
|
||||
|
||||
#include "gin/converter.h"
|
||||
#include "shell/browser/ui/file_dialog.h"
|
||||
|
@ -30,4 +30,4 @@ struct Converter<file_dialog::DialogSettings> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_FILE_DIALOG_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FILE_DIALOG_CONVERTER_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_GIN_CONVERTERS_FILE_PATH_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_FILE_PATH_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FILE_PATH_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FILE_PATH_CONVERTER_H_
|
||||
|
||||
#include "base/files/file_path.h"
|
||||
#include "gin/converter.h"
|
||||
|
@ -41,4 +41,4 @@ struct Converter<base::FilePath> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_FILE_PATH_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FILE_PATH_CONVERTER_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_GIN_CONVERTERS_FRAME_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_FRAME_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FRAME_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FRAME_CONVERTER_H_
|
||||
|
||||
#include "gin/converter.h"
|
||||
#include "shell/common/gin_helper/accessor.h"
|
||||
|
@ -32,4 +32,4 @@ struct Converter<gin_helper::AccessorValue<content::RenderFrameHost*>> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_FRAME_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FRAME_CONVERTER_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_GIN_CONVERTERS_GFX_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_GFX_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GFX_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GFX_CONVERTER_H_
|
||||
|
||||
#include "gin/converter.h"
|
||||
|
||||
|
@ -71,4 +71,4 @@ struct Converter<gfx::ResizeEdge> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_GFX_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GFX_CONVERTER_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_GIN_CONVERTERS_GUID_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_GUID_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GUID_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GUID_CONVERTER_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -83,4 +83,4 @@ struct Converter<UUID> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_GUID_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GUID_CONVERTER_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_GIN_CONVERTERS_GURL_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_GURL_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GURL_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GURL_CONVERTER_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -32,4 +32,4 @@ struct Converter<GURL> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_GURL_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GURL_CONVERTER_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_GIN_CONVERTERS_IMAGE_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_IMAGE_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_IMAGE_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_IMAGE_CONVERTER_H_
|
||||
|
||||
#include "gin/converter.h"
|
||||
|
||||
|
@ -31,4 +31,4 @@ struct Converter<gfx::Image> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_IMAGE_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_IMAGE_CONVERTER_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_GIN_CONVERTERS_MESSAGE_BOX_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_MESSAGE_BOX_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_MESSAGE_BOX_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_MESSAGE_BOX_CONVERTER_H_
|
||||
|
||||
#include "gin/converter.h"
|
||||
#include "shell/browser/ui/message_box.h"
|
||||
|
@ -19,4 +19,4 @@ struct Converter<electron::MessageBoxSettings> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_MESSAGE_BOX_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_MESSAGE_BOX_CONVERTER_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_GIN_CONVERTERS_NATIVE_WINDOW_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_NATIVE_WINDOW_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_NATIVE_WINDOW_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_NATIVE_WINDOW_CONVERTER_H_
|
||||
|
||||
#include "gin/converter.h"
|
||||
#include "shell/browser/api/electron_api_base_window.h"
|
||||
|
@ -32,4 +32,4 @@ struct Converter<electron::NativeWindow*> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_NATIVE_WINDOW_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_NATIVE_WINDOW_CONVERTER_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_GIN_CONVERTERS_NET_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_NET_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_NET_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_NET_CONVERTER_H_
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
@ -140,4 +140,4 @@ struct Converter<std::vector<std::pair<K, V>>> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_NET_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_NET_CONVERTER_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_GIN_CONVERTERS_STD_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_STD_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_STD_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_STD_CONVERTER_H_
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
@ -212,4 +212,4 @@ struct Converter<std::wstring> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_STD_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_STD_CONVERTER_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_GIN_CONVERTERS_TIME_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_TIME_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_TIME_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_TIME_CONVERTER_H_
|
||||
|
||||
#include "gin/converter.h"
|
||||
|
||||
|
@ -20,4 +20,4 @@ struct Converter<base::Time> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_TIME_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_TIME_CONVERTER_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_GIN_CONVERTERS_VALUE_CONVERTER_H_
|
||||
#define SHELL_COMMON_GIN_CONVERTERS_VALUE_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_VALUE_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_VALUE_CONVERTER_H_
|
||||
|
||||
#include "gin/converter.h"
|
||||
|
||||
|
@ -44,4 +44,4 @@ struct Converter<base::ListValue> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_CONVERTERS_VALUE_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_VALUE_CONVERTER_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_GIN_HELPER_ACCESSOR_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_ACCESSOR_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_ACCESSOR_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_ACCESSOR_H_
|
||||
|
||||
namespace gin_helper {
|
||||
|
||||
|
@ -24,4 +24,4 @@ struct AccessorValue<const T*> {
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_ACCESSOR_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_ACCESSOR_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE.chromium file.
|
||||
|
||||
#ifndef SHELL_COMMON_GIN_HELPER_ARGUMENTS_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_ARGUMENTS_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_ARGUMENTS_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_ARGUMENTS_H_
|
||||
|
||||
#include "gin/arguments.h"
|
||||
|
||||
|
@ -48,4 +48,4 @@ class Arguments : public gin::Arguments {
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_ARGUMENTS_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_ARGUMENTS_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_GIN_HELPER_CALLBACK_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_CALLBACK_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_CALLBACK_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_CALLBACK_H_
|
||||
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
@ -149,4 +149,4 @@ v8::Local<v8::Value> CallbackToV8Leaked(
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_CALLBACK_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_CALLBACK_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_GIN_HELPER_CLEANED_UP_AT_EXIT_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_CLEANED_UP_AT_EXIT_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_CLEANED_UP_AT_EXIT_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_CLEANED_UP_AT_EXIT_H_
|
||||
|
||||
namespace gin_helper {
|
||||
|
||||
|
@ -24,4 +24,4 @@ class CleanedUpAtExit {
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_CLEANED_UP_AT_EXIT_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_CLEANED_UP_AT_EXIT_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_GIN_HELPER_CONSTRUCTIBLE_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_CONSTRUCTIBLE_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_CONSTRUCTIBLE_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_CONSTRUCTIBLE_H_
|
||||
|
||||
#include "gin/per_isolate_data.h"
|
||||
#include "gin/wrappable.h"
|
||||
|
@ -66,4 +66,4 @@ class Constructible {
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_CONSTRUCTIBLE_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_CONSTRUCTIBLE_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_GIN_HELPER_CONSTRUCTOR_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_CONSTRUCTOR_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_CONSTRUCTOR_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_CONSTRUCTOR_H_
|
||||
|
||||
#include "shell/common/gin_helper/function_template.h"
|
||||
#include "shell/common/gin_helper/wrappable_base.h"
|
||||
|
@ -168,4 +168,4 @@ v8::Local<v8::Function> CreateConstructor(
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_CONSTRUCTOR_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_CONSTRUCTOR_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_GIN_HELPER_DESTROYABLE_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_DESTROYABLE_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_DESTROYABLE_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_DESTROYABLE_H_
|
||||
|
||||
#include "v8/include/v8.h"
|
||||
|
||||
|
@ -21,4 +21,4 @@ struct Destroyable {
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_DESTROYABLE_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_DESTROYABLE_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_GIN_HELPER_DICTIONARY_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_DICTIONARY_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_DICTIONARY_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_DICTIONARY_H_
|
||||
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
@ -214,4 +214,4 @@ struct Converter<gin_helper::Dictionary> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_DICTIONARY_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_DICTIONARY_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_GIN_HELPER_ERROR_THROWER_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_ERROR_THROWER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_ERROR_THROWER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_ERROR_THROWER_H_
|
||||
|
||||
#include "base/strings/string_piece.h"
|
||||
#include "v8/include/v8.h"
|
||||
|
@ -34,4 +34,4 @@ class ErrorThrower {
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_ERROR_THROWER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_ERROR_THROWER_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_GIN_HELPER_EVENT_EMITTER_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_H_
|
||||
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
@ -101,4 +101,4 @@ class EventEmitter : public gin_helper::Wrappable<T> {
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_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_GIN_HELPER_EVENT_EMITTER_CALLER_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_CALLER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_CALLER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_CALLER_H_
|
||||
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
@ -88,4 +88,4 @@ v8::Local<v8::Value> CallMethod(gin::Wrappable<T>* object,
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_CALLER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_CALLER_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE.chromium file.
|
||||
|
||||
#ifndef SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_H_
|
||||
|
||||
#include <utility>
|
||||
|
||||
|
@ -329,4 +329,4 @@ struct CallbackTraits<
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE.chromium file.
|
||||
|
||||
#ifndef SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_EXTENSIONS_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_EXTENSIONS_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_EXTENSIONS_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_EXTENSIONS_H_
|
||||
|
||||
#include <utility>
|
||||
|
||||
|
@ -57,4 +57,4 @@ v8::Local<v8::FunctionTemplate> CreateConstructorFunctionTemplate(
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_EXTENSIONS_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_EXTENSIONS_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE.chromium file.
|
||||
|
||||
#ifndef SHELL_COMMON_GIN_HELPER_LOCKER_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_LOCKER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_LOCKER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_LOCKER_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -34,4 +34,4 @@ class Locker {
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_LOCKER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_LOCKER_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_GIN_HELPER_MICROTASKS_SCOPE_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_MICROTASKS_SCOPE_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_MICROTASKS_SCOPE_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_MICROTASKS_SCOPE_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -31,4 +31,4 @@ class MicrotasksScope {
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_MICROTASKS_SCOPE_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_MICROTASKS_SCOPE_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_GIN_HELPER_OBJECT_TEMPLATE_BUILDER_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_OBJECT_TEMPLATE_BUILDER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_OBJECT_TEMPLATE_BUILDER_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_OBJECT_TEMPLATE_BUILDER_H_
|
||||
|
||||
#include "shell/common/gin_helper/function_template.h"
|
||||
|
||||
|
@ -74,4 +74,4 @@ class ObjectTemplateBuilder {
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_OBJECT_TEMPLATE_BUILDER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_OBJECT_TEMPLATE_BUILDER_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by MIT license that can be found in the
|
||||
// LICENSE file.
|
||||
|
||||
#ifndef SHELL_COMMON_GIN_HELPER_PERSISTENT_DICTIONARY_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_PERSISTENT_DICTIONARY_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_PERSISTENT_DICTIONARY_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_PERSISTENT_DICTIONARY_H_
|
||||
|
||||
#include "shell/common/gin_helper/dictionary.h"
|
||||
|
||||
|
@ -60,4 +60,4 @@ struct Converter<gin_helper::PersistentDictionary> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_PERSISTENT_DICTIONARY_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_PERSISTENT_DICTIONARY_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_GIN_HELPER_PINNABLE_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_PINNABLE_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_PINNABLE_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_PINNABLE_H_
|
||||
|
||||
#include "v8/include/v8.h"
|
||||
|
||||
|
@ -31,4 +31,4 @@ class Pinnable {
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_PINNABLE_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_PINNABLE_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_GIN_HELPER_PROMISE_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_PROMISE_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_PROMISE_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_PROMISE_H_
|
||||
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
|
@ -181,4 +181,4 @@ struct Converter<gin_helper::Promise<T>> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_PROMISE_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_PROMISE_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_GIN_HELPER_TRACKABLE_OBJECT_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_TRACKABLE_OBJECT_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_TRACKABLE_OBJECT_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_TRACKABLE_OBJECT_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
@ -137,4 +137,4 @@ electron::KeyWeakMap<int32_t>* TrackableObject<T>::weak_map_ = nullptr;
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_TRACKABLE_OBJECT_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_TRACKABLE_OBJECT_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE.chromium file.
|
||||
|
||||
#ifndef SHELL_COMMON_GIN_HELPER_WRAPPABLE_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_WRAPPABLE_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_WRAPPABLE_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_WRAPPABLE_H_
|
||||
|
||||
#include "base/bind.h"
|
||||
#include "gin/per_isolate_data.h"
|
||||
|
@ -98,4 +98,4 @@ struct Converter<
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_WRAPPABLE_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_WRAPPABLE_H_
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE.chromium file.
|
||||
|
||||
#ifndef SHELL_COMMON_GIN_HELPER_WRAPPABLE_BASE_H_
|
||||
#define SHELL_COMMON_GIN_HELPER_WRAPPABLE_BASE_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_WRAPPABLE_BASE_H_
|
||||
#define ELECTRON_SHELL_COMMON_GIN_HELPER_WRAPPABLE_BASE_H_
|
||||
|
||||
#include "v8/include/v8.h"
|
||||
|
||||
|
@ -67,4 +67,4 @@ class WrappableBase {
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_COMMON_GIN_HELPER_WRAPPABLE_BASE_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_WRAPPABLE_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_COMMON_HEAP_SNAPSHOT_H_
|
||||
#define SHELL_COMMON_HEAP_SNAPSHOT_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_HEAP_SNAPSHOT_H_
|
||||
#define ELECTRON_SHELL_COMMON_HEAP_SNAPSHOT_H_
|
||||
|
||||
namespace base {
|
||||
class File;
|
||||
|
@ -19,4 +19,4 @@ bool TakeHeapSnapshot(v8::Isolate* isolate, base::File* file);
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_HEAP_SNAPSHOT_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_HEAP_SNAPSHOT_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_KEY_WEAK_MAP_H_
|
||||
#define SHELL_COMMON_KEY_WEAK_MAP_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_KEY_WEAK_MAP_H_
|
||||
#define ELECTRON_SHELL_COMMON_KEY_WEAK_MAP_H_
|
||||
|
||||
#include <unordered_map>
|
||||
#include <utility>
|
||||
|
@ -85,4 +85,4 @@ class KeyWeakMap {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_KEY_WEAK_MAP_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_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_KEYBOARD_UTIL_H_
|
||||
#define SHELL_COMMON_KEYBOARD_UTIL_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_KEYBOARD_UTIL_H_
|
||||
#define ELECTRON_SHELL_COMMON_KEYBOARD_UTIL_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -24,4 +24,4 @@ ui::KeyboardCode KeyboardCodeFromStr(const std::string& str,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_KEYBOARD_UTIL_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_KEYBOARD_UTIL_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_LANGUAGE_UTIL_H_
|
||||
#define SHELL_COMMON_LANGUAGE_UTIL_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_LANGUAGE_UTIL_H_
|
||||
#define ELECTRON_SHELL_COMMON_LANGUAGE_UTIL_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -16,4 +16,4 @@ std::vector<std::string> GetPreferredLanguages();
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_LANGUAGE_UTIL_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_LANGUAGE_UTIL_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_LOGGING_H_
|
||||
#define SHELL_COMMON_LOGGING_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_LOGGING_H_
|
||||
#define ELECTRON_SHELL_COMMON_LOGGING_H_
|
||||
|
||||
namespace base {
|
||||
class CommandLine;
|
||||
|
@ -19,4 +19,4 @@ base::FilePath GetLogFileName(const base::CommandLine& command_line);
|
|||
|
||||
} // namespace logging
|
||||
|
||||
#endif // SHELL_COMMON_LOGGING_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_LOGGING_H_
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE-CHROMIUM file.
|
||||
|
||||
#ifndef SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_
|
||||
#define SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_
|
||||
#define ELECTRON_SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_
|
||||
|
||||
#ifdef __OBJC__
|
||||
@class NSBundle;
|
||||
|
@ -27,4 +27,4 @@ base::FilePath MainApplicationBundlePath();
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_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_MOUSE_UTIL_H_
|
||||
#define SHELL_COMMON_MOUSE_UTIL_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_MOUSE_UTIL_H_
|
||||
#define ELECTRON_SHELL_COMMON_MOUSE_UTIL_H_
|
||||
|
||||
#include <string>
|
||||
#include "content/common/cursors/webcursor.h"
|
||||
|
@ -31,4 +31,4 @@ std::string CursorTypeToString(const ui::Cursor& cursor);
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_MOUSE_UTIL_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_MOUSE_UTIL_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_NODE_BINDINGS_H_
|
||||
#define SHELL_COMMON_NODE_BINDINGS_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_NODE_BINDINGS_H_
|
||||
#define ELECTRON_SHELL_COMMON_NODE_BINDINGS_H_
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
|
@ -170,4 +170,4 @@ class NodeBindings {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_NODE_BINDINGS_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_NODE_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_NODE_BINDINGS_LINUX_H_
|
||||
#define SHELL_COMMON_NODE_BINDINGS_LINUX_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_NODE_BINDINGS_LINUX_H_
|
||||
#define ELECTRON_SHELL_COMMON_NODE_BINDINGS_LINUX_H_
|
||||
|
||||
#include "base/compiler_specific.h"
|
||||
#include "shell/common/node_bindings.h"
|
||||
|
@ -29,4 +29,4 @@ class NodeBindingsLinux : public NodeBindings {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_NODE_BINDINGS_LINUX_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_NODE_BINDINGS_LINUX_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_NODE_BINDINGS_MAC_H_
|
||||
#define SHELL_COMMON_NODE_BINDINGS_MAC_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_NODE_BINDINGS_MAC_H_
|
||||
#define ELECTRON_SHELL_COMMON_NODE_BINDINGS_MAC_H_
|
||||
|
||||
#include "base/compiler_specific.h"
|
||||
#include "shell/common/node_bindings.h"
|
||||
|
@ -26,4 +26,4 @@ class NodeBindingsMac : public NodeBindings {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_NODE_BINDINGS_MAC_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_NODE_BINDINGS_MAC_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_NODE_BINDINGS_WIN_H_
|
||||
#define SHELL_COMMON_NODE_BINDINGS_WIN_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_NODE_BINDINGS_WIN_H_
|
||||
#define ELECTRON_SHELL_COMMON_NODE_BINDINGS_WIN_H_
|
||||
|
||||
#include "base/compiler_specific.h"
|
||||
#include "shell/common/node_bindings.h"
|
||||
|
@ -21,4 +21,4 @@ class NodeBindingsWin : public NodeBindings {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_NODE_BINDINGS_WIN_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_NODE_BINDINGS_WIN_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_NODE_INCLUDES_H_
|
||||
#define SHELL_COMMON_NODE_INCLUDES_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_NODE_INCLUDES_H_
|
||||
#define ELECTRON_SHELL_COMMON_NODE_INCLUDES_H_
|
||||
|
||||
// Include common headers for using node APIs.
|
||||
|
||||
|
@ -36,4 +36,4 @@
|
|||
#define NODE_LINKED_MODULE_CONTEXT_AWARE(modname, regfunc) \
|
||||
NODE_MODULE_CONTEXT_AWARE_CPP(modname, regfunc, nullptr, NM_F_LINKED)
|
||||
|
||||
#endif // SHELL_COMMON_NODE_INCLUDES_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_NODE_INCLUDES_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_NODE_UTIL_H_
|
||||
#define SHELL_COMMON_NODE_UTIL_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_NODE_UTIL_H_
|
||||
#define ELECTRON_SHELL_COMMON_NODE_UTIL_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
@ -33,4 +33,4 @@ v8::MaybeLocal<v8::Value> CompileAndCall(
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_NODE_UTIL_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_NODE_UTIL_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_OPTIONS_SWITCHES_H_
|
||||
#define SHELL_COMMON_OPTIONS_SWITCHES_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_OPTIONS_SWITCHES_H_
|
||||
#define ELECTRON_SHELL_COMMON_OPTIONS_SWITCHES_H_
|
||||
|
||||
#include "electron/buildflags/buildflags.h"
|
||||
|
||||
|
@ -139,4 +139,4 @@ extern const char kEnableWebSQL[];
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_OPTIONS_SWITCHES_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_OPTIONS_SWITCHES_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_PLATFORM_UTIL_H_
|
||||
#define SHELL_COMMON_PLATFORM_UTIL_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_PLATFORM_UTIL_H_
|
||||
#define ELECTRON_SHELL_COMMON_PLATFORM_UTIL_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -60,4 +60,4 @@ bool GetDesktopName(std::string* setme);
|
|||
|
||||
} // namespace platform_util
|
||||
|
||||
#endif // SHELL_COMMON_PLATFORM_UTIL_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_PLATFORM_UTIL_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_PLATFORM_UTIL_INTERNAL_H_
|
||||
#define SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_
|
||||
#define ELECTRON_SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_
|
||||
|
||||
#include "shell/common/platform_util.h"
|
||||
|
||||
|
@ -23,4 +23,4 @@ bool PlatformTrashItem(const base::FilePath& path, std::string* error);
|
|||
} // namespace internal
|
||||
} // namespace platform_util
|
||||
|
||||
#endif // SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_PLATFORM_UTIL_INTERNAL_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_PROCESS_UTIL_H_
|
||||
#define SHELL_COMMON_PROCESS_UTIL_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_PROCESS_UTIL_H_
|
||||
#define ELECTRON_SHELL_COMMON_PROCESS_UTIL_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -19,4 +19,4 @@ void EmitWarning(node::Environment* env,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_PROCESS_UTIL_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_PROCESS_UTIL_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_SKIA_UTIL_H_
|
||||
#define SHELL_COMMON_SKIA_UTIL_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_SKIA_UTIL_H_
|
||||
#define ELECTRON_SHELL_COMMON_SKIA_UTIL_H_
|
||||
|
||||
namespace base {
|
||||
class FilePath;
|
||||
|
@ -45,4 +45,4 @@ bool ReadImageSkiaFromICO(gfx::ImageSkia* image, HICON icon);
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_SKIA_UTIL_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_SKIA_UTIL_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_V8_VALUE_CONVERTER_H_
|
||||
#define SHELL_COMMON_V8_VALUE_CONVERTER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_V8_VALUE_CONVERTER_H_
|
||||
#define ELECTRON_SHELL_COMMON_V8_VALUE_CONVERTER_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -75,4 +75,4 @@ class V8ValueConverter {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_V8_VALUE_CONVERTER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_V8_VALUE_CONVERTER_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_V8_VALUE_SERIALIZER_H_
|
||||
#define SHELL_COMMON_V8_VALUE_SERIALIZER_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_V8_VALUE_SERIALIZER_H_
|
||||
#define ELECTRON_SHELL_COMMON_V8_VALUE_SERIALIZER_H_
|
||||
|
||||
#include "base/containers/span.h"
|
||||
|
||||
|
@ -30,4 +30,4 @@ v8::Local<v8::Value> DeserializeV8Value(v8::Isolate* isolate,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_V8_VALUE_SERIALIZER_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_V8_VALUE_SERIALIZER_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_WORLD_IDS_H_
|
||||
#define SHELL_COMMON_WORLD_IDS_H_
|
||||
#ifndef ELECTRON_SHELL_COMMON_WORLD_IDS_H_
|
||||
#define ELECTRON_SHELL_COMMON_WORLD_IDS_H_
|
||||
|
||||
#include "third_party/blink/renderer/platform/bindings/dom_wrapper_world.h" // nogncheck
|
||||
|
||||
|
@ -27,4 +27,4 @@ enum WorldIDs : int32_t {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_WORLD_IDS_H_
|
||||
#endif // ELECTRON_SHELL_COMMON_WORLD_IDS_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue