mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
chore: add ELECTRON_ prefix to C++ include guards (#31925)
This commit is contained in:
@@ -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_BROWSER_WIN_DARK_MODE_H_
|
||||
#define SHELL_BROWSER_WIN_DARK_MODE_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_WIN_DARK_MODE_H_
|
||||
#define ELECTRON_SHELL_BROWSER_WIN_DARK_MODE_H_
|
||||
|
||||
#ifdef WIN32_LEAN_AND_MEAN
|
||||
#include <Windows.h>
|
||||
@@ -25,4 +25,4 @@ void SetDarkModeForWindow(HWND hWnd, ui::NativeTheme::ThemeSource theme_source);
|
||||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_WIN_DARK_MODE_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_WIN_DARK_MODE_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_BROWSER_WIN_SCOPED_HSTRING_H_
|
||||
#define SHELL_BROWSER_WIN_SCOPED_HSTRING_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_WIN_SCOPED_HSTRING_H_
|
||||
#define ELECTRON_SHELL_BROWSER_WIN_SCOPED_HSTRING_H_
|
||||
|
||||
#include <hstring.h>
|
||||
#include <windows.h>
|
||||
@@ -42,4 +42,4 @@ class ScopedHString {
|
||||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_WIN_SCOPED_HSTRING_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_WIN_SCOPED_HSTRING_H_
|
||||
|
||||
Reference in New Issue
Block a user