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_BROWSER_API_ELECTRON_API_APP_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_APP_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_APP_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_APP_H_
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
@ -271,4 +271,4 @@ class App : public ElectronBrowserClient::Delegate,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_APP_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_APP_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_BROWSER_API_ELECTRON_API_AUTO_UPDATER_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_AUTO_UPDATER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_AUTO_UPDATER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_AUTO_UPDATER_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -64,4 +64,4 @@ class AutoUpdater : public gin::Wrappable<AutoUpdater>,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_AUTO_UPDATER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_AUTO_UPDATER_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_BROWSER_API_ELECTRON_API_BASE_WINDOW_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_BASE_WINDOW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BASE_WINDOW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BASE_WINDOW_H_
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
@ -287,4 +287,4 @@ class BaseWindow : public gin_helper::TrackableObject<BaseWindow>,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_BASE_WINDOW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BASE_WINDOW_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_BROWSER_API_ELECTRON_API_BROWSER_VIEW_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_BROWSER_VIEW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BROWSER_VIEW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BROWSER_VIEW_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -94,4 +94,4 @@ class BrowserView : public gin::Wrappable<BrowserView>,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_BROWSER_VIEW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BROWSER_VIEW_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_BROWSER_API_ELECTRON_API_BROWSER_WINDOW_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_BROWSER_WINDOW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BROWSER_WINDOW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BROWSER_WINDOW_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -133,4 +133,4 @@ class BrowserWindow : public BaseWindow,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_BROWSER_WINDOW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BROWSER_WINDOW_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_BROWSER_API_ELECTRON_API_COOKIES_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_COOKIES_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_COOKIES_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_COOKIES_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -72,4 +72,4 @@ class Cookies : public gin::Wrappable<Cookies>,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_COOKIES_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_COOKIES_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_BROWSER_API_ELECTRON_API_CRASH_REPORTER_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_CRASH_REPORTER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_CRASH_REPORTER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_CRASH_REPORTER_H_
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
@ -38,4 +38,4 @@ void Start(const std::string& submit_url,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_CRASH_REPORTER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_CRASH_REPORTER_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_BROWSER_API_ELECTRON_API_DATA_PIPE_HOLDER_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_DATA_PIPE_HOLDER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DATA_PIPE_HOLDER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DATA_PIPE_HOLDER_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -53,4 +53,4 @@ class DataPipeHolder : public gin::Wrappable<DataPipeHolder> {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_DATA_PIPE_HOLDER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DATA_PIPE_HOLDER_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_BROWSER_API_ELECTRON_API_DEBUGGER_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_DEBUGGER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DEBUGGER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DEBUGGER_H_
|
||||
|
||||
#include <map>
|
||||
|
||||
|
@ -78,4 +78,4 @@ class Debugger : public gin::Wrappable<Debugger>,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_DEBUGGER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DEBUGGER_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_BROWSER_API_ELECTRON_API_DESKTOP_CAPTURER_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_DESKTOP_CAPTURER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DESKTOP_CAPTURER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DESKTOP_CAPTURER_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -81,4 +81,4 @@ class DesktopCapturer : public gin::Wrappable<DesktopCapturer>,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_DESKTOP_CAPTURER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DESKTOP_CAPTURER_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_BROWSER_API_ELECTRON_API_DOWNLOAD_ITEM_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_DOWNLOAD_ITEM_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DOWNLOAD_ITEM_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DOWNLOAD_ITEM_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -91,4 +91,4 @@ class DownloadItem : public gin::Wrappable<DownloadItem>,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_DOWNLOAD_ITEM_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DOWNLOAD_ITEM_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_BROWSER_API_ELECTRON_API_EVENT_EMITTER_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_EVENT_EMITTER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_EVENT_EMITTER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_EVENT_EMITTER_H_
|
||||
|
||||
namespace v8 {
|
||||
template <typename T>
|
||||
|
@ -18,4 +18,4 @@ v8::Local<v8::Object> GetEventEmitterPrototype(v8::Isolate* isolate);
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_EVENT_EMITTER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_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_BROWSER_API_ELECTRON_API_GLOBAL_SHORTCUT_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_GLOBAL_SHORTCUT_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_GLOBAL_SHORTCUT_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_GLOBAL_SHORTCUT_H_
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
@ -60,4 +60,4 @@ class GlobalShortcut : public extensions::GlobalShortcutListener::Observer,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_GLOBAL_SHORTCUT_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_GLOBAL_SHORTCUT_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_BROWSER_API_ELECTRON_API_IN_APP_PURCHASE_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_IN_APP_PURCHASE_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_IN_APP_PURCHASE_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_IN_APP_PURCHASE_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -55,4 +55,4 @@ class InAppPurchase : public gin::Wrappable<InAppPurchase>,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_IN_APP_PURCHASE_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_IN_APP_PURCHASE_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_BROWSER_API_ELECTRON_API_MENU_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_MENU_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_MENU_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_MENU_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -150,4 +150,4 @@ struct Converter<electron::ElectronMenuModel*> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_MENU_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_MENU_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_BROWSER_API_ELECTRON_API_MENU_MAC_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_MENU_MAC_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_MENU_MAC_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_MENU_MAC_H_
|
||||
|
||||
#include "shell/browser/api/electron_api_menu.h"
|
||||
|
||||
|
@ -54,4 +54,4 @@ class MenuMac : public Menu {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_MENU_MAC_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_MENU_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_BROWSER_API_ELECTRON_API_MENU_VIEWS_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_MENU_VIEWS_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_MENU_VIEWS_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_MENU_VIEWS_H_
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
@ -43,4 +43,4 @@ class MenuViews : public Menu {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_MENU_VIEWS_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_MENU_VIEWS_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_BROWSER_API_ELECTRON_API_NATIVE_THEME_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_NATIVE_THEME_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NATIVE_THEME_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NATIVE_THEME_H_
|
||||
|
||||
#include "gin/handle.h"
|
||||
#include "gin/wrappable.h"
|
||||
|
@ -73,4 +73,4 @@ struct Converter<ui::NativeTheme::ThemeSource> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_NATIVE_THEME_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NATIVE_THEME_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_BROWSER_API_ELECTRON_API_NET_LOG_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_NET_LOG_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NET_LOG_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NET_LOG_H_
|
||||
|
||||
#include "base/callback.h"
|
||||
#include "base/files/file_path.h"
|
||||
|
@ -77,4 +77,4 @@ class NetLog : public gin::Wrappable<NetLog> {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_NET_LOG_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NET_LOG_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_BROWSER_API_ELECTRON_API_NOTIFICATION_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_NOTIFICATION_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NOTIFICATION_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NOTIFICATION_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -121,4 +121,4 @@ class Notification : public gin::Wrappable<Notification>,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_NOTIFICATION_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NOTIFICATION_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_BROWSER_API_ELECTRON_API_POWER_MONITOR_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_POWER_MONITOR_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_POWER_MONITOR_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_POWER_MONITOR_H_
|
||||
|
||||
#include "base/power_monitor/power_observer.h"
|
||||
#include "gin/wrappable.h"
|
||||
|
@ -90,4 +90,4 @@ class PowerMonitor : public gin::Wrappable<PowerMonitor>,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_POWER_MONITOR_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_POWER_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_BROWSER_API_ELECTRON_API_POWER_SAVE_BLOCKER_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_POWER_SAVE_BLOCKER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_POWER_SAVE_BLOCKER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_POWER_SAVE_BLOCKER_H_
|
||||
|
||||
#include <map>
|
||||
|
||||
|
@ -60,4 +60,4 @@ class PowerSaveBlocker : public gin::Wrappable<PowerSaveBlocker> {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_POWER_SAVE_BLOCKER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_POWER_SAVE_BLOCKER_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_BROWSER_API_ELECTRON_API_PROTOCOL_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_PROTOCOL_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_PROTOCOL_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_PROTOCOL_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -103,4 +103,4 @@ class Protocol : public gin::Wrappable<Protocol> {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_PROTOCOL_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_PROTOCOL_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_BROWSER_API_ELECTRON_API_SAFE_STORAGE_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_SAFE_STORAGE_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SAFE_STORAGE_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SAFE_STORAGE_H_
|
||||
|
||||
#include "base/dcheck_is_on.h"
|
||||
|
||||
|
@ -22,4 +22,4 @@ void SetElectronCryptoReady(bool ready);
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_SAFE_STORAGE_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SAFE_STORAGE_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_BROWSER_API_ELECTRON_API_SCREEN_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_SCREEN_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SCREEN_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SCREEN_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
@ -62,4 +62,4 @@ class Screen : public gin::Wrappable<Screen>,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_SCREEN_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SCREEN_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_BROWSER_API_ELECTRON_API_SERVICE_WORKER_CONTEXT_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_SERVICE_WORKER_CONTEXT_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SERVICE_WORKER_CONTEXT_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SERVICE_WORKER_CONTEXT_H_
|
||||
|
||||
#include "content/public/browser/service_worker_context.h"
|
||||
#include "content/public/browser/service_worker_context_observer.h"
|
||||
|
@ -62,4 +62,4 @@ class ServiceWorkerContext
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_SERVICE_WORKER_CONTEXT_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SERVICE_WORKER_CONTEXT_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_BROWSER_API_ELECTRON_API_SESSION_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_SESSION_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SESSION_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SESSION_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -197,4 +197,4 @@ class Session : public gin::Wrappable<Session>,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_SESSION_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SESSION_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_BROWSER_API_ELECTRON_API_SYSTEM_PREFERENCES_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_SYSTEM_PREFERENCES_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SYSTEM_PREFERENCES_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SYSTEM_PREFERENCES_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -172,4 +172,4 @@ class SystemPreferences
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_SYSTEM_PREFERENCES_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SYSTEM_PREFERENCES_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_BROWSER_API_ELECTRON_API_TRAY_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_TRAY_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_TRAY_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_TRAY_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -115,4 +115,4 @@ class Tray : public gin::Wrappable<Tray>,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_TRAY_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_TRAY_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_BROWSER_API_ELECTRON_API_URL_LOADER_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_URL_LOADER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_URL_LOADER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_URL_LOADER_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -125,4 +125,4 @@ class SimpleURLLoaderWrapper
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_URL_LOADER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_URL_LOADER_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_BROWSER_API_ELECTRON_API_VIEW_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_VIEW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_VIEW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_VIEW_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
@ -53,4 +53,4 @@ class View : public gin_helper::Wrappable<View> {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_VIEW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_VIEW_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_BROWSER_API_ELECTRON_API_WEB_CONTENTS_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_WEB_CONTENTS_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_CONTENTS_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_CONTENTS_H_
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
@ -830,4 +830,4 @@ class WebContents : public ExclusiveAccessContext,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_WEB_CONTENTS_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_CONTENTS_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_BROWSER_API_ELECTRON_API_WEB_CONTENTS_VIEW_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_WEB_CONTENTS_VIEW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_CONTENTS_VIEW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_CONTENTS_VIEW_H_
|
||||
|
||||
#include "content/public/browser/web_contents_observer.h"
|
||||
#include "shell/browser/api/electron_api_view.h"
|
||||
|
@ -57,4 +57,4 @@ class WebContentsView : public View, public content::WebContentsObserver {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_WEB_CONTENTS_VIEW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_CONTENTS_VIEW_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_BROWSER_API_ELECTRON_API_WEB_FRAME_MAIN_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_WEB_FRAME_MAIN_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_FRAME_MAIN_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_FRAME_MAIN_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -134,4 +134,4 @@ class WebFrameMain : public gin::Wrappable<WebFrameMain>,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_WEB_FRAME_MAIN_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_FRAME_MAIN_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_BROWSER_API_ELECTRON_API_WEB_REQUEST_H_
|
||||
#define SHELL_BROWSER_API_ELECTRON_API_WEB_REQUEST_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_REQUEST_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_REQUEST_H_
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
@ -155,4 +155,4 @@ class WebRequest : public gin::Wrappable<WebRequest>, public WebRequestAPI {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_ELECTRON_API_WEB_REQUEST_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_REQUEST_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_BROWSER_API_EVENT_H_
|
||||
#define SHELL_BROWSER_API_EVENT_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_EVENT_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_EVENT_H_
|
||||
|
||||
#include "electron/shell/common/api/api.mojom.h"
|
||||
#include "gin/handle.h"
|
||||
|
@ -49,4 +49,4 @@ class Event : public gin::Wrappable<Event> {
|
|||
|
||||
} // namespace gin_helper
|
||||
|
||||
#endif // SHELL_BROWSER_API_EVENT_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_EVENT_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_BROWSER_API_FRAME_SUBSCRIBER_H_
|
||||
#define SHELL_BROWSER_API_FRAME_SUBSCRIBER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_FRAME_SUBSCRIBER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_FRAME_SUBSCRIBER_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -79,4 +79,4 @@ class FrameSubscriber : public content::WebContentsObserver,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_FRAME_SUBSCRIBER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_FRAME_SUBSCRIBER_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_BROWSER_API_GPU_INFO_ENUMERATOR_H_
|
||||
#define SHELL_BROWSER_API_GPU_INFO_ENUMERATOR_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_GPU_INFO_ENUMERATOR_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_GPU_INFO_ENUMERATOR_H_
|
||||
|
||||
#include <memory>
|
||||
#include <stack>
|
||||
|
@ -59,4 +59,4 @@ class GPUInfoEnumerator final : public gpu::GPUInfo::Enumerator {
|
|||
};
|
||||
|
||||
} // namespace electron
|
||||
#endif // SHELL_BROWSER_API_GPU_INFO_ENUMERATOR_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_GPU_INFO_ENUMERATOR_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_BROWSER_API_GPUINFO_MANAGER_H_
|
||||
#define SHELL_BROWSER_API_GPUINFO_MANAGER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_GPUINFO_MANAGER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_GPUINFO_MANAGER_H_
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
@ -48,4 +48,4 @@ class GPUInfoManager : public content::GpuDataManagerObserver {
|
|||
};
|
||||
|
||||
} // namespace electron
|
||||
#endif // SHELL_BROWSER_API_GPUINFO_MANAGER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_GPUINFO_MANAGER_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_BROWSER_API_MESSAGE_PORT_H_
|
||||
#define SHELL_BROWSER_API_MESSAGE_PORT_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_MESSAGE_PORT_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_MESSAGE_PORT_H_
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
@ -88,4 +88,4 @@ class MessagePort : public gin::Wrappable<MessagePort>, mojo::MessageReceiver {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_MESSAGE_PORT_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_MESSAGE_PORT_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_BROWSER_API_PROCESS_METRIC_H_
|
||||
#define SHELL_BROWSER_API_PROCESS_METRIC_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_PROCESS_METRIC_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_PROCESS_METRIC_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -62,4 +62,4 @@ struct ProcessMetric {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_PROCESS_METRIC_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_PROCESS_METRIC_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_BROWSER_API_SAVE_PAGE_HANDLER_H_
|
||||
#define SHELL_BROWSER_API_SAVE_PAGE_HANDLER_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_SAVE_PAGE_HANDLER_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_SAVE_PAGE_HANDLER_H_
|
||||
|
||||
#include "components/download/public/common/download_item.h"
|
||||
#include "content/public/browser/download_manager.h"
|
||||
|
@ -52,4 +52,4 @@ class SavePageHandler : public content::DownloadManager::Observer,
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_SAVE_PAGE_HANDLER_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_SAVE_PAGE_HANDLER_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_BROWSER_API_UI_EVENT_H_
|
||||
#define SHELL_BROWSER_API_UI_EVENT_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_UI_EVENT_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_UI_EVENT_H_
|
||||
|
||||
namespace v8 {
|
||||
class Object;
|
||||
|
@ -19,4 +19,4 @@ v8::Local<v8::Object> CreateEventFromFlags(int flags);
|
|||
} // namespace api
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_UI_EVENT_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_UI_EVENT_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_BROWSER_API_VIEWS_ELECTRON_API_IMAGE_VIEW_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ELECTRON_API_IMAGE_VIEW_H_
|
||||
#ifndef ELECTRON_SHELL_BROWSER_API_VIEWS_ELECTRON_API_IMAGE_VIEW_H_
|
||||
#define ELECTRON_SHELL_BROWSER_API_VIEWS_ELECTRON_API_IMAGE_VIEW_H_
|
||||
|
||||
#include "gin/handle.h"
|
||||
#include "shell/browser/api/electron_api_view.h"
|
||||
|
@ -36,4 +36,4 @@ class ImageView : public View {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ELECTRON_API_IMAGE_VIEW_H_
|
||||
#endif // ELECTRON_SHELL_BROWSER_API_VIEWS_ELECTRON_API_IMAGE_VIEW_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue