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 a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_
|
||||
#define SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -114,4 +114,4 @@ class AppIndicatorIcon : public views::StatusIconLinux {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_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_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_
|
||||
#define SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_
|
||||
|
||||
#include "base/callback.h"
|
||||
#include "ui/base/glib/glib_signal.h"
|
||||
|
@ -74,4 +74,4 @@ class AppIndicatorIconMenu {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_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_BROWSER_UI_GTK_GTK_STATUS_ICON_H_
|
||||
#define SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -62,4 +62,4 @@ class GtkStatusIcon : public views::StatusIconLinux {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_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_BROWSER_UI_GTK_MENU_UTIL_H_
|
||||
#define SHELL_BROWSER_UI_GTK_MENU_UTIL_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_MENU_UTIL_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_GTK_MENU_UTIL_H_
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
|
@ -60,4 +60,4 @@ void SetMenuItemInfo(GtkWidget* widget, void* block_activation_ptr);
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_GTK_MENU_UTIL_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_GTK_MENU_UTIL_H_
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
|
||||
#define SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
|
||||
#define ELECTRON_SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -29,4 +29,4 @@ std::unique_ptr<views::StatusIconLinux> CreateLinuxStatusIcon(
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue