diff --git a/docs/development/creating-api.md b/docs/development/creating-api.md index 836a2f9601ee..6b6527c66c42 100644 --- a/docs/development/creating-api.md +++ b/docs/development/creating-api.md @@ -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" diff --git a/script/lint.js b/script/lint.js index b6bb2bd15722..a66423bb0f30 100755 --- a/script/lint.js +++ b/script/lint.js @@ -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 () { diff --git a/shell/app/command_line_args.h b/shell/app/command_line_args.h index 913176c6d317..70e1e6b0579b 100644 --- a/shell/app/command_line_args.h +++ b/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_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_ diff --git a/shell/app/electron_content_client.h b/shell/app/electron_content_client.h index 0a4df8c439ad..3caefdbafec9 100644 --- a/shell/app/electron_content_client.h +++ b/shell/app/electron_content_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_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 @@ -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_ diff --git a/shell/app/electron_crash_reporter_client.h b/shell/app/electron_crash_reporter_client.h index 3b074f139dc7..bfe039e6a194 100644 --- a/shell/app/electron_crash_reporter_client.h +++ b/shell/app/electron_crash_reporter_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 #include @@ -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_ diff --git a/shell/app/electron_library_main.h b/shell/app/electron_library_main.h index 947342867937..d847ee074eb4 100644 --- a/shell/app/electron_library_main.h +++ b/shell/app/electron_library_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_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_ diff --git a/shell/app/electron_main.h b/shell/app/electron_main.h index b49e5576e95f..aa75d6faadf5 100644 --- a/shell/app/electron_main.h +++ b/shell/app/electron_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_ diff --git a/shell/app/electron_main_delegate.h b/shell/app/electron_main_delegate.h index 7818acf5e0c4..ff7f5e923b78 100644 --- a/shell/app/electron_main_delegate.h +++ b/shell/app/electron_main_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_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 #include @@ -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_ diff --git a/shell/app/electron_main_delegate_mac.h b/shell/app/electron_main_delegate_mac.h index dc4004608cf2..0550bd3a04c8 100644 --- a/shell/app/electron_main_delegate_mac.h +++ b/shell/app/electron_main_delegate_mac.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_ diff --git a/shell/app/node_main.h b/shell/app/node_main.h index e5168f51a3af..9aaa91b8dc55 100644 --- a/shell/app/node_main.h +++ b/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_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_ diff --git a/shell/app/uv_task_runner.h b/shell/app/uv_task_runner.h index e6c1477182c0..1d74b28d7c7d 100644 --- a/shell/app/uv_task_runner.h +++ b/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_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 @@ -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_ diff --git a/shell/browser/api/electron_api_app.h b/shell/browser/api/electron_api_app.h index 229e54b35e1e..4f48584e996d 100644 --- a/shell/browser/api/electron_api_app.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/api/electron_api_auto_updater.h b/shell/browser/api/electron_api_auto_updater.h index 54202e5bdf87..6cbb7440cff5 100644 --- a/shell/browser/api/electron_api_auto_updater.h +++ b/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_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 @@ -64,4 +64,4 @@ class AutoUpdater : public gin::Wrappable, } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_AUTO_UPDATER_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_AUTO_UPDATER_H_ diff --git a/shell/browser/api/electron_api_base_window.h b/shell/browser/api/electron_api_base_window.h index 2adb90b1c694..04ae990ab153 100644 --- a/shell/browser/api/electron_api_base_window.h +++ b/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_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 #include @@ -287,4 +287,4 @@ class BaseWindow : public gin_helper::TrackableObject, } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_BASE_WINDOW_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BASE_WINDOW_H_ diff --git a/shell/browser/api/electron_api_browser_view.h b/shell/browser/api/electron_api_browser_view.h index 4ab4b04f5ebb..f635b0d8de81 100644 --- a/shell/browser/api/electron_api_browser_view.h +++ b/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_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 #include @@ -94,4 +94,4 @@ class BrowserView : public gin::Wrappable, } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_BROWSER_VIEW_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BROWSER_VIEW_H_ diff --git a/shell/browser/api/electron_api_browser_window.h b/shell/browser/api/electron_api_browser_window.h index 198a7bc825a1..296ed2b3f8c2 100644 --- a/shell/browser/api/electron_api_browser_window.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/api/electron_api_cookies.h b/shell/browser/api/electron_api_cookies.h index 2d949e71fd35..fbfa335ce9f8 100644 --- a/shell/browser/api/electron_api_cookies.h +++ b/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_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 @@ -72,4 +72,4 @@ class Cookies : public gin::Wrappable, } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_COOKIES_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_COOKIES_H_ diff --git a/shell/browser/api/electron_api_crash_reporter.h b/shell/browser/api/electron_api_crash_reporter.h index 8780a8e81b80..48f540287f9e 100644 --- a/shell/browser/api/electron_api_crash_reporter.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/api/electron_api_data_pipe_holder.h b/shell/browser/api/electron_api_data_pipe_holder.h index a8ea87ef4157..535440d26838 100644 --- a/shell/browser/api/electron_api_data_pipe_holder.h +++ b/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_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 @@ -53,4 +53,4 @@ class DataPipeHolder : public gin::Wrappable { } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_DATA_PIPE_HOLDER_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DATA_PIPE_HOLDER_H_ diff --git a/shell/browser/api/electron_api_debugger.h b/shell/browser/api/electron_api_debugger.h index 37892e43b916..204cd42365eb 100644 --- a/shell/browser/api/electron_api_debugger.h +++ b/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_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 @@ -78,4 +78,4 @@ class Debugger : public gin::Wrappable, } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_DEBUGGER_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DEBUGGER_H_ diff --git a/shell/browser/api/electron_api_desktop_capturer.h b/shell/browser/api/electron_api_desktop_capturer.h index e3b2fa3e1874..b31686e853ff 100644 --- a/shell/browser/api/electron_api_desktop_capturer.h +++ b/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_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 #include @@ -81,4 +81,4 @@ class DesktopCapturer : public gin::Wrappable, } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_DESKTOP_CAPTURER_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DESKTOP_CAPTURER_H_ diff --git a/shell/browser/api/electron_api_download_item.h b/shell/browser/api/electron_api_download_item.h index c080202be4e2..4ca867baf52f 100644 --- a/shell/browser/api/electron_api_download_item.h +++ b/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_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 @@ -91,4 +91,4 @@ class DownloadItem : public gin::Wrappable, } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_DOWNLOAD_ITEM_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DOWNLOAD_ITEM_H_ diff --git a/shell/browser/api/electron_api_event_emitter.h b/shell/browser/api/electron_api_event_emitter.h index ab20c7c5fb8f..35baadcc38af 100644 --- a/shell/browser/api/electron_api_event_emitter.h +++ b/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_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 @@ -18,4 +18,4 @@ v8::Local 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_ diff --git a/shell/browser/api/electron_api_global_shortcut.h b/shell/browser/api/electron_api_global_shortcut.h index 9c1d82ee9d9e..19a86fe2963d 100644 --- a/shell/browser/api/electron_api_global_shortcut.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/api/electron_api_in_app_purchase.h b/shell/browser/api/electron_api_in_app_purchase.h index b2bc81fe571e..bd765bb17878 100644 --- a/shell/browser/api/electron_api_in_app_purchase.h +++ b/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_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 #include @@ -55,4 +55,4 @@ class InAppPurchase : public gin::Wrappable, } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_IN_APP_PURCHASE_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_IN_APP_PURCHASE_H_ diff --git a/shell/browser/api/electron_api_menu.h b/shell/browser/api/electron_api_menu.h index d6ebcc344252..5841862bda78 100644 --- a/shell/browser/api/electron_api_menu.h +++ b/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_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 #include @@ -150,4 +150,4 @@ struct Converter { } // namespace gin -#endif // SHELL_BROWSER_API_ELECTRON_API_MENU_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_MENU_H_ diff --git a/shell/browser/api/electron_api_menu_mac.h b/shell/browser/api/electron_api_menu_mac.h index c16957fcd23b..f47276ea8d84 100644 --- a/shell/browser/api/electron_api_menu_mac.h +++ b/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_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_ diff --git a/shell/browser/api/electron_api_menu_views.h b/shell/browser/api/electron_api_menu_views.h index cd288625c43c..a0d40f9354a0 100644 --- a/shell/browser/api/electron_api_menu_views.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/api/electron_api_native_theme.h b/shell/browser/api/electron_api_native_theme.h index b717ca7a10ae..d66e7713ded0 100644 --- a/shell/browser/api/electron_api_native_theme.h +++ b/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_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 { } // namespace gin -#endif // SHELL_BROWSER_API_ELECTRON_API_NATIVE_THEME_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NATIVE_THEME_H_ diff --git a/shell/browser/api/electron_api_net_log.h b/shell/browser/api/electron_api_net_log.h index a1934f963056..30a6ad6981a1 100644 --- a/shell/browser/api/electron_api_net_log.h +++ b/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_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 { } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_NET_LOG_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NET_LOG_H_ diff --git a/shell/browser/api/electron_api_notification.h b/shell/browser/api/electron_api_notification.h index bd03a295823d..8213c424ee64 100644 --- a/shell/browser/api/electron_api_notification.h +++ b/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_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 #include @@ -121,4 +121,4 @@ class Notification : public gin::Wrappable, } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_NOTIFICATION_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NOTIFICATION_H_ diff --git a/shell/browser/api/electron_api_power_monitor.h b/shell/browser/api/electron_api_power_monitor.h index 6a84b32a3551..c277d3e2b296 100644 --- a/shell/browser/api/electron_api_power_monitor.h +++ b/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_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, } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_POWER_MONITOR_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_POWER_MONITOR_H_ diff --git a/shell/browser/api/electron_api_power_save_blocker.h b/shell/browser/api/electron_api_power_save_blocker.h index 6216fa0dce09..74a08f55e441 100644 --- a/shell/browser/api/electron_api_power_save_blocker.h +++ b/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_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 @@ -60,4 +60,4 @@ class PowerSaveBlocker : public gin::Wrappable { } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_POWER_SAVE_BLOCKER_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_POWER_SAVE_BLOCKER_H_ diff --git a/shell/browser/api/electron_api_protocol.h b/shell/browser/api/electron_api_protocol.h index d0420ff14ad9..46fe33667e55 100644 --- a/shell/browser/api/electron_api_protocol.h +++ b/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_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 #include @@ -103,4 +103,4 @@ class Protocol : public gin::Wrappable { } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_PROTOCOL_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_PROTOCOL_H_ diff --git a/shell/browser/api/electron_api_safe_storage.h b/shell/browser/api/electron_api_safe_storage.h index bcaf6d1e9b3c..d312769a3f53 100644 --- a/shell/browser/api/electron_api_safe_storage.h +++ b/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_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_ diff --git a/shell/browser/api/electron_api_screen.h b/shell/browser/api/electron_api_screen.h index 1283544f3338..a8121b9ce54c 100644 --- a/shell/browser/api/electron_api_screen.h +++ b/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_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 @@ -62,4 +62,4 @@ class Screen : public gin::Wrappable, } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_SCREEN_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SCREEN_H_ diff --git a/shell/browser/api/electron_api_service_worker_context.h b/shell/browser/api/electron_api_service_worker_context.h index 4d2a84d05528..048bcda7162b 100644 --- a/shell/browser/api/electron_api_service_worker_context.h +++ b/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_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_ diff --git a/shell/browser/api/electron_api_session.h b/shell/browser/api/electron_api_session.h index 79eedd91c471..aedf234d38a5 100644 --- a/shell/browser/api/electron_api_session.h +++ b/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_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 #include @@ -197,4 +197,4 @@ class Session : public gin::Wrappable, } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_SESSION_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SESSION_H_ diff --git a/shell/browser/api/electron_api_system_preferences.h b/shell/browser/api/electron_api_system_preferences.h index 8c8ee40dadb2..8dbf35d59195 100644 --- a/shell/browser/api/electron_api_system_preferences.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/api/electron_api_tray.h b/shell/browser/api/electron_api_tray.h index 659ed2f41d8b..19a28eef2371 100644 --- a/shell/browser/api/electron_api_tray.h +++ b/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_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 #include @@ -115,4 +115,4 @@ class Tray : public gin::Wrappable, } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_TRAY_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_TRAY_H_ diff --git a/shell/browser/api/electron_api_url_loader.h b/shell/browser/api/electron_api_url_loader.h index dac2c494845e..6726f2c4b41a 100644 --- a/shell/browser/api/electron_api_url_loader.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/api/electron_api_view.h b/shell/browser/api/electron_api_view.h index 0672499a06dc..ed2e483de0e2 100644 --- a/shell/browser/api/electron_api_view.h +++ b/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_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 @@ -53,4 +53,4 @@ class View : public gin_helper::Wrappable { } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_VIEW_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_VIEW_H_ diff --git a/shell/browser/api/electron_api_web_contents.h b/shell/browser/api/electron_api_web_contents.h index e1287b303fd5..c164d4bee711 100644 --- a/shell/browser/api/electron_api_web_contents.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/api/electron_api_web_contents_view.h b/shell/browser/api/electron_api_web_contents_view.h index c184533d0e92..d1f39ff26ef5 100644 --- a/shell/browser/api/electron_api_web_contents_view.h +++ b/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_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_ diff --git a/shell/browser/api/electron_api_web_frame_main.h b/shell/browser/api/electron_api_web_frame_main.h index 61cabf0825d1..23a3b657fd45 100644 --- a/shell/browser/api/electron_api_web_frame_main.h +++ b/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_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 #include @@ -134,4 +134,4 @@ class WebFrameMain : public gin::Wrappable, } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_WEB_FRAME_MAIN_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_FRAME_MAIN_H_ diff --git a/shell/browser/api/electron_api_web_request.h b/shell/browser/api/electron_api_web_request.h index 8b7b25bd1d7c..fb8bee6a3c6e 100644 --- a/shell/browser/api/electron_api_web_request.h +++ b/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_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 #include @@ -155,4 +155,4 @@ class WebRequest : public gin::Wrappable, public WebRequestAPI { } // namespace electron -#endif // SHELL_BROWSER_API_ELECTRON_API_WEB_REQUEST_H_ +#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_REQUEST_H_ diff --git a/shell/browser/api/event.h b/shell/browser/api/event.h index af20cfb8d311..4a09575896e1 100644 --- a/shell/browser/api/event.h +++ b/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_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 { } // namespace gin_helper -#endif // SHELL_BROWSER_API_EVENT_H_ +#endif // ELECTRON_SHELL_BROWSER_API_EVENT_H_ diff --git a/shell/browser/api/frame_subscriber.h b/shell/browser/api/frame_subscriber.h index 782d8997fd43..1197a83a80e1 100644 --- a/shell/browser/api/frame_subscriber.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/api/gpu_info_enumerator.h b/shell/browser/api/gpu_info_enumerator.h index aa4db848671d..389aa9d604d4 100644 --- a/shell/browser/api/gpu_info_enumerator.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/api/gpuinfo_manager.h b/shell/browser/api/gpuinfo_manager.h index ae59f7f4dc9f..43357ececc22 100644 --- a/shell/browser/api/gpuinfo_manager.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/api/message_port.h b/shell/browser/api/message_port.h index d46f077afe44..6562018de89c 100644 --- a/shell/browser/api/message_port.h +++ b/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_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 #include @@ -88,4 +88,4 @@ class MessagePort : public gin::Wrappable, mojo::MessageReceiver { } // namespace electron -#endif // SHELL_BROWSER_API_MESSAGE_PORT_H_ +#endif // ELECTRON_SHELL_BROWSER_API_MESSAGE_PORT_H_ diff --git a/shell/browser/api/process_metric.h b/shell/browser/api/process_metric.h index 6c83e8403227..a6b91fff70cf 100644 --- a/shell/browser/api/process_metric.h +++ b/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_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 #include @@ -62,4 +62,4 @@ struct ProcessMetric { } // namespace electron -#endif // SHELL_BROWSER_API_PROCESS_METRIC_H_ +#endif // ELECTRON_SHELL_BROWSER_API_PROCESS_METRIC_H_ diff --git a/shell/browser/api/save_page_handler.h b/shell/browser/api/save_page_handler.h index 19ec75179ae2..00202a0d5a3f 100644 --- a/shell/browser/api/save_page_handler.h +++ b/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_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_ diff --git a/shell/browser/api/ui_event.h b/shell/browser/api/ui_event.h index 700864fa86b0..0f0ca1eb8397 100644 --- a/shell/browser/api/ui_event.h +++ b/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_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 CreateEventFromFlags(int flags); } // namespace api } // namespace electron -#endif // SHELL_BROWSER_API_UI_EVENT_H_ +#endif // ELECTRON_SHELL_BROWSER_API_UI_EVENT_H_ diff --git a/shell/browser/api/views/electron_api_image_view.h b/shell/browser/api/views/electron_api_image_view.h index 504c2bbb2593..332caa21b23b 100644 --- a/shell/browser/api/views/electron_api_image_view.h +++ b/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_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_ diff --git a/shell/browser/auto_updater.h b/shell/browser/auto_updater.h index 628ac206476c..d9c326d6d5ac 100644 --- a/shell/browser/auto_updater.h +++ b/shell/browser/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_AUTO_UPDATER_H_ -#define SHELL_BROWSER_AUTO_UPDATER_H_ +#ifndef ELECTRON_SHELL_BROWSER_AUTO_UPDATER_H_ +#define ELECTRON_SHELL_BROWSER_AUTO_UPDATER_H_ #include #include @@ -76,4 +76,4 @@ class AutoUpdater { } // namespace auto_updater -#endif // SHELL_BROWSER_AUTO_UPDATER_H_ +#endif // ELECTRON_SHELL_BROWSER_AUTO_UPDATER_H_ diff --git a/shell/browser/badging/badge_manager.h b/shell/browser/badging/badge_manager.h index de5db2778331..0db3e53fb2dd 100644 --- a/shell/browser/badging/badge_manager.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/badging/badge_manager_factory.h b/shell/browser/badging/badge_manager_factory.h index ce5e563b98f4..dac4161cb7eb 100644 --- a/shell/browser/badging/badge_manager_factory.h +++ b/shell/browser/badging/badge_manager_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_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_ diff --git a/shell/browser/bluetooth/electron_bluetooth_delegate.h b/shell/browser/bluetooth/electron_bluetooth_delegate.h index e4e7619112ff..897ce2f2d31f 100644 --- a/shell/browser/bluetooth/electron_bluetooth_delegate.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/browser.h b/shell/browser/browser.h index 4c5acec2f971..a9bc9f777e74 100755 --- a/shell/browser/browser.h +++ b/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_H_ -#define SHELL_BROWSER_BROWSER_H_ +#ifndef ELECTRON_SHELL_BROWSER_BROWSER_H_ +#define ELECTRON_SHELL_BROWSER_BROWSER_H_ #include #include @@ -378,4 +378,4 @@ class Browser : public WindowListObserver { } // namespace electron -#endif // SHELL_BROWSER_BROWSER_H_ +#endif // ELECTRON_SHELL_BROWSER_BROWSER_H_ diff --git a/shell/browser/browser_observer.h b/shell/browser/browser_observer.h index 5b33821c2e15..be9244f2f5e9 100644 --- a/shell/browser/browser_observer.h +++ b/shell/browser/browser_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_BROWSER_OBSERVER_H_ -#define SHELL_BROWSER_BROWSER_OBSERVER_H_ +#ifndef ELECTRON_SHELL_BROWSER_BROWSER_OBSERVER_H_ +#define ELECTRON_SHELL_BROWSER_BROWSER_OBSERVER_H_ #include @@ -94,4 +94,4 @@ class BrowserObserver : public base::CheckedObserver { } // namespace electron -#endif // SHELL_BROWSER_BROWSER_OBSERVER_H_ +#endif // ELECTRON_SHELL_BROWSER_BROWSER_OBSERVER_H_ diff --git a/shell/browser/browser_process_impl.h b/shell/browser/browser_process_impl.h index 1d05cf22edb6..1d42417940ab 100644 --- a/shell/browser/browser_process_impl.h +++ b/shell/browser/browser_process_impl.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 #include @@ -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_ diff --git a/shell/browser/certificate_manager_model.h b/shell/browser/certificate_manager_model.h index e04670737e1a..8f959dc212dd 100644 --- a/shell/browser/certificate_manager_model.h +++ b/shell/browser/certificate_manager_model.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 #include @@ -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_ diff --git a/shell/browser/child_web_contents_tracker.h b/shell/browser/child_web_contents_tracker.h index fea53db5d83f..c16113af7274 100644 --- a/shell/browser/child_web_contents_tracker.h +++ b/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_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 @@ -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_ diff --git a/shell/browser/cookie_change_notifier.h b/shell/browser/cookie_change_notifier.h index 161b40167f7c..be33c2b29467 100644 --- a/shell/browser/cookie_change_notifier.h +++ b/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_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_ diff --git a/shell/browser/electron_autofill_driver.h b/shell/browser/electron_autofill_driver.h index 1a2fe4044050..53219ce72f14 100644 --- a/shell/browser/electron_autofill_driver.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/electron_autofill_driver_factory.h b/shell/browser/electron_autofill_driver_factory.h index 2c0a53afa52f..6de143613a9b 100644 --- a/shell/browser/electron_autofill_driver_factory.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/electron_browser_client.h b/shell/browser/electron_browser_client.h index 9a0db8b6fc67..f8b20c051de1 100644 --- a/shell/browser/electron_browser_client.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/electron_browser_context.h b/shell/browser/electron_browser_context.h index 6ad18c82ee86..3a646aad02ce 100644 --- a/shell/browser/electron_browser_context.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/electron_browser_handler_impl.h b/shell/browser/electron_browser_handler_impl.h index 7bf62a4c5f96..f37cd56b7cd8 100644 --- a/shell/browser/electron_browser_handler_impl.h +++ b/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_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 #include @@ -80,4 +80,4 @@ class ElectronBrowserHandlerImpl : public mojom::ElectronBrowser, base::WeakPtrFactory weak_factory_{this}; }; } // namespace electron -#endif // SHELL_BROWSER_ELECTRON_BROWSER_HANDLER_IMPL_H_ +#endif // ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_HANDLER_IMPL_H_ diff --git a/shell/browser/electron_browser_main_parts.h b/shell/browser/electron_browser_main_parts.h index 43bcb75c5a86..321949ee7e89 100644 --- a/shell/browser/electron_browser_main_parts.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/electron_download_manager_delegate.h b/shell/browser/electron_download_manager_delegate.h index 27539882052d..e3100e54e5f4 100644 --- a/shell/browser/electron_download_manager_delegate.h +++ b/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_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_ diff --git a/shell/browser/electron_gpu_client.h b/shell/browser/electron_gpu_client.h index 18799c6f7723..e87accfa7263 100644 --- a/shell/browser/electron_gpu_client.h +++ b/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_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_ diff --git a/shell/browser/electron_javascript_dialog_manager.h b/shell/browser/electron_javascript_dialog_manager.h index e36778696bad..42e29d9e40e1 100644 --- a/shell/browser/electron_javascript_dialog_manager.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/electron_navigation_throttle.h b/shell/browser/electron_navigation_throttle.h index 09d41619bdae..5d1f5b9fea48 100644 --- a/shell/browser/electron_navigation_throttle.h +++ b/shell/browser/electron_navigation_throttle.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_ diff --git a/shell/browser/electron_pdf_web_contents_helper_client.h b/shell/browser/electron_pdf_web_contents_helper_client.h index 258e006fd1b6..22a5a203cbf4 100644 --- a/shell/browser/electron_pdf_web_contents_helper_client.h +++ b/shell/browser/electron_pdf_web_contents_helper_client.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_ diff --git a/shell/browser/electron_permission_manager.h b/shell/browser/electron_permission_manager.h index 7db062182e53..38cedf2ebfda 100644 --- a/shell/browser/electron_permission_manager.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/electron_quota_permission_context.h b/shell/browser/electron_quota_permission_context.h index 5c9b5e616ba6..219a8e57ffdf 100644 --- a/shell/browser/electron_quota_permission_context.h +++ b/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_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_ diff --git a/shell/browser/electron_speech_recognition_manager_delegate.h b/shell/browser/electron_speech_recognition_manager_delegate.h index 923a0d2c5c93..a65524191a90 100644 --- a/shell/browser/electron_speech_recognition_manager_delegate.h +++ b/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_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 @@ -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_ diff --git a/shell/browser/electron_web_ui_controller_factory.h b/shell/browser/electron_web_ui_controller_factory.h index 95fa58034b23..cbf2232e62e6 100644 --- a/shell/browser/electron_web_ui_controller_factory.h +++ b/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_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 @@ -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_ diff --git a/shell/browser/event_emitter_mixin.h b/shell/browser/event_emitter_mixin.h index 3ed4a5be6a04..101e4d5e4591 100644 --- a/shell/browser/event_emitter_mixin.h +++ b/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_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 @@ -95,4 +95,4 @@ class EventEmitterMixin { } // namespace gin_helper -#endif // SHELL_BROWSER_EVENT_EMITTER_MIXIN_H_ +#endif // ELECTRON_SHELL_BROWSER_EVENT_EMITTER_MIXIN_H_ diff --git a/shell/browser/extended_web_contents_observer.h b/shell/browser/extended_web_contents_observer.h index f0a91a8b2aba..2d72a12c49ca 100644 --- a/shell/browser/extended_web_contents_observer.h +++ b/shell/browser/extended_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_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 #include @@ -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_ diff --git a/shell/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.h b/shell/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.h index c57b4779fa11..4b4dd509e137 100644 --- a/shell/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.h +++ b/shell/browser/extensions/api/cryptotoken_private/cryptotoken_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_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_ diff --git a/shell/browser/extensions/api/i18n/i18n_api.h b/shell/browser/extensions/api/i18n/i18n_api.h index 20374516ea43..7744b7edd707 100644 --- a/shell/browser/extensions/api/i18n/i18n_api.h +++ b/shell/browser/extensions/api/i18n/i18n_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_ diff --git a/shell/browser/extensions/api/management/electron_management_api_delegate.h b/shell/browser/extensions/api/management/electron_management_api_delegate.h index 2a066b0cfc43..9425d4eaed75 100644 --- a/shell/browser/extensions/api/management/electron_management_api_delegate.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/extensions/api/resources_private/resources_private_api.h b/shell/browser/extensions/api/resources_private/resources_private_api.h index 75e5ec27a48a..99a167c89567 100644 --- a/shell/browser/extensions/api/resources_private/resources_private_api.h +++ b/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_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_ diff --git a/shell/browser/extensions/api/runtime/electron_runtime_api_delegate.h b/shell/browser/extensions/api/runtime/electron_runtime_api_delegate.h index 834a90ca3f7b..8d167c60f137 100644 --- a/shell/browser/extensions/api/runtime/electron_runtime_api_delegate.h +++ b/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_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 @@ -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_ diff --git a/shell/browser/extensions/api/streams_private/streams_private_api.h b/shell/browser/extensions/api/streams_private/streams_private_api.h index 893fc9daf07d..b5c6e573c4d8 100644 --- a/shell/browser/extensions/api/streams_private/streams_private_api.h +++ b/shell/browser/extensions/api/streams_private/streams_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_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 @@ -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_ diff --git a/shell/browser/extensions/api/tabs/tabs_api.h b/shell/browser/extensions/api/tabs/tabs_api.h index 6a41748db1e4..f6078610d130 100644 --- a/shell/browser/extensions/api/tabs/tabs_api.h +++ b/shell/browser/extensions/api/tabs/tabs_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 @@ -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_ diff --git a/shell/browser/extensions/electron_browser_context_keyed_service_factories.h b/shell/browser/extensions/electron_browser_context_keyed_service_factories.h index 3ac39a587aa2..7e9707d9cac3 100644 --- a/shell/browser/extensions/electron_browser_context_keyed_service_factories.h +++ b/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_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_ diff --git a/shell/browser/extensions/electron_component_extension_resource_manager.h b/shell/browser/extensions/electron_component_extension_resource_manager.h index f6b8f4db4b32..2dd4de3a58b0 100644 --- a/shell/browser/extensions/electron_component_extension_resource_manager.h +++ b/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_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 @@ -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_ diff --git a/shell/browser/extensions/electron_display_info_provider.h b/shell/browser/extensions/electron_display_info_provider.h index c0b05e7ae0d6..ebdca9534c75 100644 --- a/shell/browser/extensions/electron_display_info_provider.h +++ b/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_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_ diff --git a/shell/browser/extensions/electron_extension_host_delegate.h b/shell/browser/extensions/electron_extension_host_delegate.h index 5b500fd9b6ec..5c1f8761b6d9 100644 --- a/shell/browser/extensions/electron_extension_host_delegate.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/extensions/electron_extension_loader.h b/shell/browser/extensions/electron_extension_loader.h index c86fb5d957db..dc4d04ea4d9e 100644 --- a/shell/browser/extensions/electron_extension_loader.h +++ b/shell/browser/extensions/electron_extension_loader.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 #include @@ -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_ diff --git a/shell/browser/extensions/electron_extension_message_filter.h b/shell/browser/extensions/electron_extension_message_filter.h index 7272058f4bc2..25d11dd7647f 100644 --- a/shell/browser/extensions/electron_extension_message_filter.h +++ b/shell/browser/extensions/electron_extension_message_filter.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 #include @@ -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_ diff --git a/shell/browser/extensions/electron_extension_system.h b/shell/browser/extensions/electron_extension_system.h index e5e565faa337..971f8df49294 100644 --- a/shell/browser/extensions/electron_extension_system.h +++ b/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_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 #include @@ -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_ diff --git a/shell/browser/extensions/electron_extension_system_factory.h b/shell/browser/extensions/electron_extension_system_factory.h index f09486c52c15..144d96f344df 100644 --- a/shell/browser/extensions/electron_extension_system_factory.h +++ b/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_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_ diff --git a/shell/browser/extensions/electron_extension_web_contents_observer.h b/shell/browser/extensions/electron_extension_web_contents_observer.h index 136178645ccd..15c92fa4700a 100644 --- a/shell/browser/extensions/electron_extension_web_contents_observer.h +++ b/shell/browser/extensions/electron_extension_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_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_ diff --git a/shell/browser/extensions/electron_extensions_api_client.h b/shell/browser/extensions/electron_extensions_api_client.h index a389ec5fa548..c2fd6c3add3d 100644 --- a/shell/browser/extensions/electron_extensions_api_client.h +++ b/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_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 @@ -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_ diff --git a/shell/browser/extensions/electron_extensions_browser_api_provider.h b/shell/browser/extensions/electron_extensions_browser_api_provider.h index 1c48e31acc6a..5f938dfac790 100644 --- a/shell/browser/extensions/electron_extensions_browser_api_provider.h +++ b/shell/browser/extensions/electron_extensions_browser_api_provider.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_ diff --git a/shell/browser/extensions/electron_extensions_browser_client.h b/shell/browser/extensions/electron_extensions_browser_client.h index 32454d28a3f4..aaee2bd9845e 100644 --- a/shell/browser/extensions/electron_extensions_browser_client.h +++ b/shell/browser/extensions/electron_extensions_browser_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_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_CLIENT_H_ -#define SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_CLIENT_H_ +#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_CLIENT_H_ +#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_CLIENT_H_ #include #include @@ -147,4 +147,4 @@ class ElectronExtensionsBrowserClient } // namespace electron -#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_CLIENT_H_ +#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_CLIENT_H_ diff --git a/shell/browser/extensions/electron_kiosk_delegate.h b/shell/browser/extensions/electron_kiosk_delegate.h index 7af05dac451e..1173a7046b7b 100644 --- a/shell/browser/extensions/electron_kiosk_delegate.h +++ b/shell/browser/extensions/electron_kiosk_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_KIOSK_DELEGATE_H_ -#define SHELL_BROWSER_EXTENSIONS_ELECTRON_KIOSK_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_KIOSK_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_KIOSK_DELEGATE_H_ #include "extensions/browser/kiosk/kiosk_delegate.h" #include "extensions/common/extension_id.h" @@ -23,4 +23,4 @@ class ElectronKioskDelegate : public extensions::KioskDelegate { } // namespace electron -#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_KIOSK_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_KIOSK_DELEGATE_H_ diff --git a/shell/browser/extensions/electron_messaging_delegate.h b/shell/browser/extensions/electron_messaging_delegate.h index 6ca38ad5a761..ac82d85ca202 100644 --- a/shell/browser/extensions/electron_messaging_delegate.h +++ b/shell/browser/extensions/electron_messaging_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_EXTENSIONS_ELECTRON_MESSAGING_DELEGATE_H_ -#define SHELL_BROWSER_EXTENSIONS_ELECTRON_MESSAGING_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_MESSAGING_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_MESSAGING_DELEGATE_H_ #include #include @@ -57,4 +57,4 @@ class ElectronMessagingDelegate : public MessagingDelegate { } // namespace extensions -#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_MESSAGING_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_MESSAGING_DELEGATE_H_ diff --git a/shell/browser/extensions/electron_navigation_ui_data.h b/shell/browser/extensions/electron_navigation_ui_data.h index 621e50fecbc2..c2d75b17e644 100644 --- a/shell/browser/extensions/electron_navigation_ui_data.h +++ b/shell/browser/extensions/electron_navigation_ui_data.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_NAVIGATION_UI_DATA_H_ -#define SHELL_BROWSER_EXTENSIONS_ELECTRON_NAVIGATION_UI_DATA_H_ +#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_NAVIGATION_UI_DATA_H_ +#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_NAVIGATION_UI_DATA_H_ #include @@ -47,4 +47,4 @@ class ElectronNavigationUIData : public content::NavigationUIData { } // namespace extensions -#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_NAVIGATION_UI_DATA_H_ +#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_NAVIGATION_UI_DATA_H_ diff --git a/shell/browser/extensions/electron_process_manager_delegate.h b/shell/browser/extensions/electron_process_manager_delegate.h index 8ac2ad378afe..f99e18d11fb0 100644 --- a/shell/browser/extensions/electron_process_manager_delegate.h +++ b/shell/browser/extensions/electron_process_manager_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_PROCESS_MANAGER_DELEGATE_H_ -#define SHELL_BROWSER_EXTENSIONS_ELECTRON_PROCESS_MANAGER_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_PROCESS_MANAGER_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_PROCESS_MANAGER_DELEGATE_H_ #include "base/compiler_specific.h" #include "content/public/browser/notification_observer.h" @@ -40,4 +40,4 @@ class ElectronProcessManagerDelegate : public ProcessManagerDelegate { } // namespace extensions -#endif // SHELL_BROWSER_EXTENSIONS_ELECTRON_PROCESS_MANAGER_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_PROCESS_MANAGER_DELEGATE_H_ diff --git a/shell/browser/fake_location_provider.h b/shell/browser/fake_location_provider.h index 750a50688eb2..14ab16070cfb 100644 --- a/shell/browser/fake_location_provider.h +++ b/shell/browser/fake_location_provider.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_FAKE_LOCATION_PROVIDER_H_ -#define SHELL_BROWSER_FAKE_LOCATION_PROVIDER_H_ +#ifndef ELECTRON_SHELL_BROWSER_FAKE_LOCATION_PROVIDER_H_ +#define ELECTRON_SHELL_BROWSER_FAKE_LOCATION_PROVIDER_H_ #include "services/device/public/cpp/geolocation/location_provider.h" #include "services/device/public/mojom/geoposition.mojom.h" @@ -34,4 +34,4 @@ class FakeLocationProvider : public device::LocationProvider { } // namespace electron -#endif // SHELL_BROWSER_FAKE_LOCATION_PROVIDER_H_ +#endif // ELECTRON_SHELL_BROWSER_FAKE_LOCATION_PROVIDER_H_ diff --git a/shell/browser/feature_list.h b/shell/browser/feature_list.h index 3464bba213c5..cd70456cc2b2 100644 --- a/shell/browser/feature_list.h +++ b/shell/browser/feature_list.h @@ -2,12 +2,12 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_FEATURE_LIST_H_ -#define SHELL_BROWSER_FEATURE_LIST_H_ +#ifndef ELECTRON_SHELL_BROWSER_FEATURE_LIST_H_ +#define ELECTRON_SHELL_BROWSER_FEATURE_LIST_H_ namespace electron { void InitializeFeatureList(); void InitializeFieldTrials(); } // namespace electron -#endif // SHELL_BROWSER_FEATURE_LIST_H_ +#endif // ELECTRON_SHELL_BROWSER_FEATURE_LIST_H_ diff --git a/shell/browser/file_select_helper.h b/shell/browser/file_select_helper.h index e47be4a82cc5..3c1e09e7db30 100644 --- a/shell/browser/file_select_helper.h +++ b/shell/browser/file_select_helper.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_FILE_SELECT_HELPER_H_ -#define SHELL_BROWSER_FILE_SELECT_HELPER_H_ +#ifndef ELECTRON_SHELL_BROWSER_FILE_SELECT_HELPER_H_ +#define ELECTRON_SHELL_BROWSER_FILE_SELECT_HELPER_H_ #include #include @@ -229,4 +229,4 @@ class FileSelectHelper : public base::RefCountedThreadSafe< std::vector temporary_files_; }; -#endif // SHELL_BROWSER_FILE_SELECT_HELPER_H_ +#endif // ELECTRON_SHELL_BROWSER_FILE_SELECT_HELPER_H_ diff --git a/shell/browser/font/electron_font_access_delegate.h b/shell/browser/font/electron_font_access_delegate.h index c29d50d7db92..4cfe7c636506 100644 --- a/shell/browser/font/electron_font_access_delegate.h +++ b/shell/browser/font/electron_font_access_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_FONT_ELECTRON_FONT_ACCESS_DELEGATE_H_ -#define SHELL_BROWSER_FONT_ELECTRON_FONT_ACCESS_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_FONT_ELECTRON_FONT_ACCESS_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_FONT_ELECTRON_FONT_ACCESS_DELEGATE_H_ #include #include @@ -28,4 +28,4 @@ class ElectronFontAccessDelegate : public content::FontAccessDelegate { content::FontAccessChooser::Callback callback) override; }; -#endif // SHELL_BROWSER_FONT_ELECTRON_FONT_ACCESS_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_FONT_ELECTRON_FONT_ACCESS_DELEGATE_H_ diff --git a/shell/browser/font_defaults.h b/shell/browser/font_defaults.h index 260c8100441c..6d317b0e5337 100644 --- a/shell/browser/font_defaults.h +++ b/shell/browser/font_defaults.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_FONT_DEFAULTS_H_ -#define SHELL_BROWSER_FONT_DEFAULTS_H_ +#ifndef ELECTRON_SHELL_BROWSER_FONT_DEFAULTS_H_ +#define ELECTRON_SHELL_BROWSER_FONT_DEFAULTS_H_ namespace blink { namespace web_pref { @@ -17,4 +17,4 @@ void SetFontDefaults(blink::web_pref::WebPreferences* prefs); } // namespace electron -#endif // SHELL_BROWSER_FONT_DEFAULTS_H_ +#endif // ELECTRON_SHELL_BROWSER_FONT_DEFAULTS_H_ diff --git a/shell/browser/hid/electron_hid_delegate.h b/shell/browser/hid/electron_hid_delegate.h index e4e35d507db4..348c32846f3b 100644 --- a/shell/browser/hid/electron_hid_delegate.h +++ b/shell/browser/hid/electron_hid_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_HID_ELECTRON_HID_DELEGATE_H_ -#define SHELL_BROWSER_HID_ELECTRON_HID_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_HID_ELECTRON_HID_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_HID_ELECTRON_HID_DELEGATE_H_ #include #include @@ -81,4 +81,4 @@ class ElectronHidDelegate : public content::HidDelegate, } // namespace electron -#endif // SHELL_BROWSER_HID_ELECTRON_HID_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_HID_ELECTRON_HID_DELEGATE_H_ diff --git a/shell/browser/hid/hid_chooser_context.h b/shell/browser/hid/hid_chooser_context.h index 923f9f99fb8a..a9c2f7e1def9 100644 --- a/shell/browser/hid/hid_chooser_context.h +++ b/shell/browser/hid/hid_chooser_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_HID_HID_CHOOSER_CONTEXT_H_ -#define SHELL_BROWSER_HID_HID_CHOOSER_CONTEXT_H_ +#ifndef ELECTRON_SHELL_BROWSER_HID_HID_CHOOSER_CONTEXT_H_ +#define ELECTRON_SHELL_BROWSER_HID_HID_CHOOSER_CONTEXT_H_ #include #include @@ -133,4 +133,4 @@ class HidChooserContext : public KeyedService, } // namespace electron -#endif // SHELL_BROWSER_HID_HID_CHOOSER_CONTEXT_H_ +#endif // ELECTRON_SHELL_BROWSER_HID_HID_CHOOSER_CONTEXT_H_ diff --git a/shell/browser/hid/hid_chooser_context_factory.h b/shell/browser/hid/hid_chooser_context_factory.h index 3bd89b807eb2..14f444da6d5c 100644 --- a/shell/browser/hid/hid_chooser_context_factory.h +++ b/shell/browser/hid/hid_chooser_context_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_HID_HID_CHOOSER_CONTEXT_FACTORY_H_ -#define SHELL_BROWSER_HID_HID_CHOOSER_CONTEXT_FACTORY_H_ +#ifndef ELECTRON_SHELL_BROWSER_HID_HID_CHOOSER_CONTEXT_FACTORY_H_ +#define ELECTRON_SHELL_BROWSER_HID_HID_CHOOSER_CONTEXT_FACTORY_H_ #include "base/no_destructor.h" #include "components/keyed_service/content/browser_context_keyed_service_factory.h" @@ -40,4 +40,4 @@ class HidChooserContextFactory : public BrowserContextKeyedServiceFactory { } // namespace electron -#endif // SHELL_BROWSER_HID_HID_CHOOSER_CONTEXT_FACTORY_H_ +#endif // ELECTRON_SHELL_BROWSER_HID_HID_CHOOSER_CONTEXT_FACTORY_H_ diff --git a/shell/browser/hid/hid_chooser_controller.h b/shell/browser/hid/hid_chooser_controller.h index cda0d399019b..ed5ef443a154 100644 --- a/shell/browser/hid/hid_chooser_controller.h +++ b/shell/browser/hid/hid_chooser_controller.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_HID_HID_CHOOSER_CONTROLLER_H_ -#define SHELL_BROWSER_HID_HID_CHOOSER_CONTROLLER_H_ +#ifndef ELECTRON_SHELL_BROWSER_HID_HID_CHOOSER_CONTROLLER_H_ +#define ELECTRON_SHELL_BROWSER_HID_HID_CHOOSER_CONTROLLER_H_ #include #include @@ -122,4 +122,4 @@ class HidChooserController } // namespace electron -#endif // SHELL_BROWSER_HID_HID_CHOOSER_CONTROLLER_H_ +#endif // ELECTRON_SHELL_BROWSER_HID_HID_CHOOSER_CONTROLLER_H_ diff --git a/shell/browser/javascript_environment.h b/shell/browser/javascript_environment.h index 0700bb2ca63d..31ca8544900d 100644 --- a/shell/browser/javascript_environment.h +++ b/shell/browser/javascript_environment.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_JAVASCRIPT_ENVIRONMENT_H_ -#define SHELL_BROWSER_JAVASCRIPT_ENVIRONMENT_H_ +#ifndef ELECTRON_SHELL_BROWSER_JAVASCRIPT_ENVIRONMENT_H_ +#define ELECTRON_SHELL_BROWSER_JAVASCRIPT_ENVIRONMENT_H_ #include @@ -71,4 +71,4 @@ class NodeEnvironment { } // namespace electron -#endif // SHELL_BROWSER_JAVASCRIPT_ENVIRONMENT_H_ +#endif // ELECTRON_SHELL_BROWSER_JAVASCRIPT_ENVIRONMENT_H_ diff --git a/shell/browser/lib/bluetooth_chooser.h b/shell/browser/lib/bluetooth_chooser.h index 285198da724c..8143e4ce5cfe 100644 --- a/shell/browser/lib/bluetooth_chooser.h +++ b/shell/browser/lib/bluetooth_chooser.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_LIB_BLUETOOTH_CHOOSER_H_ -#define SHELL_BROWSER_LIB_BLUETOOTH_CHOOSER_H_ +#ifndef ELECTRON_SHELL_BROWSER_LIB_BLUETOOTH_CHOOSER_H_ +#define ELECTRON_SHELL_BROWSER_LIB_BLUETOOTH_CHOOSER_H_ #include #include @@ -51,4 +51,4 @@ class BluetoothChooser : public content::BluetoothChooser { } // namespace electron -#endif // SHELL_BROWSER_LIB_BLUETOOTH_CHOOSER_H_ +#endif // ELECTRON_SHELL_BROWSER_LIB_BLUETOOTH_CHOOSER_H_ diff --git a/shell/browser/lib/power_observer_linux.h b/shell/browser/lib/power_observer_linux.h index cbf58d9dc412..99473f04859e 100644 --- a/shell/browser/lib/power_observer_linux.h +++ b/shell/browser/lib/power_observer_linux.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_LIB_POWER_OBSERVER_LINUX_H_ -#define SHELL_BROWSER_LIB_POWER_OBSERVER_LINUX_H_ +#ifndef ELECTRON_SHELL_BROWSER_LIB_POWER_OBSERVER_LINUX_H_ +#define ELECTRON_SHELL_BROWSER_LIB_POWER_OBSERVER_LINUX_H_ #include @@ -53,4 +53,4 @@ class PowerObserverLinux { } // namespace electron -#endif // SHELL_BROWSER_LIB_POWER_OBSERVER_LINUX_H_ +#endif // ELECTRON_SHELL_BROWSER_LIB_POWER_OBSERVER_LINUX_H_ diff --git a/shell/browser/linux/unity_service.h b/shell/browser/linux/unity_service.h index 9df6619742a8..d134ceffb3d2 100644 --- a/shell/browser/linux/unity_service.h +++ b/shell/browser/linux/unity_service.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_LINUX_UNITY_SERVICE_H_ -#define SHELL_BROWSER_LINUX_UNITY_SERVICE_H_ +#ifndef ELECTRON_SHELL_BROWSER_LINUX_UNITY_SERVICE_H_ +#define ELECTRON_SHELL_BROWSER_LINUX_UNITY_SERVICE_H_ namespace unity { @@ -20,4 +20,4 @@ void SetProgressFraction(float percentage); } // namespace unity -#endif // SHELL_BROWSER_LINUX_UNITY_SERVICE_H_ +#endif // ELECTRON_SHELL_BROWSER_LINUX_UNITY_SERVICE_H_ diff --git a/shell/browser/login_handler.h b/shell/browser/login_handler.h index c7c1b3e09091..0e513f8c98b2 100644 --- a/shell/browser/login_handler.h +++ b/shell/browser/login_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_LOGIN_HANDLER_H_ -#define SHELL_BROWSER_LOGIN_HANDLER_H_ +#ifndef ELECTRON_SHELL_BROWSER_LOGIN_HANDLER_H_ +#define ELECTRON_SHELL_BROWSER_LOGIN_HANDLER_H_ #include "base/values.h" #include "content/public/browser/content_browser_client.h" @@ -52,4 +52,4 @@ class LoginHandler : public content::LoginDelegate, } // namespace electron -#endif // SHELL_BROWSER_LOGIN_HANDLER_H_ +#endif // ELECTRON_SHELL_BROWSER_LOGIN_HANDLER_H_ diff --git a/shell/browser/mac/dict_util.h b/shell/browser/mac/dict_util.h index 6f4af88be29e..13b3bed0d976 100644 --- a/shell/browser/mac/dict_util.h +++ b/shell/browser/mac/dict_util.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_MAC_DICT_UTIL_H_ -#define SHELL_BROWSER_MAC_DICT_UTIL_H_ +#ifndef ELECTRON_SHELL_BROWSER_MAC_DICT_UTIL_H_ +#define ELECTRON_SHELL_BROWSER_MAC_DICT_UTIL_H_ #import @@ -21,4 +21,4 @@ base::DictionaryValue NSDictionaryToDictionaryValue(NSDictionary* dict); } // namespace electron -#endif // SHELL_BROWSER_MAC_DICT_UTIL_H_ +#endif // ELECTRON_SHELL_BROWSER_MAC_DICT_UTIL_H_ diff --git a/shell/browser/mac/electron_application.h b/shell/browser/mac/electron_application.h index 24cac2564364..d0edcaa453d1 100644 --- a/shell/browser/mac/electron_application.h +++ b/shell/browser/mac/electron_application.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_MAC_ELECTRON_APPLICATION_H_ -#define SHELL_BROWSER_MAC_ELECTRON_APPLICATION_H_ +#ifndef ELECTRON_SHELL_BROWSER_MAC_ELECTRON_APPLICATION_H_ +#define ELECTRON_SHELL_BROWSER_MAC_ELECTRON_APPLICATION_H_ #include "base/callback.h" #include "base/mac/scoped_nsobject.h" @@ -49,4 +49,4 @@ @end -#endif // SHELL_BROWSER_MAC_ELECTRON_APPLICATION_H_ +#endif // ELECTRON_SHELL_BROWSER_MAC_ELECTRON_APPLICATION_H_ diff --git a/shell/browser/mac/electron_application_delegate.h b/shell/browser/mac/electron_application_delegate.h index d1697d2a885e..88c6321952e4 100644 --- a/shell/browser/mac/electron_application_delegate.h +++ b/shell/browser/mac/electron_application_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_MAC_ELECTRON_APPLICATION_DELEGATE_H_ -#define SHELL_BROWSER_MAC_ELECTRON_APPLICATION_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_MAC_ELECTRON_APPLICATION_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_MAC_ELECTRON_APPLICATION_DELEGATE_H_ #import @@ -19,4 +19,4 @@ @end -#endif // SHELL_BROWSER_MAC_ELECTRON_APPLICATION_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_MAC_ELECTRON_APPLICATION_DELEGATE_H_ diff --git a/shell/browser/mac/in_app_purchase.h b/shell/browser/mac/in_app_purchase.h index 6411035d6485..645c5e3be815 100644 --- a/shell/browser/mac/in_app_purchase.h +++ b/shell/browser/mac/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_MAC_IN_APP_PURCHASE_H_ -#define SHELL_BROWSER_MAC_IN_APP_PURCHASE_H_ +#ifndef ELECTRON_SHELL_BROWSER_MAC_IN_APP_PURCHASE_H_ +#define ELECTRON_SHELL_BROWSER_MAC_IN_APP_PURCHASE_H_ #include @@ -33,4 +33,4 @@ void PurchaseProduct(const std::string& productID, } // namespace in_app_purchase -#endif // SHELL_BROWSER_MAC_IN_APP_PURCHASE_H_ +#endif // ELECTRON_SHELL_BROWSER_MAC_IN_APP_PURCHASE_H_ diff --git a/shell/browser/mac/in_app_purchase_observer.h b/shell/browser/mac/in_app_purchase_observer.h index 782eda756153..20a24d4d3bf7 100644 --- a/shell/browser/mac/in_app_purchase_observer.h +++ b/shell/browser/mac/in_app_purchase_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_MAC_IN_APP_PURCHASE_OBSERVER_H_ -#define SHELL_BROWSER_MAC_IN_APP_PURCHASE_OBSERVER_H_ +#ifndef ELECTRON_SHELL_BROWSER_MAC_IN_APP_PURCHASE_OBSERVER_H_ +#define ELECTRON_SHELL_BROWSER_MAC_IN_APP_PURCHASE_OBSERVER_H_ #include #include @@ -62,4 +62,4 @@ class TransactionObserver { } // namespace in_app_purchase -#endif // SHELL_BROWSER_MAC_IN_APP_PURCHASE_OBSERVER_H_ +#endif // ELECTRON_SHELL_BROWSER_MAC_IN_APP_PURCHASE_OBSERVER_H_ diff --git a/shell/browser/mac/in_app_purchase_product.h b/shell/browser/mac/in_app_purchase_product.h index e8e8fc97ec54..0fbd7b65b3a6 100644 --- a/shell/browser/mac/in_app_purchase_product.h +++ b/shell/browser/mac/in_app_purchase_product.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_MAC_IN_APP_PURCHASE_PRODUCT_H_ -#define SHELL_BROWSER_MAC_IN_APP_PURCHASE_PRODUCT_H_ +#ifndef ELECTRON_SHELL_BROWSER_MAC_IN_APP_PURCHASE_PRODUCT_H_ +#define ELECTRON_SHELL_BROWSER_MAC_IN_APP_PURCHASE_PRODUCT_H_ #include #include @@ -51,4 +51,4 @@ void GetProducts(const std::vector& productIDs, } // namespace in_app_purchase -#endif // SHELL_BROWSER_MAC_IN_APP_PURCHASE_PRODUCT_H_ +#endif // ELECTRON_SHELL_BROWSER_MAC_IN_APP_PURCHASE_PRODUCT_H_ diff --git a/shell/browser/media/media_capture_devices_dispatcher.h b/shell/browser/media/media_capture_devices_dispatcher.h index fae1dfdb29e4..d7b0957e09f4 100644 --- a/shell/browser/media/media_capture_devices_dispatcher.h +++ b/shell/browser/media/media_capture_devices_dispatcher.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_ -#define SHELL_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_ +#ifndef ELECTRON_SHELL_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_ +#define ELECTRON_SHELL_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_ #include @@ -90,4 +90,4 @@ class MediaCaptureDevicesDispatcher : public content::MediaObserver { } // namespace electron -#endif // SHELL_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_ +#endif // ELECTRON_SHELL_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_ diff --git a/shell/browser/media/media_device_id_salt.h b/shell/browser/media/media_device_id_salt.h index 004705da011a..6a765e55ced3 100644 --- a/shell/browser/media/media_device_id_salt.h +++ b/shell/browser/media/media_device_id_salt.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_MEDIA_MEDIA_DEVICE_ID_SALT_H_ -#define SHELL_BROWSER_MEDIA_MEDIA_DEVICE_ID_SALT_H_ +#ifndef ELECTRON_SHELL_BROWSER_MEDIA_MEDIA_DEVICE_ID_SALT_H_ +#define ELECTRON_SHELL_BROWSER_MEDIA_MEDIA_DEVICE_ID_SALT_H_ #include @@ -37,4 +37,4 @@ class MediaDeviceIDSalt { } // namespace electron -#endif // SHELL_BROWSER_MEDIA_MEDIA_DEVICE_ID_SALT_H_ +#endif // ELECTRON_SHELL_BROWSER_MEDIA_MEDIA_DEVICE_ID_SALT_H_ diff --git a/shell/browser/media/media_stream_devices_controller.h b/shell/browser/media/media_stream_devices_controller.h index d064ce8b57ef..780d38e7cb4e 100644 --- a/shell/browser/media/media_stream_devices_controller.h +++ b/shell/browser/media/media_stream_devices_controller.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_CONTROLLER_H_ -#define SHELL_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_CONTROLLER_H_ +#ifndef ELECTRON_SHELL_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_CONTROLLER_H_ +#define ELECTRON_SHELL_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_CONTROLLER_H_ #include "content/public/browser/web_contents_delegate.h" #include "third_party/blink/public/common/mediastream/media_stream_request.h" @@ -46,4 +46,4 @@ class MediaStreamDevicesController { } // namespace electron -#endif // SHELL_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_CONTROLLER_H_ +#endif // ELECTRON_SHELL_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_CONTROLLER_H_ diff --git a/shell/browser/microtasks_runner.h b/shell/browser/microtasks_runner.h index c048c8653374..b37b7b677df3 100644 --- a/shell/browser/microtasks_runner.h +++ b/shell/browser/microtasks_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_MICROTASKS_RUNNER_H_ -#define SHELL_BROWSER_MICROTASKS_RUNNER_H_ +#ifndef ELECTRON_SHELL_BROWSER_MICROTASKS_RUNNER_H_ +#define ELECTRON_SHELL_BROWSER_MICROTASKS_RUNNER_H_ #include "base/task/task_observer.h" @@ -34,4 +34,4 @@ class MicrotasksRunner : public base::TaskObserver { } // namespace electron -#endif // SHELL_BROWSER_MICROTASKS_RUNNER_H_ +#endif // ELECTRON_SHELL_BROWSER_MICROTASKS_RUNNER_H_ diff --git a/shell/browser/native_browser_view.h b/shell/browser/native_browser_view.h index da29b527f1d7..05a47ffa3d17 100644 --- a/shell/browser/native_browser_view.h +++ b/shell/browser/native_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_NATIVE_BROWSER_VIEW_H_ -#define SHELL_BROWSER_NATIVE_BROWSER_VIEW_H_ +#ifndef ELECTRON_SHELL_BROWSER_NATIVE_BROWSER_VIEW_H_ +#define ELECTRON_SHELL_BROWSER_NATIVE_BROWSER_VIEW_H_ #include @@ -72,4 +72,4 @@ class NativeBrowserView : public content::WebContentsObserver { } // namespace electron -#endif // SHELL_BROWSER_NATIVE_BROWSER_VIEW_H_ +#endif // ELECTRON_SHELL_BROWSER_NATIVE_BROWSER_VIEW_H_ diff --git a/shell/browser/native_browser_view_mac.h b/shell/browser/native_browser_view_mac.h index 4b1349fa0560..313d51616f34 100644 --- a/shell/browser/native_browser_view_mac.h +++ b/shell/browser/native_browser_view_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_NATIVE_BROWSER_VIEW_MAC_H_ -#define SHELL_BROWSER_NATIVE_BROWSER_VIEW_MAC_H_ +#ifndef ELECTRON_SHELL_BROWSER_NATIVE_BROWSER_VIEW_MAC_H_ +#define ELECTRON_SHELL_BROWSER_NATIVE_BROWSER_VIEW_MAC_H_ #import #include @@ -33,4 +33,4 @@ class NativeBrowserViewMac : public NativeBrowserView { } // namespace electron -#endif // SHELL_BROWSER_NATIVE_BROWSER_VIEW_MAC_H_ +#endif // ELECTRON_SHELL_BROWSER_NATIVE_BROWSER_VIEW_MAC_H_ diff --git a/shell/browser/native_browser_view_views.h b/shell/browser/native_browser_view_views.h index bcf2e5a56589..77bb0f73260f 100644 --- a/shell/browser/native_browser_view_views.h +++ b/shell/browser/native_browser_view_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_NATIVE_BROWSER_VIEW_VIEWS_H_ -#define SHELL_BROWSER_NATIVE_BROWSER_VIEW_VIEWS_H_ +#ifndef ELECTRON_SHELL_BROWSER_NATIVE_BROWSER_VIEW_VIEWS_H_ +#define ELECTRON_SHELL_BROWSER_NATIVE_BROWSER_VIEW_VIEWS_H_ #include #include @@ -56,4 +56,4 @@ class NativeBrowserViewViews : public NativeBrowserView { } // namespace electron -#endif // SHELL_BROWSER_NATIVE_BROWSER_VIEW_VIEWS_H_ +#endif // ELECTRON_SHELL_BROWSER_NATIVE_BROWSER_VIEW_VIEWS_H_ diff --git a/shell/browser/native_window.h b/shell/browser/native_window.h index 8b31a775fd74..113b140ca192 100644 --- a/shell/browser/native_window.h +++ b/shell/browser/native_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_NATIVE_WINDOW_H_ -#define SHELL_BROWSER_NATIVE_WINDOW_H_ +#ifndef ELECTRON_SHELL_BROWSER_NATIVE_WINDOW_H_ +#define ELECTRON_SHELL_BROWSER_NATIVE_WINDOW_H_ #include #include @@ -440,4 +440,4 @@ class NativeWindowRelay } // namespace electron -#endif // SHELL_BROWSER_NATIVE_WINDOW_H_ +#endif // ELECTRON_SHELL_BROWSER_NATIVE_WINDOW_H_ diff --git a/shell/browser/native_window_mac.h b/shell/browser/native_window_mac.h index 10dc3fd2a65c..272841437923 100644 --- a/shell/browser/native_window_mac.h +++ b/shell/browser/native_window_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_NATIVE_WINDOW_MAC_H_ -#define SHELL_BROWSER_NATIVE_WINDOW_MAC_H_ +#ifndef ELECTRON_SHELL_BROWSER_NATIVE_WINDOW_MAC_H_ +#define ELECTRON_SHELL_BROWSER_NATIVE_WINDOW_MAC_H_ #import @@ -286,4 +286,4 @@ class NativeWindowMac : public NativeWindow, } // namespace electron -#endif // SHELL_BROWSER_NATIVE_WINDOW_MAC_H_ +#endif // ELECTRON_SHELL_BROWSER_NATIVE_WINDOW_MAC_H_ diff --git a/shell/browser/native_window_observer.h b/shell/browser/native_window_observer.h index ce7f337c3c1c..572aca06ef0f 100644 --- a/shell/browser/native_window_observer.h +++ b/shell/browser/native_window_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_NATIVE_WINDOW_OBSERVER_H_ -#define SHELL_BROWSER_NATIVE_WINDOW_OBSERVER_H_ +#ifndef ELECTRON_SHELL_BROWSER_NATIVE_WINDOW_OBSERVER_H_ +#define ELECTRON_SHELL_BROWSER_NATIVE_WINDOW_OBSERVER_H_ #include @@ -111,4 +111,4 @@ class NativeWindowObserver : public base::CheckedObserver { } // namespace electron -#endif // SHELL_BROWSER_NATIVE_WINDOW_OBSERVER_H_ +#endif // ELECTRON_SHELL_BROWSER_NATIVE_WINDOW_OBSERVER_H_ diff --git a/shell/browser/native_window_views.h b/shell/browser/native_window_views.h index 3a5199ebcdca..caaa690da917 100644 --- a/shell/browser/native_window_views.h +++ b/shell/browser/native_window_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_NATIVE_WINDOW_VIEWS_H_ -#define SHELL_BROWSER_NATIVE_WINDOW_VIEWS_H_ +#ifndef ELECTRON_SHELL_BROWSER_NATIVE_WINDOW_VIEWS_H_ +#define ELECTRON_SHELL_BROWSER_NATIVE_WINDOW_VIEWS_H_ #include "shell/browser/native_window.h" @@ -336,4 +336,4 @@ class NativeWindowViews : public NativeWindow, } // namespace electron -#endif // SHELL_BROWSER_NATIVE_WINDOW_VIEWS_H_ +#endif // ELECTRON_SHELL_BROWSER_NATIVE_WINDOW_VIEWS_H_ diff --git a/shell/browser/net/asar/asar_file_validator.h b/shell/browser/net/asar/asar_file_validator.h index 9a028fc22d59..b5ba25770e1f 100644 --- a/shell/browser/net/asar/asar_file_validator.h +++ b/shell/browser/net/asar/asar_file_validator.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_NET_ASAR_ASAR_FILE_VALIDATOR_H_ -#define SHELL_BROWSER_NET_ASAR_ASAR_FILE_VALIDATOR_H_ +#ifndef ELECTRON_SHELL_BROWSER_NET_ASAR_ASAR_FILE_VALIDATOR_H_ +#define ELECTRON_SHELL_BROWSER_NET_ASAR_ASAR_FILE_VALIDATOR_H_ #include #include @@ -60,4 +60,4 @@ class AsarFileValidator : public mojo::FilteredDataSource::Filter { } // namespace asar -#endif // SHELL_BROWSER_NET_ASAR_ASAR_FILE_VALIDATOR_H_ +#endif // ELECTRON_SHELL_BROWSER_NET_ASAR_ASAR_FILE_VALIDATOR_H_ diff --git a/shell/browser/net/asar/asar_url_loader.h b/shell/browser/net/asar/asar_url_loader.h index a2594b99a147..09d255fd5d2d 100644 --- a/shell/browser/net/asar/asar_url_loader.h +++ b/shell/browser/net/asar/asar_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_NET_ASAR_ASAR_URL_LOADER_H_ -#define SHELL_BROWSER_NET_ASAR_ASAR_URL_LOADER_H_ +#ifndef ELECTRON_SHELL_BROWSER_NET_ASAR_ASAR_URL_LOADER_H_ +#define ELECTRON_SHELL_BROWSER_NET_ASAR_ASAR_URL_LOADER_H_ #include "mojo/public/cpp/bindings/pending_remote.h" #include "services/network/public/cpp/resource_request.h" @@ -19,4 +19,4 @@ void CreateAsarURLLoader( } // namespace asar -#endif // SHELL_BROWSER_NET_ASAR_ASAR_URL_LOADER_H_ +#endif // ELECTRON_SHELL_BROWSER_NET_ASAR_ASAR_URL_LOADER_H_ diff --git a/shell/browser/net/asar/asar_url_loader_factory.h b/shell/browser/net/asar/asar_url_loader_factory.h index 0c67ceedd466..9a7126b8ba83 100644 --- a/shell/browser/net/asar/asar_url_loader_factory.h +++ b/shell/browser/net/asar/asar_url_loader_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_NET_ASAR_ASAR_URL_LOADER_FACTORY_H_ -#define SHELL_BROWSER_NET_ASAR_ASAR_URL_LOADER_FACTORY_H_ +#ifndef ELECTRON_SHELL_BROWSER_NET_ASAR_ASAR_URL_LOADER_FACTORY_H_ +#define ELECTRON_SHELL_BROWSER_NET_ASAR_ASAR_URL_LOADER_FACTORY_H_ #include "mojo/public/cpp/bindings/pending_receiver.h" #include "mojo/public/cpp/bindings/pending_remote.h" @@ -34,4 +34,4 @@ class AsarURLLoaderFactory : public network::SelfDeletingURLLoaderFactory { } // namespace electron -#endif // SHELL_BROWSER_NET_ASAR_ASAR_URL_LOADER_FACTORY_H_ +#endif // ELECTRON_SHELL_BROWSER_NET_ASAR_ASAR_URL_LOADER_FACTORY_H_ diff --git a/shell/browser/net/cert_verifier_client.h b/shell/browser/net/cert_verifier_client.h index 23e8112c2d73..f46eaf87b51d 100644 --- a/shell/browser/net/cert_verifier_client.h +++ b/shell/browser/net/cert_verifier_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_NET_CERT_VERIFIER_CLIENT_H_ -#define SHELL_BROWSER_NET_CERT_VERIFIER_CLIENT_H_ +#ifndef ELECTRON_SHELL_BROWSER_NET_CERT_VERIFIER_CLIENT_H_ +#define ELECTRON_SHELL_BROWSER_NET_CERT_VERIFIER_CLIENT_H_ #include @@ -49,4 +49,4 @@ class CertVerifierClient : public network::mojom::CertVerifierClient { } // namespace electron -#endif // SHELL_BROWSER_NET_CERT_VERIFIER_CLIENT_H_ +#endif // ELECTRON_SHELL_BROWSER_NET_CERT_VERIFIER_CLIENT_H_ diff --git a/shell/browser/net/electron_url_loader_factory.h b/shell/browser/net/electron_url_loader_factory.h index 9696659a9091..a6cac0d0d4c2 100644 --- a/shell/browser/net/electron_url_loader_factory.h +++ b/shell/browser/net/electron_url_loader_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_NET_ELECTRON_URL_LOADER_FACTORY_H_ -#define SHELL_BROWSER_NET_ELECTRON_URL_LOADER_FACTORY_H_ +#ifndef ELECTRON_SHELL_BROWSER_NET_ELECTRON_URL_LOADER_FACTORY_H_ +#define ELECTRON_SHELL_BROWSER_NET_ELECTRON_URL_LOADER_FACTORY_H_ #include #include @@ -177,4 +177,4 @@ class ElectronURLLoaderFactory : public network::SelfDeletingURLLoaderFactory { } // namespace electron -#endif // SHELL_BROWSER_NET_ELECTRON_URL_LOADER_FACTORY_H_ +#endif // ELECTRON_SHELL_BROWSER_NET_ELECTRON_URL_LOADER_FACTORY_H_ diff --git a/shell/browser/net/network_context_service.h b/shell/browser/net/network_context_service.h index ef0c3fdebb74..e68c21db25d8 100644 --- a/shell/browser/net/network_context_service.h +++ b/shell/browser/net/network_context_service.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_NET_NETWORK_CONTEXT_SERVICE_H_ -#define SHELL_BROWSER_NET_NETWORK_CONTEXT_SERVICE_H_ +#ifndef ELECTRON_SHELL_BROWSER_NET_NETWORK_CONTEXT_SERVICE_H_ +#define ELECTRON_SHELL_BROWSER_NET_NETWORK_CONTEXT_SERVICE_H_ #include "base/files/file_path.h" #include "chrome/browser/net/proxy_config_monitor.h" @@ -42,4 +42,4 @@ class NetworkContextService : public KeyedService { } // namespace electron -#endif // SHELL_BROWSER_NET_NETWORK_CONTEXT_SERVICE_H_ +#endif // ELECTRON_SHELL_BROWSER_NET_NETWORK_CONTEXT_SERVICE_H_ diff --git a/shell/browser/net/network_context_service_factory.h b/shell/browser/net/network_context_service_factory.h index 8d24457ed5d5..2348dae43f56 100644 --- a/shell/browser/net/network_context_service_factory.h +++ b/shell/browser/net/network_context_service_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_NET_NETWORK_CONTEXT_SERVICE_FACTORY_H_ -#define SHELL_BROWSER_NET_NETWORK_CONTEXT_SERVICE_FACTORY_H_ +#ifndef ELECTRON_SHELL_BROWSER_NET_NETWORK_CONTEXT_SERVICE_FACTORY_H_ +#define ELECTRON_SHELL_BROWSER_NET_NETWORK_CONTEXT_SERVICE_FACTORY_H_ #include "base/memory/singleton.h" #include "components/keyed_service/content/browser_context_keyed_service_factory.h" @@ -47,4 +47,4 @@ class NetworkContextServiceFactory : public BrowserContextKeyedServiceFactory { } // namespace electron -#endif // SHELL_BROWSER_NET_NETWORK_CONTEXT_SERVICE_FACTORY_H_ +#endif // ELECTRON_SHELL_BROWSER_NET_NETWORK_CONTEXT_SERVICE_FACTORY_H_ diff --git a/shell/browser/net/node_stream_loader.h b/shell/browser/net/node_stream_loader.h index b4fff133b7e2..450c388fed25 100644 --- a/shell/browser/net/node_stream_loader.h +++ b/shell/browser/net/node_stream_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_NET_NODE_STREAM_LOADER_H_ -#define SHELL_BROWSER_NET_NODE_STREAM_LOADER_H_ +#ifndef ELECTRON_SHELL_BROWSER_NET_NODE_STREAM_LOADER_H_ +#define ELECTRON_SHELL_BROWSER_NET_NODE_STREAM_LOADER_H_ #include #include @@ -103,4 +103,4 @@ class NodeStreamLoader : public network::mojom::URLLoader { } // namespace electron -#endif // SHELL_BROWSER_NET_NODE_STREAM_LOADER_H_ +#endif // ELECTRON_SHELL_BROWSER_NET_NODE_STREAM_LOADER_H_ diff --git a/shell/browser/net/proxying_url_loader_factory.h b/shell/browser/net/proxying_url_loader_factory.h index 644330c1c31a..f45c9c943889 100644 --- a/shell/browser/net/proxying_url_loader_factory.h +++ b/shell/browser/net/proxying_url_loader_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_NET_PROXYING_URL_LOADER_FACTORY_H_ -#define SHELL_BROWSER_NET_PROXYING_URL_LOADER_FACTORY_H_ +#ifndef ELECTRON_SHELL_BROWSER_NET_PROXYING_URL_LOADER_FACTORY_H_ +#define ELECTRON_SHELL_BROWSER_NET_PROXYING_URL_LOADER_FACTORY_H_ #include #include @@ -281,4 +281,4 @@ class ProxyingURLLoaderFactory } // namespace electron -#endif // SHELL_BROWSER_NET_PROXYING_URL_LOADER_FACTORY_H_ +#endif // ELECTRON_SHELL_BROWSER_NET_PROXYING_URL_LOADER_FACTORY_H_ diff --git a/shell/browser/net/proxying_websocket.h b/shell/browser/net/proxying_websocket.h index 83040bac04b2..009b9a1e9d12 100644 --- a/shell/browser/net/proxying_websocket.h +++ b/shell/browser/net/proxying_websocket.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_NET_PROXYING_WEBSOCKET_H_ -#define SHELL_BROWSER_NET_PROXYING_WEBSOCKET_H_ +#ifndef ELECTRON_SHELL_BROWSER_NET_PROXYING_WEBSOCKET_H_ +#define ELECTRON_SHELL_BROWSER_NET_PROXYING_WEBSOCKET_H_ #include #include @@ -178,4 +178,4 @@ class ProxyingWebSocket : public network::mojom::WebSocketHandshakeClient, } // namespace electron -#endif // SHELL_BROWSER_NET_PROXYING_WEBSOCKET_H_ +#endif // ELECTRON_SHELL_BROWSER_NET_PROXYING_WEBSOCKET_H_ diff --git a/shell/browser/net/resolve_proxy_helper.h b/shell/browser/net/resolve_proxy_helper.h index f67936f18e1e..7225e2542e5e 100644 --- a/shell/browser/net/resolve_proxy_helper.h +++ b/shell/browser/net/resolve_proxy_helper.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_NET_RESOLVE_PROXY_HELPER_H_ -#define SHELL_BROWSER_NET_RESOLVE_PROXY_HELPER_H_ +#ifndef ELECTRON_SHELL_BROWSER_NET_RESOLVE_PROXY_HELPER_H_ +#define ELECTRON_SHELL_BROWSER_NET_RESOLVE_PROXY_HELPER_H_ #include #include @@ -75,4 +75,4 @@ class ResolveProxyHelper } // namespace electron -#endif // SHELL_BROWSER_NET_RESOLVE_PROXY_HELPER_H_ +#endif // ELECTRON_SHELL_BROWSER_NET_RESOLVE_PROXY_HELPER_H_ diff --git a/shell/browser/net/system_network_context_manager.h b/shell/browser/net/system_network_context_manager.h index f4337f4e6c3e..dfce7949f7d2 100644 --- a/shell/browser/net/system_network_context_manager.h +++ b/shell/browser/net/system_network_context_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_NET_SYSTEM_NETWORK_CONTEXT_MANAGER_H_ -#define SHELL_BROWSER_NET_SYSTEM_NETWORK_CONTEXT_MANAGER_H_ +#ifndef ELECTRON_SHELL_BROWSER_NET_SYSTEM_NETWORK_CONTEXT_MANAGER_H_ +#define ELECTRON_SHELL_BROWSER_NET_SYSTEM_NETWORK_CONTEXT_MANAGER_H_ #include "base/memory/ref_counted.h" #include "chrome/browser/net/proxy_config_monitor.h" @@ -106,4 +106,4 @@ class SystemNetworkContextManager { mojo::Remote url_loader_factory_; }; -#endif // SHELL_BROWSER_NET_SYSTEM_NETWORK_CONTEXT_MANAGER_H_ +#endif // ELECTRON_SHELL_BROWSER_NET_SYSTEM_NETWORK_CONTEXT_MANAGER_H_ diff --git a/shell/browser/net/url_pipe_loader.h b/shell/browser/net/url_pipe_loader.h index da170ac157ac..09baa5f14261 100644 --- a/shell/browser/net/url_pipe_loader.h +++ b/shell/browser/net/url_pipe_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_NET_URL_PIPE_LOADER_H_ -#define SHELL_BROWSER_NET_URL_PIPE_LOADER_H_ +#ifndef ELECTRON_SHELL_BROWSER_NET_URL_PIPE_LOADER_H_ +#define ELECTRON_SHELL_BROWSER_NET_URL_PIPE_LOADER_H_ #include #include @@ -85,4 +85,4 @@ class URLPipeLoader : public network::mojom::URLLoader, } // namespace electron -#endif // SHELL_BROWSER_NET_URL_PIPE_LOADER_H_ +#endif // ELECTRON_SHELL_BROWSER_NET_URL_PIPE_LOADER_H_ diff --git a/shell/browser/net/web_request_api_interface.h b/shell/browser/net/web_request_api_interface.h index 5eeaad0800cf..d4bfb280c218 100644 --- a/shell/browser/net/web_request_api_interface.h +++ b/shell/browser/net/web_request_api_interface.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_NET_WEB_REQUEST_API_INTERFACE_H_ -#define SHELL_BROWSER_NET_WEB_REQUEST_API_INTERFACE_H_ +#ifndef ELECTRON_SHELL_BROWSER_NET_WEB_REQUEST_API_INTERFACE_H_ +#define ELECTRON_SHELL_BROWSER_NET_WEB_REQUEST_API_INTERFACE_H_ #include #include @@ -59,4 +59,4 @@ class WebRequestAPI { } // namespace electron -#endif // SHELL_BROWSER_NET_WEB_REQUEST_API_INTERFACE_H_ +#endif // ELECTRON_SHELL_BROWSER_NET_WEB_REQUEST_API_INTERFACE_H_ diff --git a/shell/browser/network_hints_handler_impl.h b/shell/browser/network_hints_handler_impl.h index ba49ab6f1986..3339f0d7238e 100644 --- a/shell/browser/network_hints_handler_impl.h +++ b/shell/browser/network_hints_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_NETWORK_HINTS_HANDLER_IMPL_H_ -#define SHELL_BROWSER_NETWORK_HINTS_HANDLER_IMPL_H_ +#ifndef ELECTRON_SHELL_BROWSER_NETWORK_HINTS_HANDLER_IMPL_H_ +#define ELECTRON_SHELL_BROWSER_NETWORK_HINTS_HANDLER_IMPL_H_ #include "components/network_hints/browser/simple_network_hints_handler_impl.h" @@ -31,4 +31,4 @@ class NetworkHintsHandlerImpl content::BrowserContext* browser_context_ = nullptr; }; -#endif // SHELL_BROWSER_NETWORK_HINTS_HANDLER_IMPL_H_ +#endif // ELECTRON_SHELL_BROWSER_NETWORK_HINTS_HANDLER_IMPL_H_ diff --git a/shell/browser/notifications/linux/libnotify_notification.h b/shell/browser/notifications/linux/libnotify_notification.h index b1cf111fe8da..0158df4503e2 100644 --- a/shell/browser/notifications/linux/libnotify_notification.h +++ b/shell/browser/notifications/linux/libnotify_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_NOTIFICATIONS_LINUX_LIBNOTIFY_NOTIFICATION_H_ -#define SHELL_BROWSER_NOTIFICATIONS_LINUX_LIBNOTIFY_NOTIFICATION_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_LINUX_LIBNOTIFY_NOTIFICATION_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_LINUX_LIBNOTIFY_NOTIFICATION_H_ #include "library_loaders/libnotify_loader.h" #include "shell/browser/notifications/notification.h" @@ -39,4 +39,4 @@ class LibnotifyNotification : public Notification { } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_LINUX_LIBNOTIFY_NOTIFICATION_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_LINUX_LIBNOTIFY_NOTIFICATION_H_ diff --git a/shell/browser/notifications/linux/notification_presenter_linux.h b/shell/browser/notifications/linux/notification_presenter_linux.h index b8e5c71f3cf7..9bfcffae70d5 100644 --- a/shell/browser/notifications/linux/notification_presenter_linux.h +++ b/shell/browser/notifications/linux/notification_presenter_linux.h @@ -3,8 +3,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_NOTIFICATIONS_LINUX_NOTIFICATION_PRESENTER_LINUX_H_ -#define SHELL_BROWSER_NOTIFICATIONS_LINUX_NOTIFICATION_PRESENTER_LINUX_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_LINUX_NOTIFICATION_PRESENTER_LINUX_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_LINUX_NOTIFICATION_PRESENTER_LINUX_H_ #include "shell/browser/notifications/notification_presenter.h" @@ -22,4 +22,4 @@ class NotificationPresenterLinux : public NotificationPresenter { } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_LINUX_NOTIFICATION_PRESENTER_LINUX_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_LINUX_NOTIFICATION_PRESENTER_LINUX_H_ diff --git a/shell/browser/notifications/mac/cocoa_notification.h b/shell/browser/notifications/mac/cocoa_notification.h index 3f586dc70bd4..8fd3cfb64c9c 100644 --- a/shell/browser/notifications/mac/cocoa_notification.h +++ b/shell/browser/notifications/mac/cocoa_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_NOTIFICATIONS_MAC_COCOA_NOTIFICATION_H_ -#define SHELL_BROWSER_NOTIFICATIONS_MAC_COCOA_NOTIFICATION_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_MAC_COCOA_NOTIFICATION_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_MAC_COCOA_NOTIFICATION_H_ #import @@ -43,4 +43,4 @@ class CocoaNotification : public Notification { } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_MAC_COCOA_NOTIFICATION_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_MAC_COCOA_NOTIFICATION_H_ diff --git a/shell/browser/notifications/mac/notification_center_delegate.h b/shell/browser/notifications/mac/notification_center_delegate.h index ec7e681fa338..fac1f401934a 100644 --- a/shell/browser/notifications/mac/notification_center_delegate.h +++ b/shell/browser/notifications/mac/notification_center_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_NOTIFICATIONS_MAC_NOTIFICATION_CENTER_DELEGATE_H_ -#define SHELL_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_CENTER_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_CENTER_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_CENTER_DELEGATE_H_ #import @@ -20,4 +20,4 @@ class NotificationPresenterMac; (electron::NotificationPresenterMac*)presenter; @end -#endif // SHELL_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_CENTER_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_CENTER_DELEGATE_H_ diff --git a/shell/browser/notifications/mac/notification_presenter_mac.h b/shell/browser/notifications/mac/notification_presenter_mac.h index 242c42391b25..207e3acd8147 100644 --- a/shell/browser/notifications/mac/notification_presenter_mac.h +++ b/shell/browser/notifications/mac/notification_presenter_mac.h @@ -3,8 +3,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_PRESENTER_MAC_H_ -#define SHELL_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_PRESENTER_MAC_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_PRESENTER_MAC_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_PRESENTER_MAC_H_ #include "base/mac/scoped_nsobject.h" #include "shell/browser/notifications/mac/notification_center_delegate.h" @@ -31,4 +31,4 @@ class NotificationPresenterMac : public NotificationPresenter { } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_PRESENTER_MAC_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_MAC_NOTIFICATION_PRESENTER_MAC_H_ diff --git a/shell/browser/notifications/notification.h b/shell/browser/notifications/notification.h index 79a073977c31..6d7456c5dcb7 100644 --- a/shell/browser/notifications/notification.h +++ b/shell/browser/notifications/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_NOTIFICATIONS_NOTIFICATION_H_ -#define SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_H_ #include #include @@ -90,4 +90,4 @@ class Notification { } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_H_ diff --git a/shell/browser/notifications/notification_delegate.h b/shell/browser/notifications/notification_delegate.h index 4f52279c71d4..8a44f420a1b4 100644 --- a/shell/browser/notifications/notification_delegate.h +++ b/shell/browser/notifications/notification_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_NOTIFICATIONS_NOTIFICATION_DELEGATE_H_ -#define SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_DELEGATE_H_ #include @@ -32,4 +32,4 @@ class NotificationDelegate { } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_DELEGATE_H_ diff --git a/shell/browser/notifications/notification_presenter.h b/shell/browser/notifications/notification_presenter.h index 4a30855d7aa1..b29dd2a4dc8b 100644 --- a/shell/browser/notifications/notification_presenter.h +++ b/shell/browser/notifications/notification_presenter.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_NOTIFICATIONS_NOTIFICATION_PRESENTER_H_ -#define SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_PRESENTER_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_PRESENTER_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_PRESENTER_H_ #include #include @@ -47,4 +47,4 @@ class NotificationPresenter { } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_PRESENTER_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_NOTIFICATION_PRESENTER_H_ diff --git a/shell/browser/notifications/platform_notification_service.h b/shell/browser/notifications/platform_notification_service.h index 3b6d99b5fc3b..fefbbb70ced2 100644 --- a/shell/browser/notifications/platform_notification_service.h +++ b/shell/browser/notifications/platform_notification_service.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_NOTIFICATIONS_PLATFORM_NOTIFICATION_SERVICE_H_ -#define SHELL_BROWSER_NOTIFICATIONS_PLATFORM_NOTIFICATION_SERVICE_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_PLATFORM_NOTIFICATION_SERVICE_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_PLATFORM_NOTIFICATION_SERVICE_H_ #include @@ -55,4 +55,4 @@ class PlatformNotificationService } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_PLATFORM_NOTIFICATION_SERVICE_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_PLATFORM_NOTIFICATION_SERVICE_H_ diff --git a/shell/browser/notifications/win/notification_presenter_win.h b/shell/browser/notifications/win/notification_presenter_win.h index 23b9ea992ebe..1730f0988353 100644 --- a/shell/browser/notifications/win/notification_presenter_win.h +++ b/shell/browser/notifications/win/notification_presenter_win.h @@ -20,8 +20,8 @@ // console.log("Notification dismissed") // }; -#ifndef SHELL_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_PRESENTER_WIN_H_ -#define SHELL_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_PRESENTER_WIN_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_PRESENTER_WIN_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_PRESENTER_WIN_H_ #include "base/files/scoped_temp_dir.h" #include "shell/browser/notifications/notification_presenter.h" @@ -49,4 +49,4 @@ class NotificationPresenterWin : public NotificationPresenter { } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_PRESENTER_WIN_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_PRESENTER_WIN_H_ diff --git a/shell/browser/notifications/win/notification_presenter_win7.h b/shell/browser/notifications/win/notification_presenter_win7.h index 67513ee3c302..6c03839e624d 100644 --- a/shell/browser/notifications/win/notification_presenter_win7.h +++ b/shell/browser/notifications/win/notification_presenter_win7.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_NOTIFICATIONS_WIN_NOTIFICATION_PRESENTER_WIN7_H_ -#define SHELL_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_PRESENTER_WIN7_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_PRESENTER_WIN7_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_PRESENTER_WIN7_H_ #include @@ -34,4 +34,4 @@ class NotificationPresenterWin7 : public NotificationPresenter, } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_PRESENTER_WIN7_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_PRESENTER_WIN7_H_ diff --git a/shell/browser/notifications/win/win32_desktop_notifications/common.h b/shell/browser/notifications/win/win32_desktop_notifications/common.h index a5655d008f64..9ffec8a56194 100644 --- a/shell/browser/notifications/win/win32_desktop_notifications/common.h +++ b/shell/browser/notifications/win/win32_desktop_notifications/common.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_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_COMMON_H_ -#define SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_COMMON_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_COMMON_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_COMMON_H_ #include @@ -65,4 +65,4 @@ struct ScreenMetrics { } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_COMMON_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_COMMON_H_ diff --git a/shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.h b/shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.h index 051522105609..d188cbc151a3 100644 --- a/shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.h +++ b/shell/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.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_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_DESKTOP_NOTIFICATION_CONTROLLER_H_ -#define SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_DESKTOP_NOTIFICATION_CONTROLLER_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_DESKTOP_NOTIFICATION_CONTROLLER_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_DESKTOP_NOTIFICATION_CONTROLLER_H_ #include #include @@ -97,4 +97,4 @@ class DesktopNotificationController::Notification { } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_DESKTOP_NOTIFICATION_CONTROLLER_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_DESKTOP_NOTIFICATION_CONTROLLER_H_ diff --git a/shell/browser/notifications/win/win32_desktop_notifications/toast.h b/shell/browser/notifications/win/win32_desktop_notifications/toast.h index 869eb13a7dac..d7bd2c41b42b 100644 --- a/shell/browser/notifications/win/win32_desktop_notifications/toast.h +++ b/shell/browser/notifications/win/win32_desktop_notifications/toast.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_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_TOAST_H_ -#define SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_TOAST_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_TOAST_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_TOAST_H_ #include @@ -104,4 +104,4 @@ class DesktopNotificationController::Toast { } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_TOAST_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_TOAST_H_ diff --git a/shell/browser/notifications/win/win32_desktop_notifications/toast_uia.h b/shell/browser/notifications/win/win32_desktop_notifications/toast_uia.h index 3cffd9ce45a5..0639357b24e7 100644 --- a/shell/browser/notifications/win/win32_desktop_notifications/toast_uia.h +++ b/shell/browser/notifications/win/win32_desktop_notifications/toast_uia.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_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_TOAST_UIA_H_ -#define SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_TOAST_UIA_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_TOAST_UIA_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_TOAST_UIA_H_ #include "shell/browser/notifications/win/win32_desktop_notifications/toast.h" @@ -81,4 +81,4 @@ class DesktopNotificationController::Toast::UIAutomationInterface } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_TOAST_UIA_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_DESKTOP_NOTIFICATIONS_TOAST_UIA_H_ diff --git a/shell/browser/notifications/win/win32_notification.h b/shell/browser/notifications/win/win32_notification.h index ea5f9a287572..fdb1145cca30 100644 --- a/shell/browser/notifications/win/win32_notification.h +++ b/shell/browser/notifications/win/win32_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_NOTIFICATIONS_WIN_WIN32_NOTIFICATION_H_ -#define SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_NOTIFICATION_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_NOTIFICATION_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_NOTIFICATION_H_ #include @@ -33,4 +33,4 @@ class Win32Notification : public electron::Notification { } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_NOTIFICATION_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WIN32_NOTIFICATION_H_ diff --git a/shell/browser/notifications/win/windows_toast_notification.h b/shell/browser/notifications/win/windows_toast_notification.h index 51fec92a559f..adb0f87753f1 100644 --- a/shell/browser/notifications/win/windows_toast_notification.h +++ b/shell/browser/notifications/win/windows_toast_notification.h @@ -6,8 +6,8 @@ // this code // and released it as MIT to the world. -#ifndef SHELL_BROWSER_NOTIFICATIONS_WIN_WINDOWS_TOAST_NOTIFICATION_H_ -#define SHELL_BROWSER_NOTIFICATIONS_WIN_WINDOWS_TOAST_NOTIFICATION_H_ +#ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WINDOWS_TOAST_NOTIFICATION_H_ +#define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WINDOWS_TOAST_NOTIFICATION_H_ #include #include @@ -136,4 +136,4 @@ class ToastEventHandler : public RuntimeClass, } // namespace electron -#endif // SHELL_BROWSER_NOTIFICATIONS_WIN_WINDOWS_TOAST_NOTIFICATION_H_ +#endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_WIN_WINDOWS_TOAST_NOTIFICATION_H_ diff --git a/shell/browser/osr/osr_host_display_client.h b/shell/browser/osr/osr_host_display_client.h index 1d858dea1484..795cf53ce740 100644 --- a/shell/browser/osr/osr_host_display_client.h +++ b/shell/browser/osr/osr_host_display_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_OSR_OSR_HOST_DISPLAY_CLIENT_H_ -#define SHELL_BROWSER_OSR_OSR_HOST_DISPLAY_CLIENT_H_ +#ifndef ELECTRON_SHELL_BROWSER_OSR_OSR_HOST_DISPLAY_CLIENT_H_ +#define ELECTRON_SHELL_BROWSER_OSR_OSR_HOST_DISPLAY_CLIENT_H_ #include @@ -83,4 +83,4 @@ class OffScreenHostDisplayClient : public viz::HostDisplayClient { } // namespace electron -#endif // SHELL_BROWSER_OSR_OSR_HOST_DISPLAY_CLIENT_H_ +#endif // ELECTRON_SHELL_BROWSER_OSR_OSR_HOST_DISPLAY_CLIENT_H_ diff --git a/shell/browser/osr/osr_render_widget_host_view.h b/shell/browser/osr/osr_render_widget_host_view.h index 98eaa68ff142..485a18180cfe 100644 --- a/shell/browser/osr/osr_render_widget_host_view.h +++ b/shell/browser/osr/osr_render_widget_host_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_OSR_OSR_RENDER_WIDGET_HOST_VIEW_H_ -#define SHELL_BROWSER_OSR_OSR_RENDER_WIDGET_HOST_VIEW_H_ +#ifndef ELECTRON_SHELL_BROWSER_OSR_OSR_RENDER_WIDGET_HOST_VIEW_H_ +#define ELECTRON_SHELL_BROWSER_OSR_OSR_RENDER_WIDGET_HOST_VIEW_H_ #include #include @@ -299,4 +299,4 @@ class OffScreenRenderWidgetHostView : public content::RenderWidgetHostViewBase, } // namespace electron -#endif // SHELL_BROWSER_OSR_OSR_RENDER_WIDGET_HOST_VIEW_H_ +#endif // ELECTRON_SHELL_BROWSER_OSR_OSR_RENDER_WIDGET_HOST_VIEW_H_ diff --git a/shell/browser/osr/osr_video_consumer.h b/shell/browser/osr/osr_video_consumer.h index fb970a3031e4..ac04a3a57a6f 100644 --- a/shell/browser/osr/osr_video_consumer.h +++ b/shell/browser/osr/osr_video_consumer.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_OSR_OSR_VIDEO_CONSUMER_H_ -#define SHELL_BROWSER_OSR_OSR_VIDEO_CONSUMER_H_ +#ifndef ELECTRON_SHELL_BROWSER_OSR_OSR_VIDEO_CONSUMER_H_ +#define ELECTRON_SHELL_BROWSER_OSR_OSR_VIDEO_CONSUMER_H_ #include #include @@ -57,4 +57,4 @@ class OffScreenVideoConsumer : public viz::mojom::FrameSinkVideoConsumer { } // namespace electron -#endif // SHELL_BROWSER_OSR_OSR_VIDEO_CONSUMER_H_ +#endif // ELECTRON_SHELL_BROWSER_OSR_OSR_VIDEO_CONSUMER_H_ diff --git a/shell/browser/osr/osr_view_proxy.h b/shell/browser/osr/osr_view_proxy.h index f6e4bea40c1d..6704cfd4fc59 100644 --- a/shell/browser/osr/osr_view_proxy.h +++ b/shell/browser/osr/osr_view_proxy.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_OSR_OSR_VIEW_PROXY_H_ -#define SHELL_BROWSER_OSR_OSR_VIEW_PROXY_H_ +#ifndef ELECTRON_SHELL_BROWSER_OSR_OSR_VIEW_PROXY_H_ +#define ELECTRON_SHELL_BROWSER_OSR_OSR_VIEW_PROXY_H_ #include @@ -51,4 +51,4 @@ class OffscreenViewProxy { } // namespace electron -#endif // SHELL_BROWSER_OSR_OSR_VIEW_PROXY_H_ +#endif // ELECTRON_SHELL_BROWSER_OSR_OSR_VIEW_PROXY_H_ diff --git a/shell/browser/osr/osr_web_contents_view.h b/shell/browser/osr/osr_web_contents_view.h index d530ca0627cf..0e02728f48c6 100644 --- a/shell/browser/osr/osr_web_contents_view.h +++ b/shell/browser/osr/osr_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_OSR_OSR_WEB_CONTENTS_VIEW_H_ -#define SHELL_BROWSER_OSR_OSR_WEB_CONTENTS_VIEW_H_ +#ifndef ELECTRON_SHELL_BROWSER_OSR_OSR_WEB_CONTENTS_VIEW_H_ +#define ELECTRON_SHELL_BROWSER_OSR_OSR_WEB_CONTENTS_VIEW_H_ #include "shell/browser/native_window.h" #include "shell/browser/native_window_observer.h" @@ -105,4 +105,4 @@ class OffScreenWebContentsView : public content::WebContentsView, } // namespace electron -#endif // SHELL_BROWSER_OSR_OSR_WEB_CONTENTS_VIEW_H_ +#endif // ELECTRON_SHELL_BROWSER_OSR_OSR_WEB_CONTENTS_VIEW_H_ diff --git a/shell/browser/plugins/plugin_utils.h b/shell/browser/plugins/plugin_utils.h index 1bd0c5bd8d28..0aaec62c3d2e 100644 --- a/shell/browser/plugins/plugin_utils.h +++ b/shell/browser/plugins/plugin_utils.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_PLUGINS_PLUGIN_UTILS_H_ -#define SHELL_BROWSER_PLUGINS_PLUGIN_UTILS_H_ +#ifndef ELECTRON_SHELL_BROWSER_PLUGINS_PLUGIN_UTILS_H_ +#define ELECTRON_SHELL_BROWSER_PLUGINS_PLUGIN_UTILS_H_ #include @@ -31,4 +31,4 @@ class PluginUtils { content::BrowserContext* browser_context); }; -#endif // SHELL_BROWSER_PLUGINS_PLUGIN_UTILS_H_ +#endif // ELECTRON_SHELL_BROWSER_PLUGINS_PLUGIN_UTILS_H_ diff --git a/shell/browser/pref_store_delegate.h b/shell/browser/pref_store_delegate.h index 13b875558ca2..b3997f3e332e 100644 --- a/shell/browser/pref_store_delegate.h +++ b/shell/browser/pref_store_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_PREF_STORE_DELEGATE_H_ -#define SHELL_BROWSER_PREF_STORE_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_PREF_STORE_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_PREF_STORE_DELEGATE_H_ #include @@ -55,4 +55,4 @@ class PrefStoreDelegate : public PrefValueStore::Delegate { } // namespace electron -#endif // SHELL_BROWSER_PREF_STORE_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_PREF_STORE_DELEGATE_H_ diff --git a/shell/browser/printing/print_preview_message_handler.h b/shell/browser/printing/print_preview_message_handler.h index 0e5449f137a3..ca84e8c92a64 100644 --- a/shell/browser/printing/print_preview_message_handler.h +++ b/shell/browser/printing/print_preview_message_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_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ -#define SHELL_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ +#ifndef ELECTRON_SHELL_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ +#define ELECTRON_SHELL_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ #include @@ -103,4 +103,4 @@ class PrintPreviewMessageHandler } // namespace electron -#endif // SHELL_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ +#endif // ELECTRON_SHELL_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ diff --git a/shell/browser/printing/print_view_manager_electron.h b/shell/browser/printing/print_view_manager_electron.h index 5364450a9d48..2127219f953c 100644 --- a/shell/browser/printing/print_view_manager_electron.h +++ b/shell/browser/printing/print_view_manager_electron.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_PRINTING_PRINT_VIEW_MANAGER_ELECTRON_H_ -#define SHELL_BROWSER_PRINTING_PRINT_VIEW_MANAGER_ELECTRON_H_ +#ifndef ELECTRON_SHELL_BROWSER_PRINTING_PRINT_VIEW_MANAGER_ELECTRON_H_ +#define ELECTRON_SHELL_BROWSER_PRINTING_PRINT_VIEW_MANAGER_ELECTRON_H_ #include "build/build_config.h" #include "chrome/browser/printing/print_view_manager_base.h" @@ -44,4 +44,4 @@ class PrintViewManagerElectron } // namespace electron -#endif // SHELL_BROWSER_PRINTING_PRINT_VIEW_MANAGER_ELECTRON_H_ +#endif // ELECTRON_SHELL_BROWSER_PRINTING_PRINT_VIEW_MANAGER_ELECTRON_H_ diff --git a/shell/browser/protocol_registry.h b/shell/browser/protocol_registry.h index f5a07863ec8f..035197e78f93 100644 --- a/shell/browser/protocol_registry.h +++ b/shell/browser/protocol_registry.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_PROTOCOL_REGISTRY_H_ -#define SHELL_BROWSER_PROTOCOL_REGISTRY_H_ +#ifndef ELECTRON_SHELL_BROWSER_PROTOCOL_REGISTRY_H_ +#define ELECTRON_SHELL_BROWSER_PROTOCOL_REGISTRY_H_ #include @@ -55,4 +55,4 @@ class ProtocolRegistry { } // namespace electron -#endif // SHELL_BROWSER_PROTOCOL_REGISTRY_H_ +#endif // ELECTRON_SHELL_BROWSER_PROTOCOL_REGISTRY_H_ diff --git a/shell/browser/relauncher.h b/shell/browser/relauncher.h index 16f14c92d2a9..d3208843cc18 100644 --- a/shell/browser/relauncher.h +++ b/shell/browser/relauncher.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_RELAUNCHER_H_ -#define SHELL_BROWSER_RELAUNCHER_H_ +#ifndef ELECTRON_SHELL_BROWSER_RELAUNCHER_H_ +#define ELECTRON_SHELL_BROWSER_RELAUNCHER_H_ // relauncher implements main browser application relaunches across platforms. // When a browser wants to relaunch itself, it can't simply fork off a new @@ -116,4 +116,4 @@ int LaunchProgram(const StringVector& relauncher_args, } // namespace relauncher -#endif // SHELL_BROWSER_RELAUNCHER_H_ +#endif // ELECTRON_SHELL_BROWSER_RELAUNCHER_H_ diff --git a/shell/browser/serial/electron_serial_delegate.h b/shell/browser/serial/electron_serial_delegate.h index 6993af278899..ef9c4af749ff 100644 --- a/shell/browser/serial/electron_serial_delegate.h +++ b/shell/browser/serial/electron_serial_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_SERIAL_ELECTRON_SERIAL_DELEGATE_H_ -#define SHELL_BROWSER_SERIAL_ELECTRON_SERIAL_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_SERIAL_ELECTRON_SERIAL_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_SERIAL_ELECTRON_SERIAL_DELEGATE_H_ #include #include @@ -59,4 +59,4 @@ class ElectronSerialDelegate : public content::SerialDelegate { } // namespace electron -#endif // SHELL_BROWSER_SERIAL_ELECTRON_SERIAL_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_SERIAL_ELECTRON_SERIAL_DELEGATE_H_ diff --git a/shell/browser/serial/serial_chooser_context.h b/shell/browser/serial/serial_chooser_context.h index adc527c6e321..313ec7065c0d 100644 --- a/shell/browser/serial/serial_chooser_context.h +++ b/shell/browser/serial/serial_chooser_context.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_SERIAL_SERIAL_CHOOSER_CONTEXT_H_ -#define SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_H_ +#ifndef ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_H_ +#define ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_H_ #include #include @@ -97,4 +97,4 @@ class SerialChooserContext : public KeyedService, } // namespace electron -#endif // SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_H_ +#endif // ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_H_ diff --git a/shell/browser/serial/serial_chooser_context_factory.h b/shell/browser/serial/serial_chooser_context_factory.h index 8e1d8b30c41d..c1b6afec1f65 100644 --- a/shell/browser/serial/serial_chooser_context_factory.h +++ b/shell/browser/serial/serial_chooser_context_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_SERIAL_SERIAL_CHOOSER_CONTEXT_FACTORY_H_ -#define SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_FACTORY_H_ +#ifndef ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_FACTORY_H_ +#define ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_FACTORY_H_ #include "base/memory/singleton.h" #include "components/keyed_service/content/browser_context_keyed_service_factory.h" @@ -39,4 +39,4 @@ class SerialChooserContextFactory : public BrowserContextKeyedServiceFactory { } // namespace electron -#endif // SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_FACTORY_H_ +#endif // ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_FACTORY_H_ diff --git a/shell/browser/serial/serial_chooser_controller.h b/shell/browser/serial/serial_chooser_controller.h index f3e3cd7460bd..368cf18652a9 100644 --- a/shell/browser/serial/serial_chooser_controller.h +++ b/shell/browser/serial/serial_chooser_controller.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_SERIAL_SERIAL_CHOOSER_CONTROLLER_H_ -#define SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTROLLER_H_ +#ifndef ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTROLLER_H_ +#define ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTROLLER_H_ #include #include @@ -72,4 +72,4 @@ class SerialChooserController final : public SerialChooserContext::PortObserver, } // namespace electron -#endif // SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTROLLER_H_ +#endif // ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTROLLER_H_ diff --git a/shell/browser/session_preferences.h b/shell/browser/session_preferences.h index e02d92ee47e7..8f9504abf8fa 100644 --- a/shell/browser/session_preferences.h +++ b/shell/browser/session_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_SESSION_PREFERENCES_H_ -#define SHELL_BROWSER_SESSION_PREFERENCES_H_ +#ifndef ELECTRON_SHELL_BROWSER_SESSION_PREFERENCES_H_ +#define ELECTRON_SHELL_BROWSER_SESSION_PREFERENCES_H_ #include @@ -40,4 +40,4 @@ class SessionPreferences : public base::SupportsUserData::Data { } // namespace electron -#endif // SHELL_BROWSER_SESSION_PREFERENCES_H_ +#endif // ELECTRON_SHELL_BROWSER_SESSION_PREFERENCES_H_ diff --git a/shell/browser/special_storage_policy.h b/shell/browser/special_storage_policy.h index 2dd9ff30cbb1..aa0ac9cca583 100644 --- a/shell/browser/special_storage_policy.h +++ b/shell/browser/special_storage_policy.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_SPECIAL_STORAGE_POLICY_H_ -#define SHELL_BROWSER_SPECIAL_STORAGE_POLICY_H_ +#ifndef ELECTRON_SHELL_BROWSER_SPECIAL_STORAGE_POLICY_H_ +#define ELECTRON_SHELL_BROWSER_SPECIAL_STORAGE_POLICY_H_ #include "storage/browser/quota/special_storage_policy.h" @@ -28,4 +28,4 @@ class SpecialStoragePolicy : public storage::SpecialStoragePolicy { } // namespace electron -#endif // SHELL_BROWSER_SPECIAL_STORAGE_POLICY_H_ +#endif // ELECTRON_SHELL_BROWSER_SPECIAL_STORAGE_POLICY_H_ diff --git a/shell/browser/ui/accelerator_util.h b/shell/browser/ui/accelerator_util.h index 8be1214adf3a..c573aeaab226 100644 --- a/shell/browser/ui/accelerator_util.h +++ b/shell/browser/ui/accelerator_util.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_ACCELERATOR_UTIL_H_ -#define SHELL_BROWSER_UI_ACCELERATOR_UTIL_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_ACCELERATOR_UTIL_H_ +#define ELECTRON_SHELL_BROWSER_UI_ACCELERATOR_UTIL_H_ #include #include @@ -33,4 +33,4 @@ bool TriggerAcceleratorTableCommand(AcceleratorTable* table, } // namespace accelerator_util -#endif // SHELL_BROWSER_UI_ACCELERATOR_UTIL_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_ACCELERATOR_UTIL_H_ diff --git a/shell/browser/ui/autofill_popup.h b/shell/browser/ui/autofill_popup.h index 1a8ad450370a..56a7b0d28c75 100644 --- a/shell/browser/ui/autofill_popup.h +++ b/shell/browser/ui/autofill_popup.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_AUTOFILL_POPUP_H_ -#define SHELL_BROWSER_UI_AUTOFILL_POPUP_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_AUTOFILL_POPUP_H_ +#define ELECTRON_SHELL_BROWSER_UI_AUTOFILL_POPUP_H_ #include @@ -90,4 +90,4 @@ class AutofillPopup : public views::ViewObserver { } // namespace electron -#endif // SHELL_BROWSER_UI_AUTOFILL_POPUP_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_AUTOFILL_POPUP_H_ diff --git a/shell/browser/ui/certificate_trust.h b/shell/browser/ui/certificate_trust.h index 02bd8987beeb..fd266d46eca8 100644 --- a/shell/browser/ui/certificate_trust.h +++ b/shell/browser/ui/certificate_trust.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_UI_CERTIFICATE_TRUST_H_ -#define SHELL_BROWSER_UI_CERTIFICATE_TRUST_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_CERTIFICATE_TRUST_H_ +#define ELECTRON_SHELL_BROWSER_UI_CERTIFICATE_TRUST_H_ #include @@ -25,4 +25,4 @@ v8::Local ShowCertificateTrust( } // namespace certificate_trust -#endif // SHELL_BROWSER_UI_CERTIFICATE_TRUST_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_CERTIFICATE_TRUST_H_ diff --git a/shell/browser/ui/cocoa/NSColor+Hex.h b/shell/browser/ui/cocoa/NSColor+Hex.h index cb36d00ef26f..b1eba70b2f6e 100644 --- a/shell/browser/ui/cocoa/NSColor+Hex.h +++ b/shell/browser/ui/cocoa/NSColor+Hex.h @@ -4,8 +4,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_COCOA_NSCOLOR_HEX_H_ -#define SHELL_BROWSER_UI_COCOA_NSCOLOR_HEX_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_NSCOLOR_HEX_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_NSCOLOR_HEX_H_ #import @@ -15,4 +15,4 @@ + (NSColor*)colorWithHexColorString:(NSString*)hex; @end -#endif // SHELL_BROWSER_UI_COCOA_NSCOLOR_HEX_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_NSCOLOR_HEX_H_ diff --git a/shell/browser/ui/cocoa/NSString+ANSI.h b/shell/browser/ui/cocoa/NSString+ANSI.h index 4991b5cb184e..b92791a7215e 100644 --- a/shell/browser/ui/cocoa/NSString+ANSI.h +++ b/shell/browser/ui/cocoa/NSString+ANSI.h @@ -4,8 +4,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_ -#define SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_ #import @@ -14,4 +14,4 @@ - (NSMutableAttributedString*)attributedStringParsingANSICodes; @end -#endif // SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_ diff --git a/shell/browser/ui/cocoa/delayed_native_view_host.h b/shell/browser/ui/cocoa/delayed_native_view_host.h index 26f8799f55c7..e7020dba6071 100644 --- a/shell/browser/ui/cocoa/delayed_native_view_host.h +++ b/shell/browser/ui/cocoa/delayed_native_view_host.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_UI_COCOA_DELAYED_NATIVE_VIEW_HOST_H_ -#define SHELL_BROWSER_UI_COCOA_DELAYED_NATIVE_VIEW_HOST_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_DELAYED_NATIVE_VIEW_HOST_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_DELAYED_NATIVE_VIEW_HOST_H_ #include "ui/views/controls/native/native_view_host.h" @@ -30,4 +30,4 @@ class DelayedNativeViewHost : public views::NativeViewHost { } // namespace electron -#endif // SHELL_BROWSER_UI_COCOA_DELAYED_NATIVE_VIEW_HOST_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_DELAYED_NATIVE_VIEW_HOST_H_ diff --git a/shell/browser/ui/cocoa/electron_bundle_mover.h b/shell/browser/ui/cocoa/electron_bundle_mover.h index e7177f8c7e4d..c1c5306dfc80 100644 --- a/shell/browser/ui/cocoa/electron_bundle_mover.h +++ b/shell/browser/ui/cocoa/electron_bundle_mover.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_UI_COCOA_ELECTRON_BUNDLE_MOVER_H_ -#define SHELL_BROWSER_UI_COCOA_ELECTRON_BUNDLE_MOVER_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_BUNDLE_MOVER_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_BUNDLE_MOVER_H_ #include @@ -43,4 +43,4 @@ class ElectronBundleMover { } // namespace electron -#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_BUNDLE_MOVER_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_BUNDLE_MOVER_H_ diff --git a/shell/browser/ui/cocoa/electron_inspectable_web_contents_view.h b/shell/browser/ui/cocoa/electron_inspectable_web_contents_view.h index 2bedbf22f5f8..696bf5e89d66 100644 --- a/shell/browser/ui/cocoa/electron_inspectable_web_contents_view.h +++ b/shell/browser/ui/cocoa/electron_inspectable_web_contents_view.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_UI_COCOA_ELECTRON_INSPECTABLE_WEB_CONTENTS_VIEW_H_ -#define SHELL_BROWSER_UI_COCOA_ELECTRON_INSPECTABLE_WEB_CONTENTS_VIEW_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_INSPECTABLE_WEB_CONTENTS_VIEW_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_INSPECTABLE_WEB_CONTENTS_VIEW_H_ #import @@ -52,4 +52,4 @@ using electron::InspectableWebContentsViewMac; @end -#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_INSPECTABLE_WEB_CONTENTS_VIEW_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_INSPECTABLE_WEB_CONTENTS_VIEW_H_ diff --git a/shell/browser/ui/cocoa/electron_menu_controller.h b/shell/browser/ui/cocoa/electron_menu_controller.h index 8a856be08eeb..29ba2a503b09 100644 --- a/shell/browser/ui/cocoa/electron_menu_controller.h +++ b/shell/browser/ui/cocoa/electron_menu_controller.h @@ -3,8 +3,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_COCOA_ELECTRON_MENU_CONTROLLER_H_ -#define SHELL_BROWSER_UI_COCOA_ELECTRON_MENU_CONTROLLER_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_MENU_CONTROLLER_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_MENU_CONTROLLER_H_ #import @@ -66,4 +66,4 @@ class ElectronMenuModel; @end -#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_MENU_CONTROLLER_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_MENU_CONTROLLER_H_ diff --git a/shell/browser/ui/cocoa/electron_native_widget_mac.h b/shell/browser/ui/cocoa/electron_native_widget_mac.h index 58a2b8122485..7fdfd0433a01 100644 --- a/shell/browser/ui/cocoa/electron_native_widget_mac.h +++ b/shell/browser/ui/cocoa/electron_native_widget_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_UI_COCOA_ELECTRON_NATIVE_WIDGET_MAC_H_ -#define SHELL_BROWSER_UI_COCOA_ELECTRON_NATIVE_WIDGET_MAC_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NATIVE_WIDGET_MAC_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NATIVE_WIDGET_MAC_H_ #include "ui/views/widget/native_widget_mac.h" @@ -34,4 +34,4 @@ class ElectronNativeWidgetMac : public views::NativeWidgetMac { } // namespace electron -#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_NATIVE_WIDGET_MAC_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NATIVE_WIDGET_MAC_H_ diff --git a/shell/browser/ui/cocoa/electron_ns_window.h b/shell/browser/ui/cocoa/electron_ns_window.h index c5adf86469e9..50ad1ca8a96d 100644 --- a/shell/browser/ui/cocoa/electron_ns_window.h +++ b/shell/browser/ui/cocoa/electron_ns_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_UI_COCOA_ELECTRON_NS_WINDOW_H_ -#define SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_H_ #include "components/remote_cocoa/app_shim/native_widget_mac_nswindow.h" #include "shell/browser/ui/cocoa/event_dispatching_window.h" @@ -46,4 +46,4 @@ class ScopedDisableResize { - (NSImage*)_cornerMask; @end -#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_H_ diff --git a/shell/browser/ui/cocoa/electron_ns_window_delegate.h b/shell/browser/ui/cocoa/electron_ns_window_delegate.h index dca6e9a08fbc..fad28319fa06 100644 --- a/shell/browser/ui/cocoa/electron_ns_window_delegate.h +++ b/shell/browser/ui/cocoa/electron_ns_window_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_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_ -#define SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_ #include @@ -30,4 +30,4 @@ class NativeWindowMac; - (id)initWithShell:(electron::NativeWindowMac*)shell; @end -#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_ diff --git a/shell/browser/ui/cocoa/electron_preview_item.h b/shell/browser/ui/cocoa/electron_preview_item.h index f8172af1834f..d8a8069f5d4d 100644 --- a/shell/browser/ui/cocoa/electron_preview_item.h +++ b/shell/browser/ui/cocoa/electron_preview_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_UI_COCOA_ELECTRON_PREVIEW_ITEM_H_ -#define SHELL_BROWSER_UI_COCOA_ELECTRON_PREVIEW_ITEM_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_PREVIEW_ITEM_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_PREVIEW_ITEM_H_ #import #import @@ -14,4 +14,4 @@ - (id)initWithURL:(NSURL*)url title:(NSString*)title; @end -#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_PREVIEW_ITEM_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_PREVIEW_ITEM_H_ diff --git a/shell/browser/ui/cocoa/electron_touch_bar.h b/shell/browser/ui/cocoa/electron_touch_bar.h index 137878d3a6f6..9b299d27e993 100644 --- a/shell/browser/ui/cocoa/electron_touch_bar.h +++ b/shell/browser/ui/cocoa/electron_touch_bar.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_UI_COCOA_ELECTRON_TOUCH_BAR_H_ -#define SHELL_BROWSER_UI_COCOA_ELECTRON_TOUCH_BAR_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_TOUCH_BAR_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_TOUCH_BAR_H_ #import @@ -96,4 +96,4 @@ @end -#endif // SHELL_BROWSER_UI_COCOA_ELECTRON_TOUCH_BAR_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ELECTRON_TOUCH_BAR_H_ diff --git a/shell/browser/ui/cocoa/event_dispatching_window.h b/shell/browser/ui/cocoa/event_dispatching_window.h index 58b08adfcd85..9dcf3e6cc393 100644 --- a/shell/browser/ui/cocoa/event_dispatching_window.h +++ b/shell/browser/ui/cocoa/event_dispatching_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_UI_COCOA_EVENT_DISPATCHING_WINDOW_H_ -#define SHELL_BROWSER_UI_COCOA_EVENT_DISPATCHING_WINDOW_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_EVENT_DISPATCHING_WINDOW_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_EVENT_DISPATCHING_WINDOW_H_ #import "ui/base/cocoa/underlay_opengl_hosting_window.h" @@ -16,4 +16,4 @@ @end -#endif // SHELL_BROWSER_UI_COCOA_EVENT_DISPATCHING_WINDOW_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_EVENT_DISPATCHING_WINDOW_H_ diff --git a/shell/browser/ui/cocoa/root_view_mac.h b/shell/browser/ui/cocoa/root_view_mac.h index 3be7731a54c8..3bfd1a10b190 100644 --- a/shell/browser/ui/cocoa/root_view_mac.h +++ b/shell/browser/ui/cocoa/root_view_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_UI_COCOA_ROOT_VIEW_MAC_H_ -#define SHELL_BROWSER_UI_COCOA_ROOT_VIEW_MAC_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_ROOT_VIEW_MAC_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_ROOT_VIEW_MAC_H_ #include "ui/views/view.h" @@ -32,4 +32,4 @@ class RootViewMac : public views::View { } // namespace electron -#endif // SHELL_BROWSER_UI_COCOA_ROOT_VIEW_MAC_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_ROOT_VIEW_MAC_H_ diff --git a/shell/browser/ui/cocoa/views_delegate_mac.h b/shell/browser/ui/cocoa/views_delegate_mac.h index e758854aaaa6..440c5f93e3f2 100644 --- a/shell/browser/ui/cocoa/views_delegate_mac.h +++ b/shell/browser/ui/cocoa/views_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_BROWSER_UI_COCOA_VIEWS_DELEGATE_MAC_H_ -#define SHELL_BROWSER_UI_COCOA_VIEWS_DELEGATE_MAC_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_VIEWS_DELEGATE_MAC_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_VIEWS_DELEGATE_MAC_H_ #include "ui/views/views_delegate.h" @@ -27,4 +27,4 @@ class ViewsDelegateMac : public views::ViewsDelegate { } // namespace electron -#endif // SHELL_BROWSER_UI_COCOA_VIEWS_DELEGATE_MAC_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_VIEWS_DELEGATE_MAC_H_ diff --git a/shell/browser/ui/cocoa/window_buttons_proxy.h b/shell/browser/ui/cocoa/window_buttons_proxy.h index 521c5cf110e8..53aa4ef3f0d0 100644 --- a/shell/browser/ui/cocoa/window_buttons_proxy.h +++ b/shell/browser/ui/cocoa/window_buttons_proxy.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_UI_COCOA_WINDOW_BUTTONS_PROXY_H_ -#define SHELL_BROWSER_UI_COCOA_WINDOW_BUTTONS_PROXY_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_WINDOW_BUTTONS_PROXY_H_ +#define ELECTRON_SHELL_BROWSER_UI_COCOA_WINDOW_BUTTONS_PROXY_H_ #import @@ -56,4 +56,4 @@ - (void)updateTrackingAreas; @end -#endif // SHELL_BROWSER_UI_COCOA_WINDOW_BUTTONS_PROXY_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_WINDOW_BUTTONS_PROXY_H_ diff --git a/shell/browser/ui/devtools_manager_delegate.h b/shell/browser/ui/devtools_manager_delegate.h index 6ae5b4ed26e9..ea9d848cd3b6 100644 --- a/shell/browser/ui/devtools_manager_delegate.h +++ b/shell/browser/ui/devtools_manager_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-CHROMIUM file. -#ifndef SHELL_BROWSER_UI_DEVTOOLS_MANAGER_DELEGATE_H_ -#define SHELL_BROWSER_UI_DEVTOOLS_MANAGER_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_MANAGER_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_MANAGER_DELEGATE_H_ #include @@ -36,4 +36,4 @@ class DevToolsManagerDelegate : public content::DevToolsManagerDelegate { } // namespace electron -#endif // SHELL_BROWSER_UI_DEVTOOLS_MANAGER_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_MANAGER_DELEGATE_H_ diff --git a/shell/browser/ui/devtools_ui.h b/shell/browser/ui/devtools_ui.h index fdbf758021c0..30194d7d2036 100644 --- a/shell/browser/ui/devtools_ui.h +++ b/shell/browser/ui/devtools_ui.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_UI_DEVTOOLS_UI_H_ -#define SHELL_BROWSER_UI_DEVTOOLS_UI_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_UI_H_ +#define ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_UI_H_ #include "base/compiler_specific.h" #include "content/public/browser/browser_context.h" @@ -23,4 +23,4 @@ class DevToolsUI : public content::WebUIController { } // namespace electron -#endif // SHELL_BROWSER_UI_DEVTOOLS_UI_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_DEVTOOLS_UI_H_ diff --git a/shell/browser/ui/drag_util.h b/shell/browser/ui/drag_util.h index 9fe50a4b59e3..6de7808822cf 100644 --- a/shell/browser/ui/drag_util.h +++ b/shell/browser/ui/drag_util.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_DRAG_UTIL_H_ -#define SHELL_BROWSER_UI_DRAG_UTIL_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_DRAG_UTIL_H_ +#define ELECTRON_SHELL_BROWSER_UI_DRAG_UTIL_H_ #include #include @@ -34,4 +34,4 @@ std::unique_ptr DraggableRegionsToSkRegion( } // namespace electron -#endif // SHELL_BROWSER_UI_DRAG_UTIL_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_DRAG_UTIL_H_ diff --git a/shell/browser/ui/electron_menu_model.h b/shell/browser/ui/electron_menu_model.h index 3ab6bce60d59..0fb9bcf57319 100644 --- a/shell/browser/ui/electron_menu_model.h +++ b/shell/browser/ui/electron_menu_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_UI_ELECTRON_MENU_MODEL_H_ -#define SHELL_BROWSER_UI_ELECTRON_MENU_MODEL_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_ELECTRON_MENU_MODEL_H_ +#define ELECTRON_SHELL_BROWSER_UI_ELECTRON_MENU_MODEL_H_ #include #include @@ -128,4 +128,4 @@ class ElectronMenuModel : public ui::SimpleMenuModel { } // namespace electron -#endif // SHELL_BROWSER_UI_ELECTRON_MENU_MODEL_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_ELECTRON_MENU_MODEL_H_ diff --git a/shell/browser/ui/file_dialog.h b/shell/browser/ui/file_dialog.h index 239fcbc12422..3bed2f581b05 100644 --- a/shell/browser/ui/file_dialog.h +++ b/shell/browser/ui/file_dialog.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_UI_FILE_DIALOG_H_ -#define SHELL_BROWSER_UI_FILE_DIALOG_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_FILE_DIALOG_H_ +#define ELECTRON_SHELL_BROWSER_UI_FILE_DIALOG_H_ #include #include @@ -74,4 +74,4 @@ void ShowSaveDialog(const DialogSettings& settings, } // namespace file_dialog -#endif // SHELL_BROWSER_UI_FILE_DIALOG_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_FILE_DIALOG_H_ diff --git a/shell/browser/ui/gtk/app_indicator_icon.h b/shell/browser/ui/gtk/app_indicator_icon.h index 05b0de12f135..3219beb5ee15 100644 --- a/shell/browser/ui/gtk/app_indicator_icon.h +++ b/shell/browser/ui/gtk/app_indicator_icon.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_ -#define SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_ +#define ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_ #include #include @@ -114,4 +114,4 @@ class AppIndicatorIcon : public views::StatusIconLinux { } // namespace electron -#endif // SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_H_ diff --git a/shell/browser/ui/gtk/app_indicator_icon_menu.h b/shell/browser/ui/gtk/app_indicator_icon_menu.h index f8b06c2fcf39..e4987eb69df3 100644 --- a/shell/browser/ui/gtk/app_indicator_icon_menu.h +++ b/shell/browser/ui/gtk/app_indicator_icon_menu.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_ -#define SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_ +#define ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_ #include "base/callback.h" #include "ui/base/glib/glib_signal.h" @@ -74,4 +74,4 @@ class AppIndicatorIconMenu { } // namespace electron -#endif // SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_GTK_APP_INDICATOR_ICON_MENU_H_ diff --git a/shell/browser/ui/gtk/gtk_status_icon.h b/shell/browser/ui/gtk/gtk_status_icon.h index fb7a1d20f99a..b8b67259c671 100644 --- a/shell/browser/ui/gtk/gtk_status_icon.h +++ b/shell/browser/ui/gtk/gtk_status_icon.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_ -#define SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_ +#define ELECTRON_SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_ #include @@ -62,4 +62,4 @@ class GtkStatusIcon : public views::StatusIconLinux { } // namespace electron -#endif // SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_GTK_GTK_STATUS_ICON_H_ diff --git a/shell/browser/ui/gtk/menu_util.h b/shell/browser/ui/gtk/menu_util.h index 4dedb7b25665..6d46c49b3f7d 100644 --- a/shell/browser/ui/gtk/menu_util.h +++ b/shell/browser/ui/gtk/menu_util.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_GTK_MENU_UTIL_H_ -#define SHELL_BROWSER_UI_GTK_MENU_UTIL_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_MENU_UTIL_H_ +#define ELECTRON_SHELL_BROWSER_UI_GTK_MENU_UTIL_H_ #include @@ -60,4 +60,4 @@ void SetMenuItemInfo(GtkWidget* widget, void* block_activation_ptr); } // namespace electron -#endif // SHELL_BROWSER_UI_GTK_MENU_UTIL_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_GTK_MENU_UTIL_H_ diff --git a/shell/browser/ui/gtk/status_icon.h b/shell/browser/ui/gtk/status_icon.h index 384938ef8e85..10e17f2781f0 100644 --- a/shell/browser/ui/gtk/status_icon.h +++ b/shell/browser/ui/gtk/status_icon.h @@ -6,8 +6,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_GTK_STATUS_ICON_H_ -#define SHELL_BROWSER_UI_GTK_STATUS_ICON_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_STATUS_ICON_H_ +#define ELECTRON_SHELL_BROWSER_UI_GTK_STATUS_ICON_H_ #include @@ -29,4 +29,4 @@ std::unique_ptr CreateLinuxStatusIcon( } // namespace electron -#endif // SHELL_BROWSER_UI_GTK_STATUS_ICON_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_GTK_STATUS_ICON_H_ diff --git a/shell/browser/ui/gtk_util.h b/shell/browser/ui/gtk_util.h index 31bfa049e98c..ef08333c92c3 100644 --- a/shell/browser/ui/gtk_util.h +++ b/shell/browser/ui/gtk_util.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_GTK_UTIL_H_ -#define SHELL_BROWSER_UI_GTK_UTIL_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_GTK_UTIL_H_ +#define ELECTRON_SHELL_BROWSER_UI_GTK_UTIL_H_ #include @@ -25,4 +25,4 @@ GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap& bitmap); } // namespace gtk_util -#endif // SHELL_BROWSER_UI_GTK_UTIL_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_GTK_UTIL_H_ diff --git a/shell/browser/ui/inspectable_web_contents.h b/shell/browser/ui/inspectable_web_contents.h index 34f146efdfb6..3650b5300dd7 100644 --- a/shell/browser/ui/inspectable_web_contents.h +++ b/shell/browser/ui/inspectable_web_contents.h @@ -3,8 +3,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_H_ -#define SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_H_ +#define ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_H_ #include #include @@ -246,4 +246,4 @@ class InspectableWebContents } // namespace electron -#endif // SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_H_ diff --git a/shell/browser/ui/inspectable_web_contents_delegate.h b/shell/browser/ui/inspectable_web_contents_delegate.h index fce434421248..62abef7485e4 100644 --- a/shell/browser/ui/inspectable_web_contents_delegate.h +++ b/shell/browser/ui/inspectable_web_contents_delegate.h @@ -3,8 +3,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_ -#define SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_ #include @@ -40,4 +40,4 @@ class InspectableWebContentsDelegate { } // namespace electron -#endif // SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_DELEGATE_H_ diff --git a/shell/browser/ui/inspectable_web_contents_view.h b/shell/browser/ui/inspectable_web_contents_view.h index c5d2be5732e1..aa0d194b7589 100644 --- a/shell/browser/ui/inspectable_web_contents_view.h +++ b/shell/browser/ui/inspectable_web_contents_view.h @@ -3,8 +3,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_H_ -#define SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_H_ +#define ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_H_ #include @@ -60,4 +60,4 @@ class InspectableWebContentsView { } // namespace electron -#endif // SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_H_ diff --git a/shell/browser/ui/inspectable_web_contents_view_delegate.h b/shell/browser/ui/inspectable_web_contents_view_delegate.h index ad51f098812a..e8155d25577c 100644 --- a/shell/browser/ui/inspectable_web_contents_view_delegate.h +++ b/shell/browser/ui/inspectable_web_contents_view_delegate.h @@ -3,8 +3,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_ -#define SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_ #include @@ -33,4 +33,4 @@ class InspectableWebContentsViewDelegate { } // namespace electron -#endif // SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_DELEGATE_H_ diff --git a/shell/browser/ui/inspectable_web_contents_view_mac.h b/shell/browser/ui/inspectable_web_contents_view_mac.h index 8a30bc532917..32b8563137a3 100644 --- a/shell/browser/ui/inspectable_web_contents_view_mac.h +++ b/shell/browser/ui/inspectable_web_contents_view_mac.h @@ -3,8 +3,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_ -#define SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_ +#define ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_ #include "shell/browser/ui/inspectable_web_contents_view.h" @@ -48,4 +48,4 @@ class InspectableWebContentsViewMac : public InspectableWebContentsView { } // namespace electron -#endif // SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_ diff --git a/shell/browser/ui/message_box.h b/shell/browser/ui/message_box.h index d680208ea9aa..a3a763bc1e5b 100644 --- a/shell/browser/ui/message_box.h +++ b/shell/browser/ui/message_box.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_UI_MESSAGE_BOX_H_ -#define SHELL_BROWSER_UI_MESSAGE_BOX_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_MESSAGE_BOX_H_ +#define ELECTRON_SHELL_BROWSER_UI_MESSAGE_BOX_H_ #include #include @@ -61,4 +61,4 @@ void ShowErrorBox(const std::u16string& title, const std::u16string& content); } // namespace electron -#endif // SHELL_BROWSER_UI_MESSAGE_BOX_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_MESSAGE_BOX_H_ diff --git a/shell/browser/ui/tray_icon.h b/shell/browser/ui/tray_icon.h index c9caca7e673b..ff7040aa6442 100644 --- a/shell/browser/ui/tray_icon.h +++ b/shell/browser/ui/tray_icon.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_UI_TRAY_ICON_H_ -#define SHELL_BROWSER_UI_TRAY_ICON_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_H_ +#define ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_H_ #include #include @@ -137,4 +137,4 @@ class TrayIcon { } // namespace electron -#endif // SHELL_BROWSER_UI_TRAY_ICON_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_H_ diff --git a/shell/browser/ui/tray_icon_cocoa.h b/shell/browser/ui/tray_icon_cocoa.h index 308f2b01adaf..4db1114cd98e 100644 --- a/shell/browser/ui/tray_icon_cocoa.h +++ b/shell/browser/ui/tray_icon_cocoa.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_UI_TRAY_ICON_COCOA_H_ -#define SHELL_BROWSER_UI_TRAY_ICON_COCOA_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_COCOA_H_ +#define ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_COCOA_H_ #import @@ -48,4 +48,4 @@ class TrayIconCocoa : public TrayIcon { } // namespace electron -#endif // SHELL_BROWSER_UI_TRAY_ICON_COCOA_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_COCOA_H_ diff --git a/shell/browser/ui/tray_icon_gtk.h b/shell/browser/ui/tray_icon_gtk.h index 5abef5c0d9a5..c01621aed24a 100644 --- a/shell/browser/ui/tray_icon_gtk.h +++ b/shell/browser/ui/tray_icon_gtk.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_UI_TRAY_ICON_GTK_H_ -#define SHELL_BROWSER_UI_TRAY_ICON_GTK_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_GTK_H_ +#define ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_GTK_H_ #include #include @@ -42,4 +42,4 @@ class TrayIconGtk : public TrayIcon, public views::StatusIconLinux::Delegate { } // namespace electron -#endif // SHELL_BROWSER_UI_TRAY_ICON_GTK_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_GTK_H_ diff --git a/shell/browser/ui/tray_icon_observer.h b/shell/browser/ui/tray_icon_observer.h index aa9e7399756b..10c86bcd02d8 100644 --- a/shell/browser/ui/tray_icon_observer.h +++ b/shell/browser/ui/tray_icon_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_UI_TRAY_ICON_OBSERVER_H_ -#define SHELL_BROWSER_UI_TRAY_ICON_OBSERVER_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_OBSERVER_H_ +#define ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_OBSERVER_H_ #include #include @@ -45,4 +45,4 @@ class TrayIconObserver : public base::CheckedObserver { } // namespace electron -#endif // SHELL_BROWSER_UI_TRAY_ICON_OBSERVER_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_TRAY_ICON_OBSERVER_H_ diff --git a/shell/browser/ui/views/autofill_popup_view.h b/shell/browser/ui/views/autofill_popup_view.h index 692a41b68250..1f1a1bedd0e4 100644 --- a/shell/browser/ui/views/autofill_popup_view.h +++ b/shell/browser/ui/views/autofill_popup_view.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_VIEWS_AUTOFILL_POPUP_VIEW_H_ -#define SHELL_BROWSER_UI_VIEWS_AUTOFILL_POPUP_VIEW_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_AUTOFILL_POPUP_VIEW_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_AUTOFILL_POPUP_VIEW_H_ #include @@ -154,4 +154,4 @@ class AutofillPopupView : public views::WidgetDelegateView, } // namespace electron -#endif // SHELL_BROWSER_UI_VIEWS_AUTOFILL_POPUP_VIEW_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_AUTOFILL_POPUP_VIEW_H_ diff --git a/shell/browser/ui/views/electron_views_delegate.h b/shell/browser/ui/views/electron_views_delegate.h index 9ad237610d1c..67b356173464 100644 --- a/shell/browser/ui/views/electron_views_delegate.h +++ b/shell/browser/ui/views/electron_views_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-CHROMIUM file. -#ifndef SHELL_BROWSER_UI_VIEWS_ELECTRON_VIEWS_DELEGATE_H_ -#define SHELL_BROWSER_UI_VIEWS_ELECTRON_VIEWS_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_ELECTRON_VIEWS_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_ELECTRON_VIEWS_DELEGATE_H_ #include #include @@ -79,4 +79,4 @@ class ViewsDelegate : public views::ViewsDelegate { } // namespace electron -#endif // SHELL_BROWSER_UI_VIEWS_ELECTRON_VIEWS_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_ELECTRON_VIEWS_DELEGATE_H_ diff --git a/shell/browser/ui/views/frameless_view.h b/shell/browser/ui/views/frameless_view.h index ddb55fc74d12..70c6d2c2d2c2 100644 --- a/shell/browser/ui/views/frameless_view.h +++ b/shell/browser/ui/views/frameless_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_UI_VIEWS_FRAMELESS_VIEW_H_ -#define SHELL_BROWSER_UI_VIEWS_FRAMELESS_VIEW_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_FRAMELESS_VIEW_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_FRAMELESS_VIEW_H_ #include "ui/views/window/non_client_view.h" @@ -57,4 +57,4 @@ class FramelessView : public views::NonClientFrameView { } // namespace electron -#endif // SHELL_BROWSER_UI_VIEWS_FRAMELESS_VIEW_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_FRAMELESS_VIEW_H_ diff --git a/shell/browser/ui/views/global_menu_bar_registrar_x11.h b/shell/browser/ui/views/global_menu_bar_registrar_x11.h index f58b755d486e..1519f4c03585 100644 --- a/shell/browser/ui/views/global_menu_bar_registrar_x11.h +++ b/shell/browser/ui/views/global_menu_bar_registrar_x11.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_REGISTRAR_X11_H_ -#define SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_REGISTRAR_X11_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_REGISTRAR_X11_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_REGISTRAR_X11_H_ #include @@ -60,4 +60,4 @@ class GlobalMenuBarRegistrarX11 { std::set live_windows_; }; -#endif // SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_REGISTRAR_X11_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_REGISTRAR_X11_H_ diff --git a/shell/browser/ui/views/global_menu_bar_x11.h b/shell/browser/ui/views/global_menu_bar_x11.h index dad6770e6629..2c5adcf31c48 100644 --- a/shell/browser/ui/views/global_menu_bar_x11.h +++ b/shell/browser/ui/views/global_menu_bar_x11.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_UI_VIEWS_GLOBAL_MENU_BAR_X11_H_ -#define SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_X11_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_X11_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_X11_H_ #include @@ -80,4 +80,4 @@ class GlobalMenuBarX11 { } // namespace electron -#endif // SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_X11_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_GLOBAL_MENU_BAR_X11_H_ diff --git a/shell/browser/ui/views/inspectable_web_contents_view_views.h b/shell/browser/ui/views/inspectable_web_contents_view_views.h index 04d1f9e9f80d..beac94c013c2 100644 --- a/shell/browser/ui/views/inspectable_web_contents_view_views.h +++ b/shell/browser/ui/views/inspectable_web_contents_view_views.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_UI_VIEWS_INSPECTABLE_WEB_CONTENTS_VIEW_VIEWS_H_ -#define SHELL_BROWSER_UI_VIEWS_INSPECTABLE_WEB_CONTENTS_VIEW_VIEWS_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_INSPECTABLE_WEB_CONTENTS_VIEW_VIEWS_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_INSPECTABLE_WEB_CONTENTS_VIEW_VIEWS_H_ #include @@ -67,4 +67,4 @@ class InspectableWebContentsViewViews : public InspectableWebContentsView, } // namespace electron -#endif // SHELL_BROWSER_UI_VIEWS_INSPECTABLE_WEB_CONTENTS_VIEW_VIEWS_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_INSPECTABLE_WEB_CONTENTS_VIEW_VIEWS_H_ diff --git a/shell/browser/ui/views/menu_bar.h b/shell/browser/ui/views/menu_bar.h index dc0f0e577f78..359609145c71 100644 --- a/shell/browser/ui/views/menu_bar.h +++ b/shell/browser/ui/views/menu_bar.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_UI_VIEWS_MENU_BAR_H_ -#define SHELL_BROWSER_UI_VIEWS_MENU_BAR_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_BAR_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_BAR_H_ #include "shell/browser/native_window_observer.h" #include "shell/browser/ui/electron_menu_model.h" @@ -92,4 +92,4 @@ class MenuBar : public views::AccessiblePaneView, } // namespace electron -#endif // SHELL_BROWSER_UI_VIEWS_MENU_BAR_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_BAR_H_ diff --git a/shell/browser/ui/views/menu_delegate.h b/shell/browser/ui/views/menu_delegate.h index 726fb887f8c0..92153f9773b4 100644 --- a/shell/browser/ui/views/menu_delegate.h +++ b/shell/browser/ui/views/menu_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_UI_VIEWS_MENU_DELEGATE_H_ -#define SHELL_BROWSER_UI_VIEWS_MENU_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_DELEGATE_H_ #include @@ -80,4 +80,4 @@ class MenuDelegate : public views::MenuDelegate { } // namespace electron -#endif // SHELL_BROWSER_UI_VIEWS_MENU_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_DELEGATE_H_ diff --git a/shell/browser/ui/views/menu_model_adapter.h b/shell/browser/ui/views/menu_model_adapter.h index 4c2cedb9eb00..95fc8dbb6efb 100644 --- a/shell/browser/ui/views/menu_model_adapter.h +++ b/shell/browser/ui/views/menu_model_adapter.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_UI_VIEWS_MENU_MODEL_ADAPTER_H_ -#define SHELL_BROWSER_UI_VIEWS_MENU_MODEL_ADAPTER_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_MODEL_ADAPTER_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_MODEL_ADAPTER_H_ #include "shell/browser/ui/electron_menu_model.h" #include "ui/views/controls/menu/menu_model_adapter.h" @@ -28,4 +28,4 @@ class MenuModelAdapter : public views::MenuModelAdapter { } // namespace electron -#endif // SHELL_BROWSER_UI_VIEWS_MENU_MODEL_ADAPTER_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_MENU_MODEL_ADAPTER_H_ diff --git a/shell/browser/ui/views/native_frame_view.h b/shell/browser/ui/views/native_frame_view.h index bf7efd100650..8098e43dfbf1 100644 --- a/shell/browser/ui/views/native_frame_view.h +++ b/shell/browser/ui/views/native_frame_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_UI_VIEWS_NATIVE_FRAME_VIEW_H_ -#define SHELL_BROWSER_UI_VIEWS_NATIVE_FRAME_VIEW_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_NATIVE_FRAME_VIEW_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_NATIVE_FRAME_VIEW_H_ #include "ui/views/window/native_frame_view.h" @@ -34,4 +34,4 @@ class NativeFrameView : public views::NativeFrameView { } // namespace electron -#endif // SHELL_BROWSER_UI_VIEWS_NATIVE_FRAME_VIEW_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_NATIVE_FRAME_VIEW_H_ diff --git a/shell/browser/ui/views/root_view.h b/shell/browser/ui/views/root_view.h index f45714d89d1b..d893a42320b9 100644 --- a/shell/browser/ui/views/root_view.h +++ b/shell/browser/ui/views/root_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_UI_VIEWS_ROOT_VIEW_H_ -#define SHELL_BROWSER_UI_VIEWS_ROOT_VIEW_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_ROOT_VIEW_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_ROOT_VIEW_H_ #include @@ -69,4 +69,4 @@ class RootView : public views::View { } // namespace electron -#endif // SHELL_BROWSER_UI_VIEWS_ROOT_VIEW_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_ROOT_VIEW_H_ diff --git a/shell/browser/ui/views/submenu_button.h b/shell/browser/ui/views/submenu_button.h index 485af2ea4eb8..6419cba02324 100644 --- a/shell/browser/ui/views/submenu_button.h +++ b/shell/browser/ui/views/submenu_button.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_UI_VIEWS_SUBMENU_BUTTON_H_ -#define SHELL_BROWSER_UI_VIEWS_SUBMENU_BUTTON_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_SUBMENU_BUTTON_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_SUBMENU_BUTTON_H_ #include @@ -58,4 +58,4 @@ class SubmenuButton : public views::MenuButton { } // namespace electron -#endif // SHELL_BROWSER_UI_VIEWS_SUBMENU_BUTTON_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_SUBMENU_BUTTON_H_ diff --git a/shell/browser/ui/views/win_caption_button.h b/shell/browser/ui/views/win_caption_button.h index f57918538ec9..aeab07c525a7 100644 --- a/shell/browser/ui/views/win_caption_button.h +++ b/shell/browser/ui/views/win_caption_button.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_H_ -#define SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_H_ #include "chrome/browser/ui/view_ids.h" #include "ui/base/metadata/metadata_header_macros.h" @@ -51,4 +51,4 @@ class WinCaptionButton : public views::Button { }; } // namespace electron -#endif // SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_H_ diff --git a/shell/browser/ui/views/win_caption_button_container.h b/shell/browser/ui/views/win_caption_button_container.h index ed36a106b3cf..823bfc9380f4 100644 --- a/shell/browser/ui/views/win_caption_button_container.h +++ b/shell/browser/ui/views/win_caption_button_container.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_CONTAINER_H_ -#define SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_CONTAINER_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_CONTAINER_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_CONTAINER_H_ #include "base/scoped_observation.h" #include "ui/base/metadata/metadata_header_macros.h" @@ -67,4 +67,4 @@ class WinCaptionButtonContainer : public views::View, }; } // namespace electron -#endif // SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_CONTAINER_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_CAPTION_BUTTON_CONTAINER_H_ diff --git a/shell/browser/ui/views/win_frame_view.h b/shell/browser/ui/views/win_frame_view.h index 7d16facaf5b1..81a2991dabbb 100644 --- a/shell/browser/ui/views/win_frame_view.h +++ b/shell/browser/ui/views/win_frame_view.h @@ -7,8 +7,8 @@ // Copyright (c) 2012 The Chromium Authors, // which is governed by a BSD-style license -#ifndef SHELL_BROWSER_UI_VIEWS_WIN_FRAME_VIEW_H_ -#define SHELL_BROWSER_UI_VIEWS_WIN_FRAME_VIEW_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_FRAME_VIEW_H_ +#define ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_FRAME_VIEW_H_ #include "shell/browser/native_window_views.h" #include "shell/browser/ui/views/frameless_view.h" @@ -85,4 +85,4 @@ class WinFrameView : public FramelessView { } // namespace electron -#endif // SHELL_BROWSER_UI_VIEWS_WIN_FRAME_VIEW_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_VIEWS_WIN_FRAME_VIEW_H_ diff --git a/shell/browser/ui/webui/accessibility_ui.h b/shell/browser/ui/webui/accessibility_ui.h index 34be1bb35a57..8d8dd02721ea 100644 --- a/shell/browser/ui/webui/accessibility_ui.h +++ b/shell/browser/ui/webui/accessibility_ui.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_UI_WEBUI_ACCESSIBILITY_UI_H_ -#define SHELL_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_ +#define ELECTRON_SHELL_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_ #include "chrome/browser/accessibility/accessibility_ui.h" #include "content/public/browser/web_ui_controller.h" @@ -35,4 +35,4 @@ class ElectronAccessibilityUIMessageHandler void RequestNativeUITree(const base::ListValue* args); }; -#endif // SHELL_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_WEBUI_ACCESSIBILITY_UI_H_ diff --git a/shell/browser/ui/win/dialog_thread.h b/shell/browser/ui/win/dialog_thread.h index 49e4c6d20dbf..80172d272b4a 100644 --- a/shell/browser/ui/win/dialog_thread.h +++ b/shell/browser/ui/win/dialog_thread.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_WIN_DIALOG_THREAD_H_ -#define SHELL_BROWSER_UI_WIN_DIALOG_THREAD_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_WIN_DIALOG_THREAD_H_ +#define ELECTRON_SHELL_BROWSER_UI_WIN_DIALOG_THREAD_H_ #include @@ -77,4 +77,4 @@ void Run(base::OnceCallback execute, } // namespace dialog_thread -#endif // SHELL_BROWSER_UI_WIN_DIALOG_THREAD_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_WIN_DIALOG_THREAD_H_ diff --git a/shell/browser/ui/win/electron_desktop_native_widget_aura.h b/shell/browser/ui/win/electron_desktop_native_widget_aura.h index ead3d665e53d..7da254cab37e 100644 --- a/shell/browser/ui/win/electron_desktop_native_widget_aura.h +++ b/shell/browser/ui/win/electron_desktop_native_widget_aura.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_UI_WIN_ELECTRON_DESKTOP_NATIVE_WIDGET_AURA_H_ -#define SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_NATIVE_WIDGET_AURA_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_NATIVE_WIDGET_AURA_H_ +#define ELECTRON_SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_NATIVE_WIDGET_AURA_H_ #include "shell/browser/native_window_views.h" #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" @@ -44,4 +44,4 @@ class ElectronDesktopNativeWidgetAura : public views::DesktopNativeWidgetAura { } // namespace electron -#endif // SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_NATIVE_WIDGET_AURA_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_NATIVE_WIDGET_AURA_H_ diff --git a/shell/browser/ui/win/electron_desktop_window_tree_host_win.h b/shell/browser/ui/win/electron_desktop_window_tree_host_win.h index 9d13ec569ee1..3fd831aae1ed 100644 --- a/shell/browser/ui/win/electron_desktop_window_tree_host_win.h +++ b/shell/browser/ui/win/electron_desktop_window_tree_host_win.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_WINDOW_TREE_HOST_WIN_H_ -#define SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_WINDOW_TREE_HOST_WIN_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_WINDOW_TREE_HOST_WIN_H_ +#define ELECTRON_SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_WINDOW_TREE_HOST_WIN_H_ #include @@ -43,4 +43,4 @@ class ElectronDesktopWindowTreeHostWin } // namespace electron -#endif // SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_WINDOW_TREE_HOST_WIN_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_WIN_ELECTRON_DESKTOP_WINDOW_TREE_HOST_WIN_H_ diff --git a/shell/browser/ui/win/jump_list.h b/shell/browser/ui/win/jump_list.h index 13cb037ae957..c175298e11b2 100644 --- a/shell/browser/ui/win/jump_list.h +++ b/shell/browser/ui/win/jump_list.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_UI_WIN_JUMP_LIST_H_ -#define SHELL_BROWSER_UI_WIN_JUMP_LIST_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_WIN_JUMP_LIST_H_ +#define ELECTRON_SHELL_BROWSER_UI_WIN_JUMP_LIST_H_ #include #include @@ -120,4 +120,4 @@ class JumpList { } // namespace electron -#endif // SHELL_BROWSER_UI_WIN_JUMP_LIST_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_WIN_JUMP_LIST_H_ diff --git a/shell/browser/ui/win/notify_icon.h b/shell/browser/ui/win/notify_icon.h index 7968cee00736..156861560189 100644 --- a/shell/browser/ui/win/notify_icon.h +++ b/shell/browser/ui/win/notify_icon.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_UI_WIN_NOTIFY_ICON_H_ -#define SHELL_BROWSER_UI_WIN_NOTIFY_ICON_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_WIN_NOTIFY_ICON_H_ +#define ELECTRON_SHELL_BROWSER_UI_WIN_NOTIFY_ICON_H_ #include // windows.h must be included first @@ -107,4 +107,4 @@ class NotifyIcon : public TrayIcon { } // namespace electron -#endif // SHELL_BROWSER_UI_WIN_NOTIFY_ICON_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_WIN_NOTIFY_ICON_H_ diff --git a/shell/browser/ui/win/notify_icon_host.h b/shell/browser/ui/win/notify_icon_host.h index 3f8c43b0a286..85a7537a3e29 100644 --- a/shell/browser/ui/win/notify_icon_host.h +++ b/shell/browser/ui/win/notify_icon_host.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_UI_WIN_NOTIFY_ICON_HOST_H_ -#define SHELL_BROWSER_UI_WIN_NOTIFY_ICON_HOST_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_WIN_NOTIFY_ICON_HOST_H_ +#define ELECTRON_SHELL_BROWSER_UI_WIN_NOTIFY_ICON_HOST_H_ #include @@ -68,4 +68,4 @@ class NotifyIconHost { } // namespace electron -#endif // SHELL_BROWSER_UI_WIN_NOTIFY_ICON_HOST_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_WIN_NOTIFY_ICON_HOST_H_ diff --git a/shell/browser/ui/win/taskbar_host.h b/shell/browser/ui/win/taskbar_host.h index 8c121488b1b9..2ca139c61357 100644 --- a/shell/browser/ui/win/taskbar_host.h +++ b/shell/browser/ui/win/taskbar_host.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_UI_WIN_TASKBAR_HOST_H_ -#define SHELL_BROWSER_UI_WIN_TASKBAR_HOST_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_WIN_TASKBAR_HOST_H_ +#define ELECTRON_SHELL_BROWSER_UI_WIN_TASKBAR_HOST_H_ #include #include @@ -84,4 +84,4 @@ class TaskbarHost { } // namespace electron -#endif // SHELL_BROWSER_UI_WIN_TASKBAR_HOST_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_WIN_TASKBAR_HOST_H_ diff --git a/shell/browser/ui/x/event_disabler.h b/shell/browser/ui/x/event_disabler.h index 16d778a1da17..7d8a23ac07e0 100644 --- a/shell/browser/ui/x/event_disabler.h +++ b/shell/browser/ui/x/event_disabler.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_UI_X_EVENT_DISABLER_H_ -#define SHELL_BROWSER_UI_X_EVENT_DISABLER_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_X_EVENT_DISABLER_H_ +#define ELECTRON_SHELL_BROWSER_UI_X_EVENT_DISABLER_H_ #include @@ -31,4 +31,4 @@ class EventDisabler : public ui::EventRewriter { } // namespace electron -#endif // SHELL_BROWSER_UI_X_EVENT_DISABLER_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_X_EVENT_DISABLER_H_ diff --git a/shell/browser/ui/x/window_state_watcher.h b/shell/browser/ui/x/window_state_watcher.h index 7ccd2b2ad565..525694b105b1 100644 --- a/shell/browser/ui/x/window_state_watcher.h +++ b/shell/browser/ui/x/window_state_watcher.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_UI_X_WINDOW_STATE_WATCHER_H_ -#define SHELL_BROWSER_UI_X_WINDOW_STATE_WATCHER_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_X_WINDOW_STATE_WATCHER_H_ +#define ELECTRON_SHELL_BROWSER_UI_X_WINDOW_STATE_WATCHER_H_ #include "ui/events/platform/x11/x11_event_source.h" #include "ui/gfx/x/event.h" @@ -39,4 +39,4 @@ class WindowStateWatcher : public x11::EventObserver { } // namespace electron -#endif // SHELL_BROWSER_UI_X_WINDOW_STATE_WATCHER_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_X_WINDOW_STATE_WATCHER_H_ diff --git a/shell/browser/ui/x/x_window_utils.h b/shell/browser/ui/x/x_window_utils.h index 07a36215a8ac..0d909f25d64b 100644 --- a/shell/browser/ui/x/x_window_utils.h +++ b/shell/browser/ui/x/x_window_utils.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_UI_X_X_WINDOW_UTILS_H_ -#define SHELL_BROWSER_UI_X_X_WINDOW_UTILS_H_ +#ifndef ELECTRON_SHELL_BROWSER_UI_X_X_WINDOW_UTILS_H_ +#define ELECTRON_SHELL_BROWSER_UI_X_X_WINDOW_UTILS_H_ #include @@ -32,4 +32,4 @@ bool IsWindowValid(x11::Window window); } // namespace electron -#endif // SHELL_BROWSER_UI_X_X_WINDOW_UTILS_H_ +#endif // ELECTRON_SHELL_BROWSER_UI_X_X_WINDOW_UTILS_H_ diff --git a/shell/browser/unresponsive_suppressor.h b/shell/browser/unresponsive_suppressor.h index ba3883a5882a..adb34363e237 100644 --- a/shell/browser/unresponsive_suppressor.h +++ b/shell/browser/unresponsive_suppressor.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_UNRESPONSIVE_SUPPRESSOR_H_ -#define SHELL_BROWSER_UNRESPONSIVE_SUPPRESSOR_H_ +#ifndef ELECTRON_SHELL_BROWSER_UNRESPONSIVE_SUPPRESSOR_H_ +#define ELECTRON_SHELL_BROWSER_UNRESPONSIVE_SUPPRESSOR_H_ namespace electron { @@ -21,4 +21,4 @@ class UnresponsiveSuppressor { } // namespace electron -#endif // SHELL_BROWSER_UNRESPONSIVE_SUPPRESSOR_H_ +#endif // ELECTRON_SHELL_BROWSER_UNRESPONSIVE_SUPPRESSOR_H_ diff --git a/shell/browser/web_contents_permission_helper.h b/shell/browser/web_contents_permission_helper.h index fe6285d9e623..b46ba60056d9 100644 --- a/shell/browser/web_contents_permission_helper.h +++ b/shell/browser/web_contents_permission_helper.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_WEB_CONTENTS_PERMISSION_HELPER_H_ -#define SHELL_BROWSER_WEB_CONTENTS_PERMISSION_HELPER_H_ +#ifndef ELECTRON_SHELL_BROWSER_WEB_CONTENTS_PERMISSION_HELPER_H_ +#define ELECTRON_SHELL_BROWSER_WEB_CONTENTS_PERMISSION_HELPER_H_ #include "base/values.h" #include "content/public/browser/media_stream_request.h" @@ -94,4 +94,4 @@ class WebContentsPermissionHelper } // namespace electron -#endif // SHELL_BROWSER_WEB_CONTENTS_PERMISSION_HELPER_H_ +#endif // ELECTRON_SHELL_BROWSER_WEB_CONTENTS_PERMISSION_HELPER_H_ diff --git a/shell/browser/web_contents_preferences.h b/shell/browser/web_contents_preferences.h index bdf7ca4de3ae..0f2e465ec7aa 100644 --- a/shell/browser/web_contents_preferences.h +++ b/shell/browser/web_contents_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_WEB_CONTENTS_PREFERENCES_H_ -#define SHELL_BROWSER_WEB_CONTENTS_PREFERENCES_H_ +#ifndef ELECTRON_SHELL_BROWSER_WEB_CONTENTS_PREFERENCES_H_ +#define ELECTRON_SHELL_BROWSER_WEB_CONTENTS_PREFERENCES_H_ #include #include @@ -150,4 +150,4 @@ class WebContentsPreferences } // namespace electron -#endif // SHELL_BROWSER_WEB_CONTENTS_PREFERENCES_H_ +#endif // ELECTRON_SHELL_BROWSER_WEB_CONTENTS_PREFERENCES_H_ diff --git a/shell/browser/web_contents_zoom_controller.h b/shell/browser/web_contents_zoom_controller.h index 78f5b1cbab4d..9e9feddaa173 100644 --- a/shell/browser/web_contents_zoom_controller.h +++ b/shell/browser/web_contents_zoom_controller.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_WEB_CONTENTS_ZOOM_CONTROLLER_H_ -#define SHELL_BROWSER_WEB_CONTENTS_ZOOM_CONTROLLER_H_ +#ifndef ELECTRON_SHELL_BROWSER_WEB_CONTENTS_ZOOM_CONTROLLER_H_ +#define ELECTRON_SHELL_BROWSER_WEB_CONTENTS_ZOOM_CONTROLLER_H_ #include "base/observer_list_types.h" #include "content/public/browser/host_zoom_map.h" @@ -121,4 +121,4 @@ class WebContentsZoomController } // namespace electron -#endif // SHELL_BROWSER_WEB_CONTENTS_ZOOM_CONTROLLER_H_ +#endif // ELECTRON_SHELL_BROWSER_WEB_CONTENTS_ZOOM_CONTROLLER_H_ diff --git a/shell/browser/web_view_guest_delegate.h b/shell/browser/web_view_guest_delegate.h index df0fcc1cc72f..319c4557a7d1 100644 --- a/shell/browser/web_view_guest_delegate.h +++ b/shell/browser/web_view_guest_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_WEB_VIEW_GUEST_DELEGATE_H_ -#define SHELL_BROWSER_WEB_VIEW_GUEST_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_WEB_VIEW_GUEST_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_WEB_VIEW_GUEST_DELEGATE_H_ #include "content/public/browser/browser_plugin_guest_delegate.h" #include "shell/browser/web_contents_zoom_controller.h" @@ -57,4 +57,4 @@ class WebViewGuestDelegate : public content::BrowserPluginGuestDelegate, } // namespace electron -#endif // SHELL_BROWSER_WEB_VIEW_GUEST_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_WEB_VIEW_GUEST_DELEGATE_H_ diff --git a/shell/browser/web_view_manager.h b/shell/browser/web_view_manager.h index 29b035788080..19d25211ffd2 100644 --- a/shell/browser/web_view_manager.h +++ b/shell/browser/web_view_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_WEB_VIEW_MANAGER_H_ -#define SHELL_BROWSER_WEB_VIEW_MANAGER_H_ +#ifndef ELECTRON_SHELL_BROWSER_WEB_VIEW_MANAGER_H_ +#define ELECTRON_SHELL_BROWSER_WEB_VIEW_MANAGER_H_ #include @@ -42,4 +42,4 @@ class WebViewManager : public content::BrowserPluginGuestManager { } // namespace electron -#endif // SHELL_BROWSER_WEB_VIEW_MANAGER_H_ +#endif // ELECTRON_SHELL_BROWSER_WEB_VIEW_MANAGER_H_ diff --git a/shell/browser/win/dark_mode.h b/shell/browser/win/dark_mode.h index 9e83d54ed7e7..c6d14f9bfa7e 100644 --- a/shell/browser/win/dark_mode.h +++ b/shell/browser/win/dark_mode.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_WIN_DARK_MODE_H_ -#define SHELL_BROWSER_WIN_DARK_MODE_H_ +#ifndef ELECTRON_SHELL_BROWSER_WIN_DARK_MODE_H_ +#define ELECTRON_SHELL_BROWSER_WIN_DARK_MODE_H_ #ifdef WIN32_LEAN_AND_MEAN #include @@ -25,4 +25,4 @@ void SetDarkModeForWindow(HWND hWnd, ui::NativeTheme::ThemeSource theme_source); } // namespace electron -#endif // SHELL_BROWSER_WIN_DARK_MODE_H_ +#endif // ELECTRON_SHELL_BROWSER_WIN_DARK_MODE_H_ diff --git a/shell/browser/win/scoped_hstring.h b/shell/browser/win/scoped_hstring.h index d1de62e9c993..d0edfe4ea679 100644 --- a/shell/browser/win/scoped_hstring.h +++ b/shell/browser/win/scoped_hstring.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_BROWSER_WIN_SCOPED_HSTRING_H_ -#define SHELL_BROWSER_WIN_SCOPED_HSTRING_H_ +#ifndef ELECTRON_SHELL_BROWSER_WIN_SCOPED_HSTRING_H_ +#define ELECTRON_SHELL_BROWSER_WIN_SCOPED_HSTRING_H_ #include #include @@ -42,4 +42,4 @@ class ScopedHString { } // namespace electron -#endif // SHELL_BROWSER_WIN_SCOPED_HSTRING_H_ +#endif // ELECTRON_SHELL_BROWSER_WIN_SCOPED_HSTRING_H_ diff --git a/shell/browser/window_list.h b/shell/browser/window_list.h index affb0140ae42..7d8dd942f416 100644 --- a/shell/browser/window_list.h +++ b/shell/browser/window_list.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_WINDOW_LIST_H_ -#define SHELL_BROWSER_WINDOW_LIST_H_ +#ifndef ELECTRON_SHELL_BROWSER_WINDOW_LIST_H_ +#define ELECTRON_SHELL_BROWSER_WINDOW_LIST_H_ #include @@ -62,4 +62,4 @@ class WindowList { } // namespace electron -#endif // SHELL_BROWSER_WINDOW_LIST_H_ +#endif // ELECTRON_SHELL_BROWSER_WINDOW_LIST_H_ diff --git a/shell/browser/window_list_observer.h b/shell/browser/window_list_observer.h index 7d0cfd9f9e1f..3719b165a4bd 100644 --- a/shell/browser/window_list_observer.h +++ b/shell/browser/window_list_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_WINDOW_LIST_OBSERVER_H_ -#define SHELL_BROWSER_WINDOW_LIST_OBSERVER_H_ +#ifndef ELECTRON_SHELL_BROWSER_WINDOW_LIST_OBSERVER_H_ +#define ELECTRON_SHELL_BROWSER_WINDOW_LIST_OBSERVER_H_ #include "base/observer_list_types.h" @@ -31,4 +31,4 @@ class WindowListObserver : public base::CheckedObserver { } // namespace electron -#endif // SHELL_BROWSER_WINDOW_LIST_OBSERVER_H_ +#endif // ELECTRON_SHELL_BROWSER_WINDOW_LIST_OBSERVER_H_ diff --git a/shell/browser/zoom_level_delegate.h b/shell/browser/zoom_level_delegate.h index 771f3f464cf2..56dcba7e68eb 100644 --- a/shell/browser/zoom_level_delegate.h +++ b/shell/browser/zoom_level_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_ZOOM_LEVEL_DELEGATE_H_ -#define SHELL_BROWSER_ZOOM_LEVEL_DELEGATE_H_ +#ifndef ELECTRON_SHELL_BROWSER_ZOOM_LEVEL_DELEGATE_H_ +#define ELECTRON_SHELL_BROWSER_ZOOM_LEVEL_DELEGATE_H_ #include @@ -61,4 +61,4 @@ class ZoomLevelDelegate : public content::ZoomLevelDelegate { } // namespace electron -#endif // SHELL_BROWSER_ZOOM_LEVEL_DELEGATE_H_ +#endif // ELECTRON_SHELL_BROWSER_ZOOM_LEVEL_DELEGATE_H_ diff --git a/shell/common/api/electron_api_clipboard.h b/shell/common/api/electron_api_clipboard.h index 22c9582d9df3..158e33bb3bab 100644 --- a/shell/common/api/electron_api_clipboard.h +++ b/shell/common/api/electron_api_clipboard.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_API_ELECTRON_API_CLIPBOARD_H_ -#define SHELL_COMMON_API_ELECTRON_API_CLIPBOARD_H_ +#ifndef ELECTRON_SHELL_COMMON_API_ELECTRON_API_CLIPBOARD_H_ +#define ELECTRON_SHELL_COMMON_API_ELECTRON_API_CLIPBOARD_H_ #include #include @@ -71,4 +71,4 @@ class Clipboard { } // namespace electron -#endif // SHELL_COMMON_API_ELECTRON_API_CLIPBOARD_H_ +#endif // ELECTRON_SHELL_COMMON_API_ELECTRON_API_CLIPBOARD_H_ diff --git a/shell/common/api/electron_api_key_weak_map.h b/shell/common/api/electron_api_key_weak_map.h index fcaede539426..f26fa29297ad 100644 --- a/shell/common/api/electron_api_key_weak_map.h +++ b/shell/common/api/electron_api_key_weak_map.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_H_ -#define SHELL_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_H_ +#ifndef ELECTRON_SHELL_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_H_ +#define ELECTRON_SHELL_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_H_ #include "gin/handle.h" #include "shell/common/gin_converters/std_converter.h" @@ -63,4 +63,4 @@ class KeyWeakMap : public gin_helper::Wrappable> { } // namespace electron -#endif // SHELL_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_H_ +#endif // ELECTRON_SHELL_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_H_ diff --git a/shell/common/api/electron_api_native_image.h b/shell/common/api/electron_api_native_image.h index ae8150b9d7c7..11bfd45ee763 100644 --- a/shell/common/api/electron_api_native_image.h +++ b/shell/common/api/electron_api_native_image.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_API_ELECTRON_API_NATIVE_IMAGE_H_ -#define SHELL_COMMON_API_ELECTRON_API_NATIVE_IMAGE_H_ +#ifndef ELECTRON_SHELL_COMMON_API_ELECTRON_API_NATIVE_IMAGE_H_ +#define ELECTRON_SHELL_COMMON_API_ELECTRON_API_NATIVE_IMAGE_H_ #include #include @@ -142,4 +142,4 @@ class NativeImage : public gin::Wrappable { } // namespace electron -#endif // SHELL_COMMON_API_ELECTRON_API_NATIVE_IMAGE_H_ +#endif // ELECTRON_SHELL_COMMON_API_ELECTRON_API_NATIVE_IMAGE_H_ diff --git a/shell/common/api/electron_bindings.h b/shell/common/api/electron_bindings.h index 517764c74bff..3586828d9b4f 100644 --- a/shell/common/api/electron_bindings.h +++ b/shell/common/api/electron_bindings.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_API_ELECTRON_BINDINGS_H_ -#define SHELL_COMMON_API_ELECTRON_BINDINGS_H_ +#ifndef ELECTRON_SHELL_COMMON_API_ELECTRON_BINDINGS_H_ +#define ELECTRON_SHELL_COMMON_API_ELECTRON_BINDINGS_H_ #include #include @@ -84,4 +84,4 @@ class ElectronBindings { } // namespace electron -#endif // SHELL_COMMON_API_ELECTRON_BINDINGS_H_ +#endif // ELECTRON_SHELL_COMMON_API_ELECTRON_BINDINGS_H_ diff --git a/shell/common/api/object_life_monitor.h b/shell/common/api/object_life_monitor.h index 52296a13de1d..8cd608f35e85 100644 --- a/shell/common/api/object_life_monitor.h +++ b/shell/common/api/object_life_monitor.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_API_OBJECT_LIFE_MONITOR_H_ -#define SHELL_COMMON_API_OBJECT_LIFE_MONITOR_H_ +#ifndef ELECTRON_SHELL_COMMON_API_OBJECT_LIFE_MONITOR_H_ +#define ELECTRON_SHELL_COMMON_API_OBJECT_LIFE_MONITOR_H_ #include "base/memory/weak_ptr.h" #include "v8/include/v8.h" @@ -32,4 +32,4 @@ class ObjectLifeMonitor { } // namespace electron -#endif // SHELL_COMMON_API_OBJECT_LIFE_MONITOR_H_ +#endif // ELECTRON_SHELL_COMMON_API_OBJECT_LIFE_MONITOR_H_ diff --git a/shell/common/application_info.h b/shell/common/application_info.h index 9ad849cc413f..95482bb6768a 100644 --- a/shell/common/application_info.h +++ b/shell/common/application_info.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_APPLICATION_INFO_H_ -#define SHELL_COMMON_APPLICATION_INFO_H_ +#ifndef ELECTRON_SHELL_COMMON_APPLICATION_INFO_H_ +#define ELECTRON_SHELL_COMMON_APPLICATION_INFO_H_ #if defined(OS_WIN) #include "shell/browser/win/scoped_hstring.h" @@ -32,4 +32,4 @@ bool IsRunningInDesktopBridge(); } // namespace electron -#endif // SHELL_COMMON_APPLICATION_INFO_H_ +#endif // ELECTRON_SHELL_COMMON_APPLICATION_INFO_H_ diff --git a/shell/common/asar/archive.h b/shell/common/asar/archive.h index 34abcb93bea6..51e75ec75b34 100644 --- a/shell/common/asar/archive.h +++ b/shell/common/asar/archive.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_ASAR_ARCHIVE_H_ -#define SHELL_COMMON_ASAR_ARCHIVE_H_ +#ifndef ELECTRON_SHELL_COMMON_ASAR_ARCHIVE_H_ +#define ELECTRON_SHELL_COMMON_ASAR_ARCHIVE_H_ #include #include @@ -115,4 +115,4 @@ class Archive { } // namespace asar -#endif // SHELL_COMMON_ASAR_ARCHIVE_H_ +#endif // ELECTRON_SHELL_COMMON_ASAR_ARCHIVE_H_ diff --git a/shell/common/asar/asar_util.h b/shell/common/asar/asar_util.h index 228a752b086a..31b4cf9990e6 100644 --- a/shell/common/asar/asar_util.h +++ b/shell/common/asar/asar_util.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_ASAR_ASAR_UTIL_H_ -#define SHELL_COMMON_ASAR_ASAR_UTIL_H_ +#ifndef ELECTRON_SHELL_COMMON_ASAR_ASAR_UTIL_H_ +#define ELECTRON_SHELL_COMMON_ASAR_ASAR_UTIL_H_ #include #include @@ -38,4 +38,4 @@ void ValidateIntegrityOrDie(const char* data, } // namespace asar -#endif // SHELL_COMMON_ASAR_ASAR_UTIL_H_ +#endif // ELECTRON_SHELL_COMMON_ASAR_ASAR_UTIL_H_ diff --git a/shell/common/asar/scoped_temporary_file.h b/shell/common/asar/scoped_temporary_file.h index 3651ec5a6a9f..5fd31a848b2f 100644 --- a/shell/common/asar/scoped_temporary_file.h +++ b/shell/common/asar/scoped_temporary_file.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_ASAR_SCOPED_TEMPORARY_FILE_H_ -#define SHELL_COMMON_ASAR_SCOPED_TEMPORARY_FILE_H_ +#ifndef ELECTRON_SHELL_COMMON_ASAR_SCOPED_TEMPORARY_FILE_H_ +#define ELECTRON_SHELL_COMMON_ASAR_SCOPED_TEMPORARY_FILE_H_ #include "base/files/file_path.h" #include "shell/common/asar/archive.h" @@ -44,4 +44,4 @@ class ScopedTemporaryFile { } // namespace asar -#endif // SHELL_COMMON_ASAR_SCOPED_TEMPORARY_FILE_H_ +#endif // ELECTRON_SHELL_COMMON_ASAR_SCOPED_TEMPORARY_FILE_H_ diff --git a/shell/common/color_util.h b/shell/common/color_util.h index 9411e8ae352e..88b68cc398f9 100644 --- a/shell/common/color_util.h +++ b/shell/common/color_util.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_COLOR_UTIL_H_ -#define SHELL_COMMON_COLOR_UTIL_H_ +#ifndef ELECTRON_SHELL_COMMON_COLOR_UTIL_H_ +#define ELECTRON_SHELL_COMMON_COLOR_UTIL_H_ #include @@ -21,4 +21,4 @@ std::string ToRGBAHex(SkColor color, bool include_hash = true); } // namespace electron -#endif // SHELL_COMMON_COLOR_UTIL_H_ +#endif // ELECTRON_SHELL_COMMON_COLOR_UTIL_H_ diff --git a/shell/common/crash_keys.h b/shell/common/crash_keys.h index 5ad954ed2526..70f731d29f38 100644 --- a/shell/common/crash_keys.h +++ b/shell/common/crash_keys.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_CRASH_KEYS_H_ -#define SHELL_COMMON_CRASH_KEYS_H_ +#ifndef ELECTRON_SHELL_COMMON_CRASH_KEYS_H_ +#define ELECTRON_SHELL_COMMON_CRASH_KEYS_H_ #include #include @@ -27,4 +27,4 @@ void SetPlatformCrashKey(); } // namespace electron -#endif // SHELL_COMMON_CRASH_KEYS_H_ +#endif // ELECTRON_SHELL_COMMON_CRASH_KEYS_H_ diff --git a/shell/common/electron_command_line.h b/shell/common/electron_command_line.h index defa250791b6..0d1aad4e76eb 100644 --- a/shell/common/electron_command_line.h +++ b/shell/common/electron_command_line.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_ELECTRON_COMMAND_LINE_H_ -#define SHELL_COMMON_ELECTRON_COMMAND_LINE_H_ +#ifndef ELECTRON_SHELL_COMMON_ELECTRON_COMMAND_LINE_H_ +#define ELECTRON_SHELL_COMMON_ELECTRON_COMMAND_LINE_H_ #include "base/command_line.h" #include "build/build_config.h" @@ -33,4 +33,4 @@ class ElectronCommandLine { } // namespace electron -#endif // SHELL_COMMON_ELECTRON_COMMAND_LINE_H_ +#endif // ELECTRON_SHELL_COMMON_ELECTRON_COMMAND_LINE_H_ diff --git a/shell/common/electron_constants.h b/shell/common/electron_constants.h index ee888baf836e..b91b70e68363 100644 --- a/shell/common/electron_constants.h +++ b/shell/common/electron_constants.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_ELECTRON_CONSTANTS_H_ -#define SHELL_COMMON_ELECTRON_CONSTANTS_H_ +#ifndef ELECTRON_SHELL_COMMON_ELECTRON_CONSTANTS_H_ +#define ELECTRON_SHELL_COMMON_ELECTRON_CONSTANTS_H_ #include "base/files/file_path.h" #include "build/build_config.h" @@ -37,4 +37,4 @@ extern const base::FilePath::CharType kPdfPluginPath[]; } // namespace electron -#endif // SHELL_COMMON_ELECTRON_CONSTANTS_H_ +#endif // ELECTRON_SHELL_COMMON_ELECTRON_CONSTANTS_H_ diff --git a/shell/common/electron_paths.h b/shell/common/electron_paths.h index e52badaabcb7..19bcabb2ed36 100644 --- a/shell/common/electron_paths.h +++ b/shell/common/electron_paths.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_ELECTRON_PATHS_H_ -#define SHELL_COMMON_ELECTRON_PATHS_H_ +#ifndef ELECTRON_SHELL_COMMON_ELECTRON_PATHS_H_ +#define ELECTRON_SHELL_COMMON_ELECTRON_PATHS_H_ #include "base/base_paths.h" @@ -46,4 +46,4 @@ static_assert(PATH_START < PATH_END, "invalid PATH boundaries"); } // namespace electron -#endif // SHELL_COMMON_ELECTRON_PATHS_H_ +#endif // ELECTRON_SHELL_COMMON_ELECTRON_PATHS_H_ diff --git a/shell/common/extensions/electron_extensions_api_provider.h b/shell/common/extensions/electron_extensions_api_provider.h index 7e8c0daa91c4..1ef972fcfa5e 100644 --- a/shell/common/extensions/electron_extensions_api_provider.h +++ b/shell/common/extensions/electron_extensions_api_provider.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_API_PROVIDER_H_ -#define SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_API_PROVIDER_H_ +#ifndef ELECTRON_SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_API_PROVIDER_H_ +#define ELECTRON_SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_API_PROVIDER_H_ #include @@ -37,4 +37,4 @@ class ElectronExtensionsAPIProvider : public extensions::ExtensionsAPIProvider { } // namespace electron -#endif // SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_API_PROVIDER_H_ +#endif // ELECTRON_SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_API_PROVIDER_H_ diff --git a/shell/common/extensions/electron_extensions_client.h b/shell/common/extensions/electron_extensions_client.h index 7eebb6e58854..ebc05b0ed089 100644 --- a/shell/common/extensions/electron_extensions_client.h +++ b/shell/common/extensions/electron_extensions_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_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_CLIENT_H_ -#define SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_CLIENT_H_ +#ifndef ELECTRON_SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_CLIENT_H_ +#define ELECTRON_SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_CLIENT_H_ #include @@ -62,4 +62,4 @@ class ElectronExtensionsClient : public extensions::ExtensionsClient { } // namespace electron -#endif // SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_CLIENT_H_ +#endif // ELECTRON_SHELL_COMMON_EXTENSIONS_ELECTRON_EXTENSIONS_CLIENT_H_ diff --git a/shell/common/gin_converters/accelerator_converter.h b/shell/common/gin_converters/accelerator_converter.h index 6c2131e29851..86a4a641678b 100644 --- a/shell/common/gin_converters/accelerator_converter.h +++ b/shell/common/gin_converters/accelerator_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_ACCELERATOR_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_ACCELERATOR_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_ACCELERATOR_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_ACCELERATOR_CONVERTER_H_ #include "gin/converter.h" @@ -22,4 +22,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_ACCELERATOR_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_ACCELERATOR_CONVERTER_H_ diff --git a/shell/common/gin_converters/base_converter.h b/shell/common/gin_converters/base_converter.h index b214af79cc9f..f44c64941e0f 100644 --- a/shell/common/gin_converters/base_converter.h +++ b/shell/common/gin_converters/base_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_BASE_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_BASE_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_BASE_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_BASE_CONVERTER_H_ #include "base/process/kill.h" #include "gin/converter.h" @@ -44,4 +44,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_BASE_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_BASE_CONVERTER_H_ diff --git a/shell/common/gin_converters/blink_converter.h b/shell/common/gin_converters/blink_converter.h index 952033b14726..8ae85d750600 100644 --- a/shell/common/gin_converters/blink_converter.h +++ b/shell/common/gin_converters/blink_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_BLINK_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_BLINK_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_BLINK_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_BLINK_CONVERTER_H_ #include "gin/converter.h" #include "third_party/blink/public/common/context_menu_data/context_menu_data.h" @@ -120,4 +120,4 @@ v8::Local MediaFlagsToV8(v8::Isolate* isolate, int mediaFlags); } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_BLINK_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_BLINK_CONVERTER_H_ diff --git a/shell/common/gin_converters/callback_converter.h b/shell/common/gin_converters/callback_converter.h index 9342e2fc22cf..8682ca94795b 100644 --- a/shell/common/gin_converters/callback_converter.h +++ b/shell/common/gin_converters/callback_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_CALLBACK_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_CALLBACK_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_CALLBACK_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_CALLBACK_CONVERTER_H_ #include @@ -56,4 +56,4 @@ struct Converter> { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_CALLBACK_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_CALLBACK_CONVERTER_H_ diff --git a/shell/common/gin_converters/content_converter.h b/shell/common/gin_converters/content_converter.h index 26621c05a8e1..e157b9f4a05f 100644 --- a/shell/common/gin_converters/content_converter.h +++ b/shell/common/gin_converters/content_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_CONTENT_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_CONTENT_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_CONTENT_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_CONTENT_CONVERTER_H_ #include @@ -88,4 +88,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_CONTENT_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_CONTENT_CONVERTER_H_ diff --git a/shell/common/gin_converters/extension_converter.h b/shell/common/gin_converters/extension_converter.h index e0d566f6801a..83c30ffe6d09 100644 --- a/shell/common/gin_converters/extension_converter.h +++ b/shell/common/gin_converters/extension_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_EXTENSION_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_EXTENSION_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_EXTENSION_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_EXTENSION_CONVERTER_H_ #include @@ -23,4 +23,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_EXTENSION_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_EXTENSION_CONVERTER_H_ diff --git a/shell/common/gin_converters/file_dialog_converter.h b/shell/common/gin_converters/file_dialog_converter.h index 16b3b9b08866..c3e608425c5a 100644 --- a/shell/common/gin_converters/file_dialog_converter.h +++ b/shell/common/gin_converters/file_dialog_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_FILE_DIALOG_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_FILE_DIALOG_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FILE_DIALOG_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FILE_DIALOG_CONVERTER_H_ #include "gin/converter.h" #include "shell/browser/ui/file_dialog.h" @@ -30,4 +30,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_FILE_DIALOG_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FILE_DIALOG_CONVERTER_H_ diff --git a/shell/common/gin_converters/file_path_converter.h b/shell/common/gin_converters/file_path_converter.h index 28d5c4bfda87..2341ff599bcb 100644 --- a/shell/common/gin_converters/file_path_converter.h +++ b/shell/common/gin_converters/file_path_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_FILE_PATH_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_FILE_PATH_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FILE_PATH_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FILE_PATH_CONVERTER_H_ #include "base/files/file_path.h" #include "gin/converter.h" @@ -41,4 +41,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_FILE_PATH_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FILE_PATH_CONVERTER_H_ diff --git a/shell/common/gin_converters/frame_converter.h b/shell/common/gin_converters/frame_converter.h index a2579ed6019b..56f87f598b2c 100644 --- a/shell/common/gin_converters/frame_converter.h +++ b/shell/common/gin_converters/frame_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_FRAME_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_FRAME_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FRAME_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FRAME_CONVERTER_H_ #include "gin/converter.h" #include "shell/common/gin_helper/accessor.h" @@ -32,4 +32,4 @@ struct Converter> { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_FRAME_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_FRAME_CONVERTER_H_ diff --git a/shell/common/gin_converters/gfx_converter.h b/shell/common/gin_converters/gfx_converter.h index 6c46a98af41f..0bf444864556 100644 --- a/shell/common/gin_converters/gfx_converter.h +++ b/shell/common/gin_converters/gfx_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_GFX_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_GFX_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GFX_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GFX_CONVERTER_H_ #include "gin/converter.h" @@ -71,4 +71,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_GFX_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GFX_CONVERTER_H_ diff --git a/shell/common/gin_converters/guid_converter.h b/shell/common/gin_converters/guid_converter.h index ef7dd7a0d2f4..592dab149a62 100644 --- a/shell/common/gin_converters/guid_converter.h +++ b/shell/common/gin_converters/guid_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_GUID_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_GUID_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GUID_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GUID_CONVERTER_H_ #include @@ -83,4 +83,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_GUID_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GUID_CONVERTER_H_ diff --git a/shell/common/gin_converters/gurl_converter.h b/shell/common/gin_converters/gurl_converter.h index e0888daa6c2f..c63aca14d053 100644 --- a/shell/common/gin_converters/gurl_converter.h +++ b/shell/common/gin_converters/gurl_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_GURL_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_GURL_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GURL_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GURL_CONVERTER_H_ #include @@ -32,4 +32,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_GURL_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_GURL_CONVERTER_H_ diff --git a/shell/common/gin_converters/image_converter.h b/shell/common/gin_converters/image_converter.h index f4de04fb465f..01975e812806 100644 --- a/shell/common/gin_converters/image_converter.h +++ b/shell/common/gin_converters/image_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_IMAGE_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_IMAGE_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_IMAGE_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_IMAGE_CONVERTER_H_ #include "gin/converter.h" @@ -31,4 +31,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_IMAGE_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_IMAGE_CONVERTER_H_ diff --git a/shell/common/gin_converters/message_box_converter.h b/shell/common/gin_converters/message_box_converter.h index 15ed2516d446..2949b1cfa581 100644 --- a/shell/common/gin_converters/message_box_converter.h +++ b/shell/common/gin_converters/message_box_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_MESSAGE_BOX_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_MESSAGE_BOX_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_MESSAGE_BOX_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_MESSAGE_BOX_CONVERTER_H_ #include "gin/converter.h" #include "shell/browser/ui/message_box.h" @@ -19,4 +19,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_MESSAGE_BOX_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_MESSAGE_BOX_CONVERTER_H_ diff --git a/shell/common/gin_converters/native_window_converter.h b/shell/common/gin_converters/native_window_converter.h index d06440c7fa0e..106ca836cd5b 100644 --- a/shell/common/gin_converters/native_window_converter.h +++ b/shell/common/gin_converters/native_window_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_NATIVE_WINDOW_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_NATIVE_WINDOW_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_NATIVE_WINDOW_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_NATIVE_WINDOW_CONVERTER_H_ #include "gin/converter.h" #include "shell/browser/api/electron_api_base_window.h" @@ -32,4 +32,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_NATIVE_WINDOW_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_NATIVE_WINDOW_CONVERTER_H_ diff --git a/shell/common/gin_converters/net_converter.h b/shell/common/gin_converters/net_converter.h index db2ea11be11e..3a4fd1f3c7c1 100644 --- a/shell/common/gin_converters/net_converter.h +++ b/shell/common/gin_converters/net_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_NET_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_NET_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_NET_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_NET_CONVERTER_H_ #include #include @@ -140,4 +140,4 @@ struct Converter>> { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_NET_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_NET_CONVERTER_H_ diff --git a/shell/common/gin_converters/std_converter.h b/shell/common/gin_converters/std_converter.h index eb5f87d22e3d..23e44e856ce3 100644 --- a/shell/common/gin_converters/std_converter.h +++ b/shell/common/gin_converters/std_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_STD_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_STD_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_STD_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_STD_CONVERTER_H_ #include #include @@ -212,4 +212,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_STD_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_STD_CONVERTER_H_ diff --git a/shell/common/gin_converters/time_converter.h b/shell/common/gin_converters/time_converter.h index 3c4a0539873f..7149eaaefed4 100644 --- a/shell/common/gin_converters/time_converter.h +++ b/shell/common/gin_converters/time_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_TIME_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_TIME_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_TIME_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_TIME_CONVERTER_H_ #include "gin/converter.h" @@ -20,4 +20,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_TIME_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_TIME_CONVERTER_H_ diff --git a/shell/common/gin_converters/value_converter.h b/shell/common/gin_converters/value_converter.h index d8c42d100a64..16a79af43b9e 100644 --- a/shell/common/gin_converters/value_converter.h +++ b/shell/common/gin_converters/value_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_CONVERTERS_VALUE_CONVERTER_H_ -#define SHELL_COMMON_GIN_CONVERTERS_VALUE_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_CONVERTERS_VALUE_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_CONVERTERS_VALUE_CONVERTER_H_ #include "gin/converter.h" @@ -44,4 +44,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_CONVERTERS_VALUE_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_CONVERTERS_VALUE_CONVERTER_H_ diff --git a/shell/common/gin_helper/accessor.h b/shell/common/gin_helper/accessor.h index 6d258a56d674..5bd0bc9cb4e2 100644 --- a/shell/common/gin_helper/accessor.h +++ b/shell/common/gin_helper/accessor.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_ACCESSOR_H_ -#define SHELL_COMMON_GIN_HELPER_ACCESSOR_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_ACCESSOR_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_ACCESSOR_H_ namespace gin_helper { @@ -24,4 +24,4 @@ struct AccessorValue { } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_ACCESSOR_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_ACCESSOR_H_ diff --git a/shell/common/gin_helper/arguments.h b/shell/common/gin_helper/arguments.h index 776b951bcb7a..81a37f8476e6 100644 --- a/shell/common/gin_helper/arguments.h +++ b/shell/common/gin_helper/arguments.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE.chromium file. -#ifndef SHELL_COMMON_GIN_HELPER_ARGUMENTS_H_ -#define SHELL_COMMON_GIN_HELPER_ARGUMENTS_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_ARGUMENTS_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_ARGUMENTS_H_ #include "gin/arguments.h" @@ -48,4 +48,4 @@ class Arguments : public gin::Arguments { } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_ARGUMENTS_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_ARGUMENTS_H_ diff --git a/shell/common/gin_helper/callback.h b/shell/common/gin_helper/callback.h index f4e54dabed33..a00fa5b54142 100644 --- a/shell/common/gin_helper/callback.h +++ b/shell/common/gin_helper/callback.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_CALLBACK_H_ -#define SHELL_COMMON_GIN_HELPER_CALLBACK_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_CALLBACK_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_CALLBACK_H_ #include #include @@ -149,4 +149,4 @@ v8::Local CallbackToV8Leaked( } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_CALLBACK_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_CALLBACK_H_ diff --git a/shell/common/gin_helper/cleaned_up_at_exit.h b/shell/common/gin_helper/cleaned_up_at_exit.h index f3376c2f450f..35d9e1618eb7 100644 --- a/shell/common/gin_helper/cleaned_up_at_exit.h +++ b/shell/common/gin_helper/cleaned_up_at_exit.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_CLEANED_UP_AT_EXIT_H_ -#define SHELL_COMMON_GIN_HELPER_CLEANED_UP_AT_EXIT_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_CLEANED_UP_AT_EXIT_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_CLEANED_UP_AT_EXIT_H_ namespace gin_helper { @@ -24,4 +24,4 @@ class CleanedUpAtExit { } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_CLEANED_UP_AT_EXIT_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_CLEANED_UP_AT_EXIT_H_ diff --git a/shell/common/gin_helper/constructible.h b/shell/common/gin_helper/constructible.h index 7dc70740934f..c6eaaef330c3 100644 --- a/shell/common/gin_helper/constructible.h +++ b/shell/common/gin_helper/constructible.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_CONSTRUCTIBLE_H_ -#define SHELL_COMMON_GIN_HELPER_CONSTRUCTIBLE_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_CONSTRUCTIBLE_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_CONSTRUCTIBLE_H_ #include "gin/per_isolate_data.h" #include "gin/wrappable.h" @@ -66,4 +66,4 @@ class Constructible { } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_CONSTRUCTIBLE_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_CONSTRUCTIBLE_H_ diff --git a/shell/common/gin_helper/constructor.h b/shell/common/gin_helper/constructor.h index efaffd4c4aeb..398e76a9af92 100644 --- a/shell/common/gin_helper/constructor.h +++ b/shell/common/gin_helper/constructor.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_CONSTRUCTOR_H_ -#define SHELL_COMMON_GIN_HELPER_CONSTRUCTOR_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_CONSTRUCTOR_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_CONSTRUCTOR_H_ #include "shell/common/gin_helper/function_template.h" #include "shell/common/gin_helper/wrappable_base.h" @@ -168,4 +168,4 @@ v8::Local CreateConstructor( } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_CONSTRUCTOR_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_CONSTRUCTOR_H_ diff --git a/shell/common/gin_helper/destroyable.h b/shell/common/gin_helper/destroyable.h index fadbdc478c22..20419542d285 100644 --- a/shell/common/gin_helper/destroyable.h +++ b/shell/common/gin_helper/destroyable.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_DESTROYABLE_H_ -#define SHELL_COMMON_GIN_HELPER_DESTROYABLE_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_DESTROYABLE_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_DESTROYABLE_H_ #include "v8/include/v8.h" @@ -21,4 +21,4 @@ struct Destroyable { } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_DESTROYABLE_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_DESTROYABLE_H_ diff --git a/shell/common/gin_helper/dictionary.h b/shell/common/gin_helper/dictionary.h index 7c6368ad3978..9d3fd527c379 100644 --- a/shell/common/gin_helper/dictionary.h +++ b/shell/common/gin_helper/dictionary.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_DICTIONARY_H_ -#define SHELL_COMMON_GIN_HELPER_DICTIONARY_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_DICTIONARY_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_DICTIONARY_H_ #include #include @@ -214,4 +214,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_HELPER_DICTIONARY_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_DICTIONARY_H_ diff --git a/shell/common/gin_helper/error_thrower.h b/shell/common/gin_helper/error_thrower.h index 057874e93cc1..6089363c423c 100644 --- a/shell/common/gin_helper/error_thrower.h +++ b/shell/common/gin_helper/error_thrower.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_ERROR_THROWER_H_ -#define SHELL_COMMON_GIN_HELPER_ERROR_THROWER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_ERROR_THROWER_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_ERROR_THROWER_H_ #include "base/strings/string_piece.h" #include "v8/include/v8.h" @@ -34,4 +34,4 @@ class ErrorThrower { } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_ERROR_THROWER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_ERROR_THROWER_H_ diff --git a/shell/common/gin_helper/event_emitter.h b/shell/common/gin_helper/event_emitter.h index 071bdfeda9fe..a69b595551ff 100644 --- a/shell/common/gin_helper/event_emitter.h +++ b/shell/common/gin_helper/event_emitter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_H_ -#define SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_H_ #include #include @@ -101,4 +101,4 @@ class EventEmitter : public gin_helper::Wrappable { } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_H_ diff --git a/shell/common/gin_helper/event_emitter_caller.h b/shell/common/gin_helper/event_emitter_caller.h index f2da1fede381..b8a0511a0b90 100644 --- a/shell/common/gin_helper/event_emitter_caller.h +++ b/shell/common/gin_helper/event_emitter_caller.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_CALLER_H_ -#define SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_CALLER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_CALLER_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_CALLER_H_ #include #include @@ -88,4 +88,4 @@ v8::Local CallMethod(gin::Wrappable* object, } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_CALLER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_EVENT_EMITTER_CALLER_H_ diff --git a/shell/common/gin_helper/function_template.h b/shell/common/gin_helper/function_template.h index edb067f861b0..025c917fbc34 100644 --- a/shell/common/gin_helper/function_template.h +++ b/shell/common/gin_helper/function_template.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE.chromium file. -#ifndef SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_H_ -#define SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_H_ #include @@ -329,4 +329,4 @@ struct CallbackTraits< } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_H_ diff --git a/shell/common/gin_helper/function_template_extensions.h b/shell/common/gin_helper/function_template_extensions.h index a83ad1c7eb80..7420ffde724c 100644 --- a/shell/common/gin_helper/function_template_extensions.h +++ b/shell/common/gin_helper/function_template_extensions.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE.chromium file. -#ifndef SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_EXTENSIONS_H_ -#define SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_EXTENSIONS_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_EXTENSIONS_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_EXTENSIONS_H_ #include @@ -57,4 +57,4 @@ v8::Local CreateConstructorFunctionTemplate( } // namespace gin -#endif // SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_EXTENSIONS_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_FUNCTION_TEMPLATE_EXTENSIONS_H_ diff --git a/shell/common/gin_helper/locker.h b/shell/common/gin_helper/locker.h index ae92f92de500..825fe4880f64 100644 --- a/shell/common/gin_helper/locker.h +++ b/shell/common/gin_helper/locker.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE.chromium file. -#ifndef SHELL_COMMON_GIN_HELPER_LOCKER_H_ -#define SHELL_COMMON_GIN_HELPER_LOCKER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_LOCKER_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_LOCKER_H_ #include @@ -34,4 +34,4 @@ class Locker { } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_LOCKER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_LOCKER_H_ diff --git a/shell/common/gin_helper/microtasks_scope.h b/shell/common/gin_helper/microtasks_scope.h index 119b67cb042f..23815a090813 100644 --- a/shell/common/gin_helper/microtasks_scope.h +++ b/shell/common/gin_helper/microtasks_scope.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_MICROTASKS_SCOPE_H_ -#define SHELL_COMMON_GIN_HELPER_MICROTASKS_SCOPE_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_MICROTASKS_SCOPE_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_MICROTASKS_SCOPE_H_ #include @@ -31,4 +31,4 @@ class MicrotasksScope { } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_MICROTASKS_SCOPE_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_MICROTASKS_SCOPE_H_ diff --git a/shell/common/gin_helper/object_template_builder.h b/shell/common/gin_helper/object_template_builder.h index 722d6f78bfa7..5ec9761beef4 100644 --- a/shell/common/gin_helper/object_template_builder.h +++ b/shell/common/gin_helper/object_template_builder.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_OBJECT_TEMPLATE_BUILDER_H_ -#define SHELL_COMMON_GIN_HELPER_OBJECT_TEMPLATE_BUILDER_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_OBJECT_TEMPLATE_BUILDER_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_OBJECT_TEMPLATE_BUILDER_H_ #include "shell/common/gin_helper/function_template.h" @@ -74,4 +74,4 @@ class ObjectTemplateBuilder { } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_OBJECT_TEMPLATE_BUILDER_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_OBJECT_TEMPLATE_BUILDER_H_ diff --git a/shell/common/gin_helper/persistent_dictionary.h b/shell/common/gin_helper/persistent_dictionary.h index e73da7ab259f..8bc19d822ce5 100644 --- a/shell/common/gin_helper/persistent_dictionary.h +++ b/shell/common/gin_helper/persistent_dictionary.h @@ -2,8 +2,8 @@ // Use of this source code is governed by MIT license that can be found in the // LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_PERSISTENT_DICTIONARY_H_ -#define SHELL_COMMON_GIN_HELPER_PERSISTENT_DICTIONARY_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_PERSISTENT_DICTIONARY_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_PERSISTENT_DICTIONARY_H_ #include "shell/common/gin_helper/dictionary.h" @@ -60,4 +60,4 @@ struct Converter { } // namespace gin -#endif // SHELL_COMMON_GIN_HELPER_PERSISTENT_DICTIONARY_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_PERSISTENT_DICTIONARY_H_ diff --git a/shell/common/gin_helper/pinnable.h b/shell/common/gin_helper/pinnable.h index ca129d66446f..42b98f55179d 100644 --- a/shell/common/gin_helper/pinnable.h +++ b/shell/common/gin_helper/pinnable.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_PINNABLE_H_ -#define SHELL_COMMON_GIN_HELPER_PINNABLE_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_PINNABLE_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_PINNABLE_H_ #include "v8/include/v8.h" @@ -31,4 +31,4 @@ class Pinnable { } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_PINNABLE_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_PINNABLE_H_ diff --git a/shell/common/gin_helper/promise.h b/shell/common/gin_helper/promise.h index 58e91998fac9..961ce961a65e 100644 --- a/shell/common/gin_helper/promise.h +++ b/shell/common/gin_helper/promise.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_PROMISE_H_ -#define SHELL_COMMON_GIN_HELPER_PROMISE_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_PROMISE_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_PROMISE_H_ #include #include @@ -181,4 +181,4 @@ struct Converter> { } // namespace gin -#endif // SHELL_COMMON_GIN_HELPER_PROMISE_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_PROMISE_H_ diff --git a/shell/common/gin_helper/trackable_object.h b/shell/common/gin_helper/trackable_object.h index 09ccd273c298..309e412e8a6f 100644 --- a/shell/common/gin_helper/trackable_object.h +++ b/shell/common/gin_helper/trackable_object.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_GIN_HELPER_TRACKABLE_OBJECT_H_ -#define SHELL_COMMON_GIN_HELPER_TRACKABLE_OBJECT_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_TRACKABLE_OBJECT_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_TRACKABLE_OBJECT_H_ #include @@ -137,4 +137,4 @@ electron::KeyWeakMap* TrackableObject::weak_map_ = nullptr; } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_TRACKABLE_OBJECT_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_TRACKABLE_OBJECT_H_ diff --git a/shell/common/gin_helper/wrappable.h b/shell/common/gin_helper/wrappable.h index 1ed16233e2a5..4e1ece6c6fcd 100644 --- a/shell/common/gin_helper/wrappable.h +++ b/shell/common/gin_helper/wrappable.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE.chromium file. -#ifndef SHELL_COMMON_GIN_HELPER_WRAPPABLE_H_ -#define SHELL_COMMON_GIN_HELPER_WRAPPABLE_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_WRAPPABLE_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_WRAPPABLE_H_ #include "base/bind.h" #include "gin/per_isolate_data.h" @@ -98,4 +98,4 @@ struct Converter< } // namespace gin -#endif // SHELL_COMMON_GIN_HELPER_WRAPPABLE_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_WRAPPABLE_H_ diff --git a/shell/common/gin_helper/wrappable_base.h b/shell/common/gin_helper/wrappable_base.h index 4b70a91fa247..87ba126d17d9 100644 --- a/shell/common/gin_helper/wrappable_base.h +++ b/shell/common/gin_helper/wrappable_base.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE.chromium file. -#ifndef SHELL_COMMON_GIN_HELPER_WRAPPABLE_BASE_H_ -#define SHELL_COMMON_GIN_HELPER_WRAPPABLE_BASE_H_ +#ifndef ELECTRON_SHELL_COMMON_GIN_HELPER_WRAPPABLE_BASE_H_ +#define ELECTRON_SHELL_COMMON_GIN_HELPER_WRAPPABLE_BASE_H_ #include "v8/include/v8.h" @@ -67,4 +67,4 @@ class WrappableBase { } // namespace gin_helper -#endif // SHELL_COMMON_GIN_HELPER_WRAPPABLE_BASE_H_ +#endif // ELECTRON_SHELL_COMMON_GIN_HELPER_WRAPPABLE_BASE_H_ diff --git a/shell/common/heap_snapshot.h b/shell/common/heap_snapshot.h index ef544aa0530a..63f0b0beadcb 100644 --- a/shell/common/heap_snapshot.h +++ b/shell/common/heap_snapshot.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_HEAP_SNAPSHOT_H_ -#define SHELL_COMMON_HEAP_SNAPSHOT_H_ +#ifndef ELECTRON_SHELL_COMMON_HEAP_SNAPSHOT_H_ +#define ELECTRON_SHELL_COMMON_HEAP_SNAPSHOT_H_ namespace base { class File; @@ -19,4 +19,4 @@ bool TakeHeapSnapshot(v8::Isolate* isolate, base::File* file); } // namespace electron -#endif // SHELL_COMMON_HEAP_SNAPSHOT_H_ +#endif // ELECTRON_SHELL_COMMON_HEAP_SNAPSHOT_H_ diff --git a/shell/common/key_weak_map.h b/shell/common/key_weak_map.h index 147e683ce799..09111d48dcd0 100644 --- a/shell/common/key_weak_map.h +++ b/shell/common/key_weak_map.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_KEY_WEAK_MAP_H_ -#define SHELL_COMMON_KEY_WEAK_MAP_H_ +#ifndef ELECTRON_SHELL_COMMON_KEY_WEAK_MAP_H_ +#define ELECTRON_SHELL_COMMON_KEY_WEAK_MAP_H_ #include #include @@ -85,4 +85,4 @@ class KeyWeakMap { } // namespace electron -#endif // SHELL_COMMON_KEY_WEAK_MAP_H_ +#endif // ELECTRON_SHELL_COMMON_KEY_WEAK_MAP_H_ diff --git a/shell/common/keyboard_util.h b/shell/common/keyboard_util.h index 9469661841ae..d4c4bf224643 100644 --- a/shell/common/keyboard_util.h +++ b/shell/common/keyboard_util.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_KEYBOARD_UTIL_H_ -#define SHELL_COMMON_KEYBOARD_UTIL_H_ +#ifndef ELECTRON_SHELL_COMMON_KEYBOARD_UTIL_H_ +#define ELECTRON_SHELL_COMMON_KEYBOARD_UTIL_H_ #include @@ -24,4 +24,4 @@ ui::KeyboardCode KeyboardCodeFromStr(const std::string& str, } // namespace electron -#endif // SHELL_COMMON_KEYBOARD_UTIL_H_ +#endif // ELECTRON_SHELL_COMMON_KEYBOARD_UTIL_H_ diff --git a/shell/common/language_util.h b/shell/common/language_util.h index eac23ad4ed60..ccb81ccd2b3c 100644 --- a/shell/common/language_util.h +++ b/shell/common/language_util.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_LANGUAGE_UTIL_H_ -#define SHELL_COMMON_LANGUAGE_UTIL_H_ +#ifndef ELECTRON_SHELL_COMMON_LANGUAGE_UTIL_H_ +#define ELECTRON_SHELL_COMMON_LANGUAGE_UTIL_H_ #include #include @@ -16,4 +16,4 @@ std::vector GetPreferredLanguages(); } // namespace electron -#endif // SHELL_COMMON_LANGUAGE_UTIL_H_ +#endif // ELECTRON_SHELL_COMMON_LANGUAGE_UTIL_H_ diff --git a/shell/common/logging.h b/shell/common/logging.h index d7b9e2097103..c6b35b08fee3 100644 --- a/shell/common/logging.h +++ b/shell/common/logging.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_LOGGING_H_ -#define SHELL_COMMON_LOGGING_H_ +#ifndef ELECTRON_SHELL_COMMON_LOGGING_H_ +#define ELECTRON_SHELL_COMMON_LOGGING_H_ namespace base { class CommandLine; @@ -19,4 +19,4 @@ base::FilePath GetLogFileName(const base::CommandLine& command_line); } // namespace logging -#endif // SHELL_COMMON_LOGGING_H_ +#endif // ELECTRON_SHELL_COMMON_LOGGING_H_ diff --git a/shell/common/mac/main_application_bundle.h b/shell/common/mac/main_application_bundle.h index ec9f97bd3f6d..7b36dad77ba1 100644 --- a/shell/common/mac/main_application_bundle.h +++ b/shell/common/mac/main_application_bundle.h @@ -3,8 +3,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. -#ifndef SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_ -#define SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_ +#ifndef ELECTRON_SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_ +#define ELECTRON_SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_ #ifdef __OBJC__ @class NSBundle; @@ -27,4 +27,4 @@ base::FilePath MainApplicationBundlePath(); } // namespace electron -#endif // SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_ +#endif // ELECTRON_SHELL_COMMON_MAC_MAIN_APPLICATION_BUNDLE_H_ diff --git a/shell/common/mouse_util.h b/shell/common/mouse_util.h index 4826f9b0c105..6e8a0fb7cdfa 100644 --- a/shell/common/mouse_util.h +++ b/shell/common/mouse_util.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_MOUSE_UTIL_H_ -#define SHELL_COMMON_MOUSE_UTIL_H_ +#ifndef ELECTRON_SHELL_COMMON_MOUSE_UTIL_H_ +#define ELECTRON_SHELL_COMMON_MOUSE_UTIL_H_ #include #include "content/common/cursors/webcursor.h" @@ -31,4 +31,4 @@ std::string CursorTypeToString(const ui::Cursor& cursor); } // namespace electron -#endif // SHELL_COMMON_MOUSE_UTIL_H_ +#endif // ELECTRON_SHELL_COMMON_MOUSE_UTIL_H_ diff --git a/shell/common/node_bindings.h b/shell/common/node_bindings.h index b65576ced863..9789d0b687a6 100644 --- a/shell/common/node_bindings.h +++ b/shell/common/node_bindings.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_NODE_BINDINGS_H_ -#define SHELL_COMMON_NODE_BINDINGS_H_ +#ifndef ELECTRON_SHELL_COMMON_NODE_BINDINGS_H_ +#define ELECTRON_SHELL_COMMON_NODE_BINDINGS_H_ #include @@ -170,4 +170,4 @@ class NodeBindings { } // namespace electron -#endif // SHELL_COMMON_NODE_BINDINGS_H_ +#endif // ELECTRON_SHELL_COMMON_NODE_BINDINGS_H_ diff --git a/shell/common/node_bindings_linux.h b/shell/common/node_bindings_linux.h index a14daae99592..aca06dd0f595 100644 --- a/shell/common/node_bindings_linux.h +++ b/shell/common/node_bindings_linux.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_NODE_BINDINGS_LINUX_H_ -#define SHELL_COMMON_NODE_BINDINGS_LINUX_H_ +#ifndef ELECTRON_SHELL_COMMON_NODE_BINDINGS_LINUX_H_ +#define ELECTRON_SHELL_COMMON_NODE_BINDINGS_LINUX_H_ #include "base/compiler_specific.h" #include "shell/common/node_bindings.h" @@ -29,4 +29,4 @@ class NodeBindingsLinux : public NodeBindings { } // namespace electron -#endif // SHELL_COMMON_NODE_BINDINGS_LINUX_H_ +#endif // ELECTRON_SHELL_COMMON_NODE_BINDINGS_LINUX_H_ diff --git a/shell/common/node_bindings_mac.h b/shell/common/node_bindings_mac.h index 8403bf9602f1..2e54f2fc9a21 100644 --- a/shell/common/node_bindings_mac.h +++ b/shell/common/node_bindings_mac.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_NODE_BINDINGS_MAC_H_ -#define SHELL_COMMON_NODE_BINDINGS_MAC_H_ +#ifndef ELECTRON_SHELL_COMMON_NODE_BINDINGS_MAC_H_ +#define ELECTRON_SHELL_COMMON_NODE_BINDINGS_MAC_H_ #include "base/compiler_specific.h" #include "shell/common/node_bindings.h" @@ -26,4 +26,4 @@ class NodeBindingsMac : public NodeBindings { } // namespace electron -#endif // SHELL_COMMON_NODE_BINDINGS_MAC_H_ +#endif // ELECTRON_SHELL_COMMON_NODE_BINDINGS_MAC_H_ diff --git a/shell/common/node_bindings_win.h b/shell/common/node_bindings_win.h index badaba6eb12e..0a5eed2237ed 100644 --- a/shell/common/node_bindings_win.h +++ b/shell/common/node_bindings_win.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_NODE_BINDINGS_WIN_H_ -#define SHELL_COMMON_NODE_BINDINGS_WIN_H_ +#ifndef ELECTRON_SHELL_COMMON_NODE_BINDINGS_WIN_H_ +#define ELECTRON_SHELL_COMMON_NODE_BINDINGS_WIN_H_ #include "base/compiler_specific.h" #include "shell/common/node_bindings.h" @@ -21,4 +21,4 @@ class NodeBindingsWin : public NodeBindings { } // namespace electron -#endif // SHELL_COMMON_NODE_BINDINGS_WIN_H_ +#endif // ELECTRON_SHELL_COMMON_NODE_BINDINGS_WIN_H_ diff --git a/shell/common/node_includes.h b/shell/common/node_includes.h index 91904db21af8..f4f026df663d 100644 --- a/shell/common/node_includes.h +++ b/shell/common/node_includes.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_NODE_INCLUDES_H_ -#define SHELL_COMMON_NODE_INCLUDES_H_ +#ifndef ELECTRON_SHELL_COMMON_NODE_INCLUDES_H_ +#define ELECTRON_SHELL_COMMON_NODE_INCLUDES_H_ // Include common headers for using node APIs. @@ -36,4 +36,4 @@ #define NODE_LINKED_MODULE_CONTEXT_AWARE(modname, regfunc) \ NODE_MODULE_CONTEXT_AWARE_CPP(modname, regfunc, nullptr, NM_F_LINKED) -#endif // SHELL_COMMON_NODE_INCLUDES_H_ +#endif // ELECTRON_SHELL_COMMON_NODE_INCLUDES_H_ diff --git a/shell/common/node_util.h b/shell/common/node_util.h index a27f224918d8..fd7db87a4693 100644 --- a/shell/common/node_util.h +++ b/shell/common/node_util.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_NODE_UTIL_H_ -#define SHELL_COMMON_NODE_UTIL_H_ +#ifndef ELECTRON_SHELL_COMMON_NODE_UTIL_H_ +#define ELECTRON_SHELL_COMMON_NODE_UTIL_H_ #include @@ -33,4 +33,4 @@ v8::MaybeLocal CompileAndCall( } // namespace electron -#endif // SHELL_COMMON_NODE_UTIL_H_ +#endif // ELECTRON_SHELL_COMMON_NODE_UTIL_H_ diff --git a/shell/common/options_switches.h b/shell/common/options_switches.h index bf800586853a..a082c76afa4f 100644 --- a/shell/common/options_switches.h +++ b/shell/common/options_switches.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_OPTIONS_SWITCHES_H_ -#define SHELL_COMMON_OPTIONS_SWITCHES_H_ +#ifndef ELECTRON_SHELL_COMMON_OPTIONS_SWITCHES_H_ +#define ELECTRON_SHELL_COMMON_OPTIONS_SWITCHES_H_ #include "electron/buildflags/buildflags.h" @@ -139,4 +139,4 @@ extern const char kEnableWebSQL[]; } // namespace electron -#endif // SHELL_COMMON_OPTIONS_SWITCHES_H_ +#endif // ELECTRON_SHELL_COMMON_OPTIONS_SWITCHES_H_ diff --git a/shell/common/platform_util.h b/shell/common/platform_util.h index b9e801f055a4..dd59a212c4fb 100644 --- a/shell/common/platform_util.h +++ b/shell/common/platform_util.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_PLATFORM_UTIL_H_ -#define SHELL_COMMON_PLATFORM_UTIL_H_ +#ifndef ELECTRON_SHELL_COMMON_PLATFORM_UTIL_H_ +#define ELECTRON_SHELL_COMMON_PLATFORM_UTIL_H_ #include @@ -60,4 +60,4 @@ bool GetDesktopName(std::string* setme); } // namespace platform_util -#endif // SHELL_COMMON_PLATFORM_UTIL_H_ +#endif // ELECTRON_SHELL_COMMON_PLATFORM_UTIL_H_ diff --git a/shell/common/platform_util_internal.h b/shell/common/platform_util_internal.h index bb5574ca26d9..9a3681bed5ae 100644 --- a/shell/common/platform_util_internal.h +++ b/shell/common/platform_util_internal.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_ -#define SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_ +#ifndef ELECTRON_SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_ +#define ELECTRON_SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_ #include "shell/common/platform_util.h" @@ -23,4 +23,4 @@ bool PlatformTrashItem(const base::FilePath& path, std::string* error); } // namespace internal } // namespace platform_util -#endif // SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_ +#endif // ELECTRON_SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_ diff --git a/shell/common/process_util.h b/shell/common/process_util.h index e66430758c27..bd08b102662f 100644 --- a/shell/common/process_util.h +++ b/shell/common/process_util.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_PROCESS_UTIL_H_ -#define SHELL_COMMON_PROCESS_UTIL_H_ +#ifndef ELECTRON_SHELL_COMMON_PROCESS_UTIL_H_ +#define ELECTRON_SHELL_COMMON_PROCESS_UTIL_H_ #include @@ -19,4 +19,4 @@ void EmitWarning(node::Environment* env, } // namespace electron -#endif // SHELL_COMMON_PROCESS_UTIL_H_ +#endif // ELECTRON_SHELL_COMMON_PROCESS_UTIL_H_ diff --git a/shell/common/skia_util.h b/shell/common/skia_util.h index 2c21b40f9b81..148aa4d34ae1 100644 --- a/shell/common/skia_util.h +++ b/shell/common/skia_util.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_SKIA_UTIL_H_ -#define SHELL_COMMON_SKIA_UTIL_H_ +#ifndef ELECTRON_SHELL_COMMON_SKIA_UTIL_H_ +#define ELECTRON_SHELL_COMMON_SKIA_UTIL_H_ namespace base { class FilePath; @@ -45,4 +45,4 @@ bool ReadImageSkiaFromICO(gfx::ImageSkia* image, HICON icon); } // namespace electron -#endif // SHELL_COMMON_SKIA_UTIL_H_ +#endif // ELECTRON_SHELL_COMMON_SKIA_UTIL_H_ diff --git a/shell/common/v8_value_converter.h b/shell/common/v8_value_converter.h index 5d6a932163ac..5a1c5e21b90c 100644 --- a/shell/common/v8_value_converter.h +++ b/shell/common/v8_value_converter.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_V8_VALUE_CONVERTER_H_ -#define SHELL_COMMON_V8_VALUE_CONVERTER_H_ +#ifndef ELECTRON_SHELL_COMMON_V8_VALUE_CONVERTER_H_ +#define ELECTRON_SHELL_COMMON_V8_VALUE_CONVERTER_H_ #include @@ -75,4 +75,4 @@ class V8ValueConverter { } // namespace electron -#endif // SHELL_COMMON_V8_VALUE_CONVERTER_H_ +#endif // ELECTRON_SHELL_COMMON_V8_VALUE_CONVERTER_H_ diff --git a/shell/common/v8_value_serializer.h b/shell/common/v8_value_serializer.h index 1a2513a6497b..b75ed82a3228 100644 --- a/shell/common/v8_value_serializer.h +++ b/shell/common/v8_value_serializer.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_V8_VALUE_SERIALIZER_H_ -#define SHELL_COMMON_V8_VALUE_SERIALIZER_H_ +#ifndef ELECTRON_SHELL_COMMON_V8_VALUE_SERIALIZER_H_ +#define ELECTRON_SHELL_COMMON_V8_VALUE_SERIALIZER_H_ #include "base/containers/span.h" @@ -30,4 +30,4 @@ v8::Local DeserializeV8Value(v8::Isolate* isolate, } // namespace electron -#endif // SHELL_COMMON_V8_VALUE_SERIALIZER_H_ +#endif // ELECTRON_SHELL_COMMON_V8_VALUE_SERIALIZER_H_ diff --git a/shell/common/world_ids.h b/shell/common/world_ids.h index 90fa6c07f5cb..aee655a3a6a2 100644 --- a/shell/common/world_ids.h +++ b/shell/common/world_ids.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_COMMON_WORLD_IDS_H_ -#define SHELL_COMMON_WORLD_IDS_H_ +#ifndef ELECTRON_SHELL_COMMON_WORLD_IDS_H_ +#define ELECTRON_SHELL_COMMON_WORLD_IDS_H_ #include "third_party/blink/renderer/platform/bindings/dom_wrapper_world.h" // nogncheck @@ -27,4 +27,4 @@ enum WorldIDs : int32_t { } // namespace electron -#endif // SHELL_COMMON_WORLD_IDS_H_ +#endif // ELECTRON_SHELL_COMMON_WORLD_IDS_H_ diff --git a/shell/renderer/api/context_bridge/object_cache.h b/shell/renderer/api/context_bridge/object_cache.h index 0bf6a623d1e0..4d6a2dbd2f95 100644 --- a/shell/renderer/api/context_bridge/object_cache.h +++ b/shell/renderer/api/context_bridge/object_cache.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_RENDERER_API_CONTEXT_BRIDGE_OBJECT_CACHE_H_ -#define SHELL_RENDERER_API_CONTEXT_BRIDGE_OBJECT_CACHE_H_ +#ifndef ELECTRON_SHELL_RENDERER_API_CONTEXT_BRIDGE_OBJECT_CACHE_H_ +#define ELECTRON_SHELL_RENDERER_API_CONTEXT_BRIDGE_OBJECT_CACHE_H_ #include #include @@ -44,4 +44,4 @@ class ObjectCache final { } // namespace electron -#endif // SHELL_RENDERER_API_CONTEXT_BRIDGE_OBJECT_CACHE_H_ +#endif // ELECTRON_SHELL_RENDERER_API_CONTEXT_BRIDGE_OBJECT_CACHE_H_ diff --git a/shell/renderer/api/electron_api_context_bridge.h b/shell/renderer/api/electron_api_context_bridge.h index 10392e5959c2..86f793904ebb 100644 --- a/shell/renderer/api/electron_api_context_bridge.h +++ b/shell/renderer/api/electron_api_context_bridge.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_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_ -#define SHELL_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_ +#ifndef ELECTRON_SHELL_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_ +#define ELECTRON_SHELL_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_ #include "shell/renderer/api/context_bridge/object_cache.h" #include "v8/include/v8.h" @@ -55,4 +55,4 @@ v8::MaybeLocal CreateProxyForAPI( } // namespace electron -#endif // SHELL_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_ +#endif // ELECTRON_SHELL_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_ diff --git a/shell/renderer/api/electron_api_spell_check_client.h b/shell/renderer/api/electron_api_spell_check_client.h index 749bf76dc7fd..d0b0a9b1956a 100644 --- a/shell/renderer/api/electron_api_spell_check_client.h +++ b/shell/renderer/api/electron_api_spell_check_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_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_ -#define SHELL_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_ +#ifndef ELECTRON_SHELL_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_ +#define ELECTRON_SHELL_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_ #include #include @@ -113,4 +113,4 @@ class SpellCheckClient : public blink::WebSpellCheckPanelHostClient, } // namespace electron -#endif // SHELL_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_ +#endif // ELECTRON_SHELL_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_ diff --git a/shell/renderer/browser_exposed_renderer_interfaces.h b/shell/renderer/browser_exposed_renderer_interfaces.h index 97e32ba7687d..c98c7bb23e41 100644 --- a/shell/renderer/browser_exposed_renderer_interfaces.h +++ b/shell/renderer/browser_exposed_renderer_interfaces.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_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_ -#define SHELL_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_ +#ifndef ELECTRON_SHELL_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_ +#define ELECTRON_SHELL_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_ namespace mojo { class BinderMap; @@ -19,4 +19,4 @@ void ExposeElectronRendererInterfacesToBrowser( electron::RendererClientBase* client, mojo::BinderMap* binders); -#endif // SHELL_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_ +#endif // ELECTRON_SHELL_RENDERER_BROWSER_EXPOSED_RENDERER_INTERFACES_H_ diff --git a/shell/renderer/content_settings_observer.h b/shell/renderer/content_settings_observer.h index 46b1cc26f0c7..ca73c13a78a1 100644 --- a/shell/renderer/content_settings_observer.h +++ b/shell/renderer/content_settings_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_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ -#define SHELL_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ +#ifndef ELECTRON_SHELL_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ +#define ELECTRON_SHELL_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ #include "base/compiler_specific.h" #include "content/public/renderer/render_frame_observer.h" @@ -31,4 +31,4 @@ class ContentSettingsObserver : public content::RenderFrameObserver, } // namespace electron -#endif // SHELL_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ +#endif // ELECTRON_SHELL_RENDERER_CONTENT_SETTINGS_OBSERVER_H_ diff --git a/shell/renderer/electron_api_service_impl.h b/shell/renderer/electron_api_service_impl.h index 7318118be758..51225208f442 100644 --- a/shell/renderer/electron_api_service_impl.h +++ b/shell/renderer/electron_api_service_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_RENDERER_ELECTRON_API_SERVICE_IMPL_H_ -#define SHELL_RENDERER_ELECTRON_API_SERVICE_IMPL_H_ +#ifndef ELECTRON_SHELL_RENDERER_ELECTRON_API_SERVICE_IMPL_H_ +#define ELECTRON_SHELL_RENDERER_ELECTRON_API_SERVICE_IMPL_H_ #include @@ -70,4 +70,4 @@ class ElectronApiServiceImpl : public mojom::ElectronRenderer, } // namespace electron -#endif // SHELL_RENDERER_ELECTRON_API_SERVICE_IMPL_H_ +#endif // ELECTRON_SHELL_RENDERER_ELECTRON_API_SERVICE_IMPL_H_ diff --git a/shell/renderer/electron_autofill_agent.h b/shell/renderer/electron_autofill_agent.h index 365ad1cd7f7f..86bd9fa8f39d 100644 --- a/shell/renderer/electron_autofill_agent.h +++ b/shell/renderer/electron_autofill_agent.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_RENDERER_ELECTRON_AUTOFILL_AGENT_H_ -#define SHELL_RENDERER_ELECTRON_AUTOFILL_AGENT_H_ +#ifndef ELECTRON_SHELL_RENDERER_ELECTRON_AUTOFILL_AGENT_H_ +#define ELECTRON_SHELL_RENDERER_ELECTRON_AUTOFILL_AGENT_H_ #include @@ -93,4 +93,4 @@ class AutofillAgent : public content::RenderFrameObserver, } // namespace electron -#endif // SHELL_RENDERER_ELECTRON_AUTOFILL_AGENT_H_ +#endif // ELECTRON_SHELL_RENDERER_ELECTRON_AUTOFILL_AGENT_H_ diff --git a/shell/renderer/electron_render_frame_observer.h b/shell/renderer/electron_render_frame_observer.h index 55eac80df65a..bbfd4970489c 100644 --- a/shell/renderer/electron_render_frame_observer.h +++ b/shell/renderer/electron_render_frame_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_RENDERER_ELECTRON_RENDER_FRAME_OBSERVER_H_ -#define SHELL_RENDERER_ELECTRON_RENDER_FRAME_OBSERVER_H_ +#ifndef ELECTRON_SHELL_RENDERER_ELECTRON_RENDER_FRAME_OBSERVER_H_ +#define ELECTRON_SHELL_RENDERER_ELECTRON_RENDER_FRAME_OBSERVER_H_ #include @@ -50,4 +50,4 @@ class ElectronRenderFrameObserver : public content::RenderFrameObserver { } // namespace electron -#endif // SHELL_RENDERER_ELECTRON_RENDER_FRAME_OBSERVER_H_ +#endif // ELECTRON_SHELL_RENDERER_ELECTRON_RENDER_FRAME_OBSERVER_H_ diff --git a/shell/renderer/electron_renderer_client.h b/shell/renderer/electron_renderer_client.h index 4c308dfdbe9f..53e3d6709475 100644 --- a/shell/renderer/electron_renderer_client.h +++ b/shell/renderer/electron_renderer_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_RENDERER_ELECTRON_RENDERER_CLIENT_H_ -#define SHELL_RENDERER_ELECTRON_RENDERER_CLIENT_H_ +#ifndef ELECTRON_SHELL_RENDERER_ELECTRON_RENDERER_CLIENT_H_ +#define ELECTRON_SHELL_RENDERER_ELECTRON_RENDERER_CLIENT_H_ #include #include @@ -66,4 +66,4 @@ class ElectronRendererClient : public RendererClientBase { } // namespace electron -#endif // SHELL_RENDERER_ELECTRON_RENDERER_CLIENT_H_ +#endif // ELECTRON_SHELL_RENDERER_ELECTRON_RENDERER_CLIENT_H_ diff --git a/shell/renderer/electron_renderer_pepper_host_factory.h b/shell/renderer/electron_renderer_pepper_host_factory.h index c4398a158469..b9588680c08e 100644 --- a/shell/renderer/electron_renderer_pepper_host_factory.h +++ b/shell/renderer/electron_renderer_pepper_host_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_RENDERER_ELECTRON_RENDERER_PEPPER_HOST_FACTORY_H_ -#define SHELL_RENDERER_ELECTRON_RENDERER_PEPPER_HOST_FACTORY_H_ +#ifndef ELECTRON_SHELL_RENDERER_ELECTRON_RENDERER_PEPPER_HOST_FACTORY_H_ +#define ELECTRON_SHELL_RENDERER_ELECTRON_RENDERER_PEPPER_HOST_FACTORY_H_ #include @@ -37,4 +37,4 @@ class ElectronRendererPepperHostFactory : public ppapi::host::HostFactory { content::RendererPpapiHost* host_; }; -#endif // SHELL_RENDERER_ELECTRON_RENDERER_PEPPER_HOST_FACTORY_H_ +#endif // ELECTRON_SHELL_RENDERER_ELECTRON_RENDERER_PEPPER_HOST_FACTORY_H_ diff --git a/shell/renderer/electron_sandboxed_renderer_client.h b/shell/renderer/electron_sandboxed_renderer_client.h index 545ceb9b7841..3647893a75ec 100644 --- a/shell/renderer/electron_sandboxed_renderer_client.h +++ b/shell/renderer/electron_sandboxed_renderer_client.h @@ -1,8 +1,8 @@ // Copyright (c) 2016 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_RENDERER_ELECTRON_SANDBOXED_RENDERER_CLIENT_H_ -#define SHELL_RENDERER_ELECTRON_SANDBOXED_RENDERER_CLIENT_H_ +#ifndef ELECTRON_SHELL_RENDERER_ELECTRON_SANDBOXED_RENDERER_CLIENT_H_ +#define ELECTRON_SHELL_RENDERER_ELECTRON_SANDBOXED_RENDERER_CLIENT_H_ #include #include @@ -55,4 +55,4 @@ class ElectronSandboxedRendererClient : public RendererClientBase { } // namespace electron -#endif // SHELL_RENDERER_ELECTRON_SANDBOXED_RENDERER_CLIENT_H_ +#endif // ELECTRON_SHELL_RENDERER_ELECTRON_SANDBOXED_RENDERER_CLIENT_H_ diff --git a/shell/renderer/extensions/electron_extensions_dispatcher_delegate.h b/shell/renderer/extensions/electron_extensions_dispatcher_delegate.h index b66edc5fdc20..1b1d1f9ec3e6 100644 --- a/shell/renderer/extensions/electron_extensions_dispatcher_delegate.h +++ b/shell/renderer/extensions/electron_extensions_dispatcher_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_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_DISPATCHER_DELEGATE_H_ -#define SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_DISPATCHER_DELEGATE_H_ +#ifndef ELECTRON_SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_DISPATCHER_DELEGATE_H_ +#define ELECTRON_SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_DISPATCHER_DELEGATE_H_ #include #include @@ -39,4 +39,4 @@ class ElectronExtensionsDispatcherDelegate extensions::NativeExtensionBindingsSystem* bindings_system) override; }; -#endif // SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_DISPATCHER_DELEGATE_H_ +#endif // ELECTRON_SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_DISPATCHER_DELEGATE_H_ diff --git a/shell/renderer/extensions/electron_extensions_renderer_client.h b/shell/renderer/extensions/electron_extensions_renderer_client.h index 9f992a1a2a8b..4f9091306283 100644 --- a/shell/renderer/extensions/electron_extensions_renderer_client.h +++ b/shell/renderer/extensions/electron_extensions_renderer_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_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_RENDERER_CLIENT_H_ -#define SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_RENDERER_CLIENT_H_ +#ifndef ELECTRON_SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_RENDERER_CLIENT_H_ +#define ELECTRON_SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_RENDERER_CLIENT_H_ #include @@ -51,4 +51,4 @@ class ElectronExtensionsRendererClient } // namespace electron -#endif // SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_RENDERER_CLIENT_H_ +#endif // ELECTRON_SHELL_RENDERER_EXTENSIONS_ELECTRON_EXTENSIONS_RENDERER_CLIENT_H_ diff --git a/shell/renderer/guest_view_container.h b/shell/renderer/guest_view_container.h index 54daed1f494f..caa2983a0765 100644 --- a/shell/renderer/guest_view_container.h +++ b/shell/renderer/guest_view_container.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_RENDERER_GUEST_VIEW_CONTAINER_H_ -#define SHELL_RENDERER_GUEST_VIEW_CONTAINER_H_ +#ifndef ELECTRON_SHELL_RENDERER_GUEST_VIEW_CONTAINER_H_ +#define ELECTRON_SHELL_RENDERER_GUEST_VIEW_CONTAINER_H_ #include "base/callback.h" @@ -44,4 +44,4 @@ class GuestViewContainer { } // namespace electron -#endif // SHELL_RENDERER_GUEST_VIEW_CONTAINER_H_ +#endif // ELECTRON_SHELL_RENDERER_GUEST_VIEW_CONTAINER_H_ diff --git a/shell/renderer/pepper_helper.h b/shell/renderer/pepper_helper.h index 674918156cd0..a73aec8fdd6f 100644 --- a/shell/renderer/pepper_helper.h +++ b/shell/renderer/pepper_helper.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_RENDERER_PEPPER_HELPER_H_ -#define SHELL_RENDERER_PEPPER_HELPER_H_ +#ifndef ELECTRON_SHELL_RENDERER_PEPPER_HELPER_H_ +#define ELECTRON_SHELL_RENDERER_PEPPER_HELPER_H_ #include "base/compiler_specific.h" #include "base/component_export.h" @@ -25,4 +25,4 @@ class PepperHelper : public content::RenderFrameObserver { void OnDestruct() override; }; -#endif // SHELL_RENDERER_PEPPER_HELPER_H_ +#endif // ELECTRON_SHELL_RENDERER_PEPPER_HELPER_H_ diff --git a/shell/renderer/printing/print_render_frame_helper_delegate.h b/shell/renderer/printing/print_render_frame_helper_delegate.h index 40b9f569f2eb..9733851552ee 100644 --- a/shell/renderer/printing/print_render_frame_helper_delegate.h +++ b/shell/renderer/printing/print_render_frame_helper_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_RENDERER_PRINTING_PRINT_RENDER_FRAME_HELPER_DELEGATE_H_ -#define SHELL_RENDERER_PRINTING_PRINT_RENDER_FRAME_HELPER_DELEGATE_H_ +#ifndef ELECTRON_SHELL_RENDERER_PRINTING_PRINT_RENDER_FRAME_HELPER_DELEGATE_H_ +#define ELECTRON_SHELL_RENDERER_PRINTING_PRINT_RENDER_FRAME_HELPER_DELEGATE_H_ #include "components/printing/renderer/print_render_frame_helper.h" @@ -30,4 +30,4 @@ class PrintRenderFrameHelperDelegate } // namespace electron -#endif // SHELL_RENDERER_PRINTING_PRINT_RENDER_FRAME_HELPER_DELEGATE_H_ +#endif // ELECTRON_SHELL_RENDERER_PRINTING_PRINT_RENDER_FRAME_HELPER_DELEGATE_H_ diff --git a/shell/renderer/renderer_client_base.h b/shell/renderer/renderer_client_base.h index 904b43e9dbef..56e53ab764cf 100644 --- a/shell/renderer/renderer_client_base.h +++ b/shell/renderer/renderer_client_base.h @@ -2,8 +2,8 @@ // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. -#ifndef SHELL_RENDERER_RENDERER_CLIENT_BASE_H_ -#define SHELL_RENDERER_RENDERER_CLIENT_BASE_H_ +#ifndef ELECTRON_SHELL_RENDERER_RENDERER_CLIENT_BASE_H_ +#define ELECTRON_SHELL_RENDERER_RENDERER_CLIENT_BASE_H_ #include #include @@ -171,4 +171,4 @@ class RendererClientBase : public content::ContentRendererClient } // namespace electron -#endif // SHELL_RENDERER_RENDERER_CLIENT_BASE_H_ +#endif // ELECTRON_SHELL_RENDERER_RENDERER_CLIENT_BASE_H_ diff --git a/shell/renderer/web_worker_observer.h b/shell/renderer/web_worker_observer.h index cceee69e9c86..0b05644fa0fb 100644 --- a/shell/renderer/web_worker_observer.h +++ b/shell/renderer/web_worker_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_RENDERER_WEB_WORKER_OBSERVER_H_ -#define SHELL_RENDERER_WEB_WORKER_OBSERVER_H_ +#ifndef ELECTRON_SHELL_RENDERER_WEB_WORKER_OBSERVER_H_ +#define ELECTRON_SHELL_RENDERER_WEB_WORKER_OBSERVER_H_ #include @@ -37,4 +37,4 @@ class WebWorkerObserver { } // namespace electron -#endif // SHELL_RENDERER_WEB_WORKER_OBSERVER_H_ +#endif // ELECTRON_SHELL_RENDERER_WEB_WORKER_OBSERVER_H_ diff --git a/shell/utility/electron_content_utility_client.h b/shell/utility/electron_content_utility_client.h index a3908ee900d9..1c17e5ca0654 100644 --- a/shell/utility/electron_content_utility_client.h +++ b/shell/utility/electron_content_utility_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_UTILITY_ELECTRON_CONTENT_UTILITY_CLIENT_H_ -#define SHELL_UTILITY_ELECTRON_CONTENT_UTILITY_CLIENT_H_ +#ifndef ELECTRON_SHELL_UTILITY_ELECTRON_CONTENT_UTILITY_CLIENT_H_ +#define ELECTRON_SHELL_UTILITY_ELECTRON_CONTENT_UTILITY_CLIENT_H_ #include @@ -47,4 +47,4 @@ class ElectronContentUtilityClient : public content::ContentUtilityClient { } // namespace electron -#endif // SHELL_UTILITY_ELECTRON_CONTENT_UTILITY_CLIENT_H_ +#endif // ELECTRON_SHELL_UTILITY_ELECTRON_CONTENT_UTILITY_CLIENT_H_