chore: add ELECTRON_ prefix to C++ include guards (#31925)

This commit is contained in:
Milan Burda 2021-11-22 08:34:31 +01:00 коммит произвёл GitHub
Родитель 0865267387
Коммит c4ea33d1bf
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
358 изменённых файлов: 1080 добавлений и 1079 удалений

Просмотреть файл

@ -50,8 +50,8 @@ In your `api_name.h` file:
```cpp title='api_name.h'
#ifndef SHELL_BROWSER_API_ELECTRON_API_{API_NAME}_H_
#define SHELL_BROWSER_API_ELECTRON_API_{API_NAME}_H_
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_{API_NAME}_H_
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_{API_NAME}_H_
#include "gin/handle.h"
#include "gin/wrappable.h"

Просмотреть файл

@ -9,8 +9,9 @@ const klaw = require('klaw');
const minimist = require('minimist');
const path = require('path');
const SOURCE_ROOT = path.normalize(path.dirname(__dirname));
const DEPOT_TOOLS = path.resolve(SOURCE_ROOT, '..', 'third_party', 'depot_tools');
const ELECTRON_ROOT = path.normalize(path.dirname(__dirname));
const SOURCE_ROOT = path.resolve(ELECTRON_ROOT, '..');
const DEPOT_TOOLS = path.resolve(SOURCE_ROOT, 'third_party', 'depot_tools');
const IGNORELIST = new Set([
['shell', 'browser', 'resources', 'win', 'resource.h'],
@ -19,7 +20,7 @@ const IGNORELIST = new Set([
['spec', 'ts-smoke', 'electron', 'main.ts'],
['spec', 'ts-smoke', 'electron', 'renderer.ts'],
['spec', 'ts-smoke', 'runner.js']
].map(tokens => path.join(SOURCE_ROOT, ...tokens)));
].map(tokens => path.join(ELECTRON_ROOT, ...tokens)));
const IS_WINDOWS = process.platform === 'win32';
@ -101,7 +102,7 @@ const LINTERS = [{
run: (opts, filenames) => {
const rcfile = path.join(DEPOT_TOOLS, 'pylintrc');
const args = ['--rcfile=' + rcfile, ...filenames];
const env = Object.assign({ PYTHONPATH: path.join(SOURCE_ROOT, 'script') }, process.env);
const env = Object.assign({ PYTHONPATH: path.join(ELECTRON_ROOT, 'script') }, process.env);
spawnAndCheckExitCode('pylint', args, { env });
}
}, {
@ -142,7 +143,7 @@ const LINTERS = [{
run: (opts, filenames) => {
const allOk = filenames.map(filename => {
const env = Object.assign({
CHROMIUM_BUILDTOOLS_PATH: path.resolve(SOURCE_ROOT, '..', 'buildtools'),
CHROMIUM_BUILDTOOLS_PATH: path.resolve(ELECTRON_ROOT, '..', 'buildtools'),
DEPOT_TOOLS_WIN_TOOLCHAIN: '0'
}, process.env);
// Users may not have depot_tools in PATH.
@ -277,7 +278,7 @@ async function findFiles (args, linter) {
// build the includelist
if (args.changed) {
includelist = await findChangedFiles(SOURCE_ROOT);
includelist = await findChangedFiles(ELECTRON_ROOT);
if (!includelist.size) {
return [];
}
@ -287,12 +288,12 @@ async function findFiles (args, linter) {
// accumulate the raw list of files
for (const root of linter.roots) {
const files = await findMatchingFiles(path.join(SOURCE_ROOT, root), linter.test);
const files = await findMatchingFiles(path.join(ELECTRON_ROOT, root), linter.test);
filenames.push(...files);
}
for (const ignoreRoot of (linter.ignoreRoots) || []) {
const ignorePath = path.join(SOURCE_ROOT, ignoreRoot);
const ignorePath = path.join(ELECTRON_ROOT, ignoreRoot);
if (!fs.existsSync(ignorePath)) continue;
const ignoreFiles = new Set(await findMatchingFiles(ignorePath, linter.test));
@ -310,7 +311,7 @@ async function findFiles (args, linter) {
// it's important that filenames be relative otherwise clang-format will
// produce patches with absolute paths in them, which `git apply` will refuse
// to apply.
return filenames.map(x => path.relative(SOURCE_ROOT, x));
return filenames.map(x => path.relative(ELECTRON_ROOT, x));
}
async function main () {

Просмотреть файл

@ -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_APP_COMMAND_LINE_ARGS_H_
#define SHELL_APP_COMMAND_LINE_ARGS_H_
#ifndef ELECTRON_SHELL_APP_COMMAND_LINE_ARGS_H_
#define ELECTRON_SHELL_APP_COMMAND_LINE_ARGS_H_
#include "base/command_line.h"
@ -14,4 +14,4 @@ bool IsSandboxEnabled(base::CommandLine* command_line);
} // namespace electron
#endif // SHELL_APP_COMMAND_LINE_ARGS_H_
#endif // ELECTRON_SHELL_APP_COMMAND_LINE_ARGS_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_APP_ELECTRON_CONTENT_CLIENT_H_
#define SHELL_APP_ELECTRON_CONTENT_CLIENT_H_
#ifndef ELECTRON_SHELL_APP_ELECTRON_CONTENT_CLIENT_H_
#define ELECTRON_SHELL_APP_ELECTRON_CONTENT_CLIENT_H_
#include <vector>
@ -38,4 +38,4 @@ class ElectronContentClient : public content::ContentClient {
} // namespace electron
#endif // SHELL_APP_ELECTRON_CONTENT_CLIENT_H_
#endif // ELECTRON_SHELL_APP_ELECTRON_CONTENT_CLIENT_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_APP_ELECTRON_CRASH_REPORTER_CLIENT_H_
#define SHELL_APP_ELECTRON_CRASH_REPORTER_CLIENT_H_
#ifndef ELECTRON_SHELL_APP_ELECTRON_CRASH_REPORTER_CLIENT_H_
#define ELECTRON_SHELL_APP_ELECTRON_CRASH_REPORTER_CLIENT_H_
#include <map>
#include <string>
@ -91,4 +91,4 @@ class ElectronCrashReporterClient : public crash_reporter::CrashReporterClient {
~ElectronCrashReporterClient() override;
};
#endif // SHELL_APP_ELECTRON_CRASH_REPORTER_CLIENT_H_
#endif // ELECTRON_SHELL_APP_ELECTRON_CRASH_REPORTER_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_APP_ELECTRON_LIBRARY_MAIN_H_
#define SHELL_APP_ELECTRON_LIBRARY_MAIN_H_
#ifndef ELECTRON_SHELL_APP_ELECTRON_LIBRARY_MAIN_H_
#define ELECTRON_SHELL_APP_ELECTRON_LIBRARY_MAIN_H_
#include "build/build_config.h"
#include "electron/buildflags/buildflags.h"
@ -20,4 +20,4 @@ __attribute__((visibility("default"))) int ElectronInitializeICUandStartNode(
}
#endif // OS_MAC
#endif // SHELL_APP_ELECTRON_LIBRARY_MAIN_H_
#endif // ELECTRON_SHELL_APP_ELECTRON_LIBRARY_MAIN_H_

Просмотреть файл

@ -2,9 +2,9 @@
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef SHELL_APP_ELECTRON_MAIN_H_
#define SHELL_APP_ELECTRON_MAIN_H_
#ifndef ELECTRON_SHELL_APP_ELECTRON_MAIN_H_
#define ELECTRON_SHELL_APP_ELECTRON_MAIN_H_
#include "content/public/app/content_main.h"
#endif // SHELL_APP_ELECTRON_MAIN_H_
#endif // ELECTRON_SHELL_APP_ELECTRON_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_APP_ELECTRON_MAIN_DELEGATE_H_
#define SHELL_APP_ELECTRON_MAIN_DELEGATE_H_
#ifndef ELECTRON_SHELL_APP_ELECTRON_MAIN_DELEGATE_H_
#define ELECTRON_SHELL_APP_ELECTRON_MAIN_DELEGATE_H_
#include <memory>
#include <string>
@ -66,4 +66,4 @@ class ElectronMainDelegate : public content::ContentMainDelegate {
} // namespace electron
#endif // SHELL_APP_ELECTRON_MAIN_DELEGATE_H_
#endif // ELECTRON_SHELL_APP_ELECTRON_MAIN_DELEGATE_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_APP_ELECTRON_MAIN_DELEGATE_MAC_H_
#define SHELL_APP_ELECTRON_MAIN_DELEGATE_MAC_H_
#ifndef ELECTRON_SHELL_APP_ELECTRON_MAIN_DELEGATE_MAC_H_
#define ELECTRON_SHELL_APP_ELECTRON_MAIN_DELEGATE_MAC_H_
namespace electron {
@ -12,4 +12,4 @@ void RegisterAtomCrApp();
} // namespace electron
#endif // SHELL_APP_ELECTRON_MAIN_DELEGATE_MAC_H_
#endif // ELECTRON_SHELL_APP_ELECTRON_MAIN_DELEGATE_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_APP_NODE_MAIN_H_
#define SHELL_APP_NODE_MAIN_H_
#ifndef ELECTRON_SHELL_APP_NODE_MAIN_H_
#define ELECTRON_SHELL_APP_NODE_MAIN_H_
namespace electron {
@ -11,4 +11,4 @@ int NodeMain(int argc, char* argv[]);
} // namespace electron
#endif // SHELL_APP_NODE_MAIN_H_
#endif // ELECTRON_SHELL_APP_NODE_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_APP_UV_TASK_RUNNER_H_
#define SHELL_APP_UV_TASK_RUNNER_H_
#ifndef ELECTRON_SHELL_APP_UV_TASK_RUNNER_H_
#define ELECTRON_SHELL_APP_UV_TASK_RUNNER_H_
#include <map>
@ -47,4 +47,4 @@ class UvTaskRunner : public base::SingleThreadTaskRunner {
} // namespace electron
#endif // SHELL_APP_UV_TASK_RUNNER_H_
#endif // ELECTRON_SHELL_APP_UV_TASK_RUNNER_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_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_

Просмотреть файл

@ -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_AUTO_UPDATER_H_
#define SHELL_BROWSER_AUTO_UPDATER_H_
#ifndef ELECTRON_SHELL_BROWSER_AUTO_UPDATER_H_
#define ELECTRON_SHELL_BROWSER_AUTO_UPDATER_H_
#include <map>
#include <string>
@ -76,4 +76,4 @@ class AutoUpdater {
} // namespace auto_updater
#endif // SHELL_BROWSER_AUTO_UPDATER_H_
#endif // ELECTRON_SHELL_BROWSER_AUTO_UPDATER_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_BADGING_BADGE_MANAGER_H_
#define SHELL_BROWSER_BADGING_BADGE_MANAGER_H_
#ifndef ELECTRON_SHELL_BROWSER_BADGING_BADGE_MANAGER_H_
#define ELECTRON_SHELL_BROWSER_BADGING_BADGE_MANAGER_H_
#include <memory>
#include <string>
@ -105,4 +105,4 @@ class BadgeManager : public KeyedService, public blink::mojom::BadgeService {
} // namespace badging
#endif // SHELL_BROWSER_BADGING_BADGE_MANAGER_H_
#endif // ELECTRON_SHELL_BROWSER_BADGING_BADGE_MANAGER_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_BADGING_BADGE_MANAGER_FACTORY_H_
#define SHELL_BROWSER_BADGING_BADGE_MANAGER_FACTORY_H_
#ifndef ELECTRON_SHELL_BROWSER_BADGING_BADGE_MANAGER_FACTORY_H_
#define ELECTRON_SHELL_BROWSER_BADGING_BADGE_MANAGER_FACTORY_H_
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
@ -42,4 +42,4 @@ class BadgeManagerFactory : public BrowserContextKeyedServiceFactory {
} // namespace badging
#endif // SHELL_BROWSER_BADGING_BADGE_MANAGER_FACTORY_H_
#endif // ELECTRON_SHELL_BROWSER_BADGING_BADGE_MANAGER_FACTORY_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_BLUETOOTH_ELECTRON_BLUETOOTH_DELEGATE_H_
#define SHELL_BROWSER_BLUETOOTH_ELECTRON_BLUETOOTH_DELEGATE_H_
#ifndef ELECTRON_SHELL_BROWSER_BLUETOOTH_ELECTRON_BLUETOOTH_DELEGATE_H_
#define ELECTRON_SHELL_BROWSER_BLUETOOTH_ELECTRON_BLUETOOTH_DELEGATE_H_
#include <memory>
#include <string>
@ -90,4 +90,4 @@ class ElectronBluetoothDelegate : public content::BluetoothDelegate {
} // namespace electron
#endif // SHELL_BROWSER_BLUETOOTH_ELECTRON_BLUETOOTH_DELEGATE_H_
#endif // ELECTRON_SHELL_BROWSER_BLUETOOTH_ELECTRON_BLUETOOTH_DELEGATE_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_BROWSER_H_
#define SHELL_BROWSER_BROWSER_H_
#ifndef ELECTRON_SHELL_BROWSER_BROWSER_H_
#define ELECTRON_SHELL_BROWSER_BROWSER_H_
#include <memory>
#include <string>
@ -378,4 +378,4 @@ class Browser : public WindowListObserver {
} // namespace electron
#endif // SHELL_BROWSER_BROWSER_H_
#endif // ELECTRON_SHELL_BROWSER_BROWSER_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_BROWSER_OBSERVER_H_
#define SHELL_BROWSER_BROWSER_OBSERVER_H_
#ifndef ELECTRON_SHELL_BROWSER_BROWSER_OBSERVER_H_
#define ELECTRON_SHELL_BROWSER_BROWSER_OBSERVER_H_
#include <string>
@ -94,4 +94,4 @@ class BrowserObserver : public base::CheckedObserver {
} // namespace electron
#endif // SHELL_BROWSER_BROWSER_OBSERVER_H_
#endif // ELECTRON_SHELL_BROWSER_BROWSER_OBSERVER_H_

Просмотреть файл

@ -7,8 +7,8 @@
// will return NULL if the service is not available, so callers must check for
// this condition.
#ifndef SHELL_BROWSER_BROWSER_PROCESS_IMPL_H_
#define SHELL_BROWSER_BROWSER_PROCESS_IMPL_H_
#ifndef ELECTRON_SHELL_BROWSER_BROWSER_PROCESS_IMPL_H_
#define ELECTRON_SHELL_BROWSER_BROWSER_PROCESS_IMPL_H_
#include <memory>
#include <string>
@ -114,4 +114,4 @@ class BrowserProcessImpl : public BrowserProcess {
std::string locale_;
};
#endif // SHELL_BROWSER_BROWSER_PROCESS_IMPL_H_
#endif // ELECTRON_SHELL_BROWSER_BROWSER_PROCESS_IMPL_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_CERTIFICATE_MANAGER_MODEL_H_
#define SHELL_BROWSER_CERTIFICATE_MANAGER_MODEL_H_
#ifndef ELECTRON_SHELL_BROWSER_CERTIFICATE_MANAGER_MODEL_H_
#define ELECTRON_SHELL_BROWSER_CERTIFICATE_MANAGER_MODEL_H_
#include <memory>
#include <string>
@ -113,4 +113,4 @@ class CertificateManagerModel {
bool is_user_db_available_;
};
#endif // SHELL_BROWSER_CERTIFICATE_MANAGER_MODEL_H_
#endif // ELECTRON_SHELL_BROWSER_CERTIFICATE_MANAGER_MODEL_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_CHILD_WEB_CONTENTS_TRACKER_H_
#define SHELL_BROWSER_CHILD_WEB_CONTENTS_TRACKER_H_
#ifndef ELECTRON_SHELL_BROWSER_CHILD_WEB_CONTENTS_TRACKER_H_
#define ELECTRON_SHELL_BROWSER_CHILD_WEB_CONTENTS_TRACKER_H_
#include <string>
@ -36,4 +36,4 @@ struct ChildWebContentsTracker
} // namespace electron
#endif // SHELL_BROWSER_CHILD_WEB_CONTENTS_TRACKER_H_
#endif // ELECTRON_SHELL_BROWSER_CHILD_WEB_CONTENTS_TRACKER_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_COOKIE_CHANGE_NOTIFIER_H_
#define SHELL_BROWSER_COOKIE_CHANGE_NOTIFIER_H_
#ifndef ELECTRON_SHELL_BROWSER_COOKIE_CHANGE_NOTIFIER_H_
#define ELECTRON_SHELL_BROWSER_COOKIE_CHANGE_NOTIFIER_H_
#include "base/callback_list.h"
#include "mojo/public/cpp/bindings/receiver.h"
@ -45,4 +45,4 @@ class CookieChangeNotifier : public network::mojom::CookieChangeListener {
} // namespace electron
#endif // SHELL_BROWSER_COOKIE_CHANGE_NOTIFIER_H_
#endif // ELECTRON_SHELL_BROWSER_COOKIE_CHANGE_NOTIFIER_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_ELECTRON_AUTOFILL_DRIVER_H_
#define SHELL_BROWSER_ELECTRON_AUTOFILL_DRIVER_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_AUTOFILL_DRIVER_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_AUTOFILL_DRIVER_H_
#include <memory>
#include <vector>
@ -46,4 +46,4 @@ class AutofillDriver : public mojom::ElectronAutofillDriver {
} // namespace electron
#endif // SHELL_BROWSER_ELECTRON_AUTOFILL_DRIVER_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_AUTOFILL_DRIVER_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_ELECTRON_AUTOFILL_DRIVER_FACTORY_H_
#define SHELL_BROWSER_ELECTRON_AUTOFILL_DRIVER_FACTORY_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_AUTOFILL_DRIVER_FACTORY_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_AUTOFILL_DRIVER_FACTORY_H_
#include <memory>
#include <unordered_map>
@ -55,4 +55,4 @@ class AutofillDriverFactory
} // namespace electron
#endif // SHELL_BROWSER_ELECTRON_AUTOFILL_DRIVER_FACTORY_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_AUTOFILL_DRIVER_FACTORY_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_ELECTRON_BROWSER_CLIENT_H_
#define SHELL_BROWSER_ELECTRON_BROWSER_CLIENT_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_CLIENT_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_CLIENT_H_
#include <map>
#include <memory>
@ -326,4 +326,4 @@ class ElectronBrowserClient : public content::ContentBrowserClient,
} // namespace electron
#endif // SHELL_BROWSER_ELECTRON_BROWSER_CLIENT_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_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_BROWSER_ELECTRON_BROWSER_CONTEXT_H_
#define SHELL_BROWSER_ELECTRON_BROWSER_CONTEXT_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_CONTEXT_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_CONTEXT_H_
#include <map>
#include <memory>
@ -192,4 +192,4 @@ class ElectronBrowserContext : public content::BrowserContext {
} // namespace electron
#endif // SHELL_BROWSER_ELECTRON_BROWSER_CONTEXT_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_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_ELECTRON_BROWSER_HANDLER_IMPL_H_
#define SHELL_BROWSER_ELECTRON_BROWSER_HANDLER_IMPL_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_HANDLER_IMPL_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_HANDLER_IMPL_H_
#include <string>
#include <vector>
@ -80,4 +80,4 @@ class ElectronBrowserHandlerImpl : public mojom::ElectronBrowser,
base::WeakPtrFactory<ElectronBrowserHandlerImpl> weak_factory_{this};
};
} // namespace electron
#endif // SHELL_BROWSER_ELECTRON_BROWSER_HANDLER_IMPL_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_HANDLER_IMPL_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_ELECTRON_BROWSER_MAIN_PARTS_H_
#define SHELL_BROWSER_ELECTRON_BROWSER_MAIN_PARTS_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_MAIN_PARTS_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_MAIN_PARTS_H_
#include <memory>
#include <string>
@ -183,4 +183,4 @@ class ElectronBrowserMainParts : public content::BrowserMainParts {
} // namespace electron
#endif // SHELL_BROWSER_ELECTRON_BROWSER_MAIN_PARTS_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_MAIN_PARTS_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_ELECTRON_DOWNLOAD_MANAGER_DELEGATE_H_
#define SHELL_BROWSER_ELECTRON_DOWNLOAD_MANAGER_DELEGATE_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_DOWNLOAD_MANAGER_DELEGATE_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_DOWNLOAD_MANAGER_DELEGATE_H_
#include "base/memory/weak_ptr.h"
#include "content/public/browser/download_manager_delegate.h"
@ -64,4 +64,4 @@ class ElectronDownloadManagerDelegate
} // namespace electron
#endif // SHELL_BROWSER_ELECTRON_DOWNLOAD_MANAGER_DELEGATE_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_DOWNLOAD_MANAGER_DELEGATE_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_ELECTRON_GPU_CLIENT_H_
#define SHELL_BROWSER_ELECTRON_GPU_CLIENT_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_GPU_CLIENT_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_GPU_CLIENT_H_
#include "content/public/gpu/content_gpu_client.h"
@ -23,4 +23,4 @@ class ElectronGpuClient : public content::ContentGpuClient {
} // namespace electron
#endif // SHELL_BROWSER_ELECTRON_GPU_CLIENT_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_GPU_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_BROWSER_ELECTRON_JAVASCRIPT_DIALOG_MANAGER_H_
#define SHELL_BROWSER_ELECTRON_JAVASCRIPT_DIALOG_MANAGER_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_JAVASCRIPT_DIALOG_MANAGER_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_JAVASCRIPT_DIALOG_MANAGER_H_
#include <map>
#include <string>
@ -48,4 +48,4 @@ class ElectronJavaScriptDialogManager
} // namespace electron
#endif // SHELL_BROWSER_ELECTRON_JAVASCRIPT_DIALOG_MANAGER_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_JAVASCRIPT_DIALOG_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_ELECTRON_NAVIGATION_THROTTLE_H_
#define SHELL_BROWSER_ELECTRON_NAVIGATION_THROTTLE_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_NAVIGATION_THROTTLE_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_NAVIGATION_THROTTLE_H_
#include "content/public/browser/navigation_throttle.h"
@ -29,4 +29,4 @@ class ElectronNavigationThrottle : public content::NavigationThrottle {
} // namespace electron
#endif // SHELL_BROWSER_ELECTRON_NAVIGATION_THROTTLE_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_NAVIGATION_THROTTLE_H_

Просмотреть файл

@ -1,8 +1,8 @@
// Copyright (c) 2015 Slack Technologies, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef SHELL_BROWSER_ELECTRON_PDF_WEB_CONTENTS_HELPER_CLIENT_H_
#define SHELL_BROWSER_ELECTRON_PDF_WEB_CONTENTS_HELPER_CLIENT_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_PDF_WEB_CONTENTS_HELPER_CLIENT_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_PDF_WEB_CONTENTS_HELPER_CLIENT_H_
#include "components/pdf/browser/pdf_web_contents_helper_client.h"
@ -25,4 +25,4 @@ class ElectronPDFWebContentsHelperClient
void SetPluginCanSave(content::WebContents* contents, bool can_save) override;
};
#endif // SHELL_BROWSER_ELECTRON_PDF_WEB_CONTENTS_HELPER_CLIENT_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_PDF_WEB_CONTENTS_HELPER_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_BROWSER_ELECTRON_PERMISSION_MANAGER_H_
#define SHELL_BROWSER_ELECTRON_PERMISSION_MANAGER_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_PERMISSION_MANAGER_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_PERMISSION_MANAGER_H_
#include <memory>
#include <vector>
@ -135,4 +135,4 @@ class ElectronPermissionManager : public content::PermissionControllerDelegate {
} // namespace electron
#endif // SHELL_BROWSER_ELECTRON_PERMISSION_MANAGER_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_PERMISSION_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_ELECTRON_QUOTA_PERMISSION_CONTEXT_H_
#define SHELL_BROWSER_ELECTRON_QUOTA_PERMISSION_CONTEXT_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_QUOTA_PERMISSION_CONTEXT_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_QUOTA_PERMISSION_CONTEXT_H_
#include "content/public/browser/quota_permission_context.h"
@ -36,4 +36,4 @@ class ElectronQuotaPermissionContext : public content::QuotaPermissionContext {
} // namespace electron
#endif // SHELL_BROWSER_ELECTRON_QUOTA_PERMISSION_CONTEXT_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_QUOTA_PERMISSION_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_ELECTRON_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
#define SHELL_BROWSER_ELECTRON_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
#include <vector>
@ -54,4 +54,4 @@ class ElectronSpeechRecognitionManagerDelegate
} // namespace electron
#endif // SHELL_BROWSER_ELECTRON_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_SPEECH_RECOGNITION_MANAGER_DELEGATE_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_ELECTRON_WEB_UI_CONTROLLER_FACTORY_H_
#define SHELL_BROWSER_ELECTRON_WEB_UI_CONTROLLER_FACTORY_H_
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_WEB_UI_CONTROLLER_FACTORY_H_
#define ELECTRON_SHELL_BROWSER_ELECTRON_WEB_UI_CONTROLLER_FACTORY_H_
#include <memory>
@ -44,4 +44,4 @@ class ElectronWebUIControllerFactory : public content::WebUIControllerFactory {
} // namespace electron
#endif // SHELL_BROWSER_ELECTRON_WEB_UI_CONTROLLER_FACTORY_H_
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_WEB_UI_CONTROLLER_FACTORY_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_EVENT_EMITTER_MIXIN_H_
#define SHELL_BROWSER_EVENT_EMITTER_MIXIN_H_
#ifndef ELECTRON_SHELL_BROWSER_EVENT_EMITTER_MIXIN_H_
#define ELECTRON_SHELL_BROWSER_EVENT_EMITTER_MIXIN_H_
#include <utility>
@ -95,4 +95,4 @@ class EventEmitterMixin {
} // namespace gin_helper
#endif // SHELL_BROWSER_EVENT_EMITTER_MIXIN_H_
#endif // ELECTRON_SHELL_BROWSER_EVENT_EMITTER_MIXIN_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_EXTENDED_WEB_CONTENTS_OBSERVER_H_
#define SHELL_BROWSER_EXTENDED_WEB_CONTENTS_OBSERVER_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENDED_WEB_CONTENTS_OBSERVER_H_
#define ELECTRON_SHELL_BROWSER_EXTENDED_WEB_CONTENTS_OBSERVER_H_
#include <string>
#include <vector>
@ -33,4 +33,4 @@ class ExtendedWebContentsObserver : public base::CheckedObserver {
} // namespace electron
#endif // SHELL_BROWSER_EXTENDED_WEB_CONTENTS_OBSERVER_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENDED_WEB_CONTENTS_OBSERVER_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_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_
#define SHELL_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_
#include "chrome/common/extensions/api/cryptotoken_private.h"
#include "extensions/browser/extension_function.h"
@ -83,4 +83,4 @@ class CryptotokenPrivateRecordSignRequestFunction : public ExtensionFunction {
} // namespace api
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_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_EXTENSIONS_API_I18N_I18N_API_H_
#define SHELL_BROWSER_EXTENSIONS_API_I18N_I18N_API_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_API_I18N_I18N_API_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_API_I18N_I18N_API_H_
#include "extensions/browser/extension_function.h"
@ -17,4 +17,4 @@ class I18nGetAcceptLanguagesFunction : public ExtensionFunction {
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_API_I18N_I18N_API_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_API_I18N_I18N_API_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_EXTENSIONS_API_MANAGEMENT_ELECTRON_MANAGEMENT_API_DELEGATE_H_
#define SHELL_BROWSER_EXTENSIONS_API_MANAGEMENT_ELECTRON_MANAGEMENT_API_DELEGATE_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_API_MANAGEMENT_ELECTRON_MANAGEMENT_API_DELEGATE_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_API_MANAGEMENT_ELECTRON_MANAGEMENT_API_DELEGATE_H_
#include <memory>
#include <string>
@ -85,4 +85,4 @@ class ElectronManagementAPIDelegate : public extensions::ManagementAPIDelegate {
content::BrowserContext* context) const override;
};
#endif // SHELL_BROWSER_EXTENSIONS_API_MANAGEMENT_ELECTRON_MANAGEMENT_API_DELEGATE_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_API_MANAGEMENT_ELECTRON_MANAGEMENT_API_DELEGATE_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_EXTENSIONS_API_RESOURCES_PRIVATE_RESOURCES_PRIVATE_API_H_
#define SHELL_BROWSER_EXTENSIONS_API_RESOURCES_PRIVATE_RESOURCES_PRIVATE_API_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_API_RESOURCES_PRIVATE_RESOURCES_PRIVATE_API_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_API_RESOURCES_PRIVATE_RESOURCES_PRIVATE_API_H_
#include "extensions/browser/extension_function.h"
@ -30,4 +30,4 @@ class ResourcesPrivateGetStringsFunction : public ExtensionFunction {
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_API_RESOURCES_PRIVATE_RESOURCES_PRIVATE_API_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_API_RESOURCES_PRIVATE_RESOURCES_PRIVATE_API_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_EXTENSIONS_API_RUNTIME_ELECTRON_RUNTIME_API_DELEGATE_H_
#define SHELL_BROWSER_EXTENSIONS_API_RUNTIME_ELECTRON_RUNTIME_API_DELEGATE_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_API_RUNTIME_ELECTRON_RUNTIME_API_DELEGATE_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_API_RUNTIME_ELECTRON_RUNTIME_API_DELEGATE_H_
#include <string>
@ -41,4 +41,4 @@ class ElectronRuntimeAPIDelegate : public RuntimeAPIDelegate {
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_API_RUNTIME_ELECTRON_RUNTIME_API_DELEGATE_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_API_RUNTIME_ELECTRON_RUNTIME_API_DELEGATE_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_EXTENSIONS_API_STREAMS_PRIVATE_STREAMS_PRIVATE_API_H_
#define SHELL_BROWSER_EXTENSIONS_API_STREAMS_PRIVATE_STREAMS_PRIVATE_API_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_API_STREAMS_PRIVATE_STREAMS_PRIVATE_API_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_API_STREAMS_PRIVATE_STREAMS_PRIVATE_API_H_
#include <string>
@ -39,4 +39,4 @@ class StreamsPrivateAPI {
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_API_STREAMS_PRIVATE_STREAMS_PRIVATE_API_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_API_STREAMS_PRIVATE_STREAMS_PRIVATE_API_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_EXTENSIONS_API_TABS_TABS_API_H_
#define SHELL_BROWSER_EXTENSIONS_API_TABS_TABS_API_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_API_TABS_TABS_API_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_API_TABS_TABS_API_H_
#include <string>
@ -109,4 +109,4 @@ class TabsUpdateFunction : public ExtensionFunction {
};
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_API_TABS_TABS_API_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_API_TABS_TABS_API_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_EXTENSIONS_ELECTRON_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_
#define SHELL_BROWSER_EXTENSIONS_ELECTRON_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_
namespace extensions {
namespace electron {
@ -15,4 +15,4 @@ void EnsureBrowserContextKeyedServiceFactoriesBuilt();
} // namespace electron
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_BROWSER_CONTEXT_KEYED_SERVICE_FACTORIES_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_EXTENSIONS_ELECTRON_COMPONENT_EXTENSION_RESOURCE_MANAGER_H_
#define SHELL_BROWSER_EXTENSIONS_ELECTRON_COMPONENT_EXTENSION_RESOURCE_MANAGER_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_COMPONENT_EXTENSION_RESOURCE_MANAGER_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_COMPONENT_EXTENSION_RESOURCE_MANAGER_H_
#include <stddef.h>
@ -52,4 +52,4 @@ class ElectronComponentExtensionResourceManager
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_COMPONENT_EXTENSION_RESOURCE_MANAGER_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_COMPONENT_EXTENSION_RESOURCE_MANAGER_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_EXTENSIONS_ELECTRON_DISPLAY_INFO_PROVIDER_H_
#define SHELL_BROWSER_EXTENSIONS_ELECTRON_DISPLAY_INFO_PROVIDER_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_DISPLAY_INFO_PROVIDER_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_DISPLAY_INFO_PROVIDER_H_
#include "extensions/browser/api/system_display/display_info_provider.h"
@ -21,4 +21,4 @@ class ElectronDisplayInfoProvider : public DisplayInfoProvider {
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_DISPLAY_INFO_PROVIDER_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_DISPLAY_INFO_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_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_HOST_DELEGATE_H_
#define SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_HOST_DELEGATE_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_HOST_DELEGATE_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_HOST_DELEGATE_H_
#include <memory>
#include <string>
@ -49,4 +49,4 @@ class ElectronExtensionHostDelegate : public ExtensionHostDelegate {
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_HOST_DELEGATE_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_HOST_DELEGATE_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_EXTENSIONS_ELECTRON_EXTENSION_LOADER_H_
#define SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_LOADER_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_LOADER_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_LOADER_H_
#include <string>
#include <utility>
@ -98,4 +98,4 @@ class ElectronExtensionLoader : public ExtensionRegistrar::Delegate {
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_LOADER_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_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_EXTENSIONS_ELECTRON_EXTENSION_MESSAGE_FILTER_H_
#define SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_MESSAGE_FILTER_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_MESSAGE_FILTER_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_MESSAGE_FILTER_H_
#include <string>
#include <vector>
@ -68,4 +68,4 @@ class ElectronExtensionMessageFilter : public content::BrowserMessageFilter {
} // namespace electron
#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_MESSAGE_FILTER_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_MESSAGE_FILTER_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_EXTENSIONS_ELECTRON_EXTENSION_SYSTEM_H_
#define SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_SYSTEM_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_SYSTEM_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_SYSTEM_H_
#include <memory>
#include <string>
@ -122,4 +122,4 @@ class ElectronExtensionSystem : public ExtensionSystem {
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_SYSTEM_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_SYSTEM_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_EXTENSIONS_ELECTRON_EXTENSION_SYSTEM_FACTORY_H_
#define SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_SYSTEM_FACTORY_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_SYSTEM_FACTORY_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_SYSTEM_FACTORY_H_
#include "base/memory/singleton.h"
#include "extensions/browser/extension_system_provider.h"
@ -41,4 +41,4 @@ class ElectronExtensionSystemFactory : public ExtensionSystemProvider {
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_SYSTEM_FACTORY_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_SYSTEM_FACTORY_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_EXTENSIONS_ELECTRON_EXTENSION_WEB_CONTENTS_OBSERVER_H_
#define SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_WEB_CONTENTS_OBSERVER_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_WEB_CONTENTS_OBSERVER_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_WEB_CONTENTS_OBSERVER_H_
#include "content/public/browser/web_contents_user_data.h"
#include "extensions/browser/extension_web_contents_observer.h"
@ -40,4 +40,4 @@ class ElectronExtensionWebContentsObserver
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_WEB_CONTENTS_OBSERVER_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_WEB_CONTENTS_OBSERVER_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_EXTENSIONS_ELECTRON_EXTENSIONS_API_CLIENT_H_
#define SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_API_CLIENT_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_API_CLIENT_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_API_CLIENT_H_
#include <memory>
@ -36,4 +36,4 @@ class ElectronExtensionsAPIClient : public ExtensionsAPIClient {
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_API_CLIENT_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_API_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_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_API_PROVIDER_H_
#define SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_API_PROVIDER_H_
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_API_PROVIDER_H_
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_API_PROVIDER_H_
#include "extensions/browser/extensions_browser_api_provider.h"
@ -26,4 +26,4 @@ class ElectronExtensionsBrowserAPIProvider
} // namespace extensions
#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_API_PROVIDER_H_
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_API_PROVIDER_H_

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше