Browse Source

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

Co-authored-by: Milan Burda <[email protected]>
trop[bot] 3 years ago
parent
commit
6f1f8b7847
100 changed files with 306 additions and 305 deletions
  1. 2 2
      docs/development/creating-api.md
  2. 10 9
      script/lint.js
  3. 3 3
      shell/app/command_line_args.h
  4. 3 3
      shell/app/electron_content_client.h
  5. 3 3
      shell/app/electron_crash_reporter_client.h
  6. 3 3
      shell/app/electron_library_main.h
  7. 3 3
      shell/app/electron_main.h
  8. 3 3
      shell/app/electron_main_delegate.h
  9. 3 3
      shell/app/electron_main_delegate_mac.h
  10. 3 3
      shell/app/node_main.h
  11. 3 3
      shell/app/uv_task_runner.h
  12. 3 3
      shell/browser/api/electron_api_app.h
  13. 3 3
      shell/browser/api/electron_api_auto_updater.h
  14. 3 3
      shell/browser/api/electron_api_base_window.h
  15. 3 3
      shell/browser/api/electron_api_browser_view.h
  16. 3 3
      shell/browser/api/electron_api_browser_window.h
  17. 3 3
      shell/browser/api/electron_api_cookies.h
  18. 3 3
      shell/browser/api/electron_api_crash_reporter.h
  19. 3 3
      shell/browser/api/electron_api_data_pipe_holder.h
  20. 3 3
      shell/browser/api/electron_api_debugger.h
  21. 3 3
      shell/browser/api/electron_api_desktop_capturer.h
  22. 3 3
      shell/browser/api/electron_api_download_item.h
  23. 3 3
      shell/browser/api/electron_api_event_emitter.h
  24. 3 3
      shell/browser/api/electron_api_global_shortcut.h
  25. 3 3
      shell/browser/api/electron_api_in_app_purchase.h
  26. 3 3
      shell/browser/api/electron_api_menu.h
  27. 3 3
      shell/browser/api/electron_api_menu_mac.h
  28. 3 3
      shell/browser/api/electron_api_menu_views.h
  29. 3 3
      shell/browser/api/electron_api_native_theme.h
  30. 3 3
      shell/browser/api/electron_api_net_log.h
  31. 3 3
      shell/browser/api/electron_api_notification.h
  32. 3 3
      shell/browser/api/electron_api_power_monitor.h
  33. 3 3
      shell/browser/api/electron_api_power_save_blocker.h
  34. 3 3
      shell/browser/api/electron_api_protocol.h
  35. 3 3
      shell/browser/api/electron_api_safe_storage.h
  36. 3 3
      shell/browser/api/electron_api_screen.h
  37. 3 3
      shell/browser/api/electron_api_service_worker_context.h
  38. 3 3
      shell/browser/api/electron_api_session.h
  39. 3 3
      shell/browser/api/electron_api_system_preferences.h
  40. 3 3
      shell/browser/api/electron_api_tray.h
  41. 3 3
      shell/browser/api/electron_api_url_loader.h
  42. 3 3
      shell/browser/api/electron_api_view.h
  43. 3 3
      shell/browser/api/electron_api_web_contents.h
  44. 3 3
      shell/browser/api/electron_api_web_contents_view.h
  45. 3 3
      shell/browser/api/electron_api_web_frame_main.h
  46. 3 3
      shell/browser/api/electron_api_web_request.h
  47. 3 3
      shell/browser/api/event.h
  48. 3 3
      shell/browser/api/frame_subscriber.h
  49. 3 3
      shell/browser/api/gpu_info_enumerator.h
  50. 3 3
      shell/browser/api/gpuinfo_manager.h
  51. 3 3
      shell/browser/api/message_port.h
  52. 3 3
      shell/browser/api/process_metric.h
  53. 3 3
      shell/browser/api/save_page_handler.h
  54. 3 3
      shell/browser/api/ui_event.h
  55. 3 3
      shell/browser/api/views/electron_api_image_view.h
  56. 3 3
      shell/browser/auto_updater.h
  57. 3 3
      shell/browser/badging/badge_manager.h
  58. 3 3
      shell/browser/badging/badge_manager_factory.h
  59. 3 3
      shell/browser/bluetooth/electron_bluetooth_delegate.h
  60. 3 3
      shell/browser/browser.h
  61. 3 3
      shell/browser/browser_observer.h
  62. 3 3
      shell/browser/browser_process_impl.h
  63. 3 3
      shell/browser/certificate_manager_model.h
  64. 3 3
      shell/browser/child_web_contents_tracker.h
  65. 3 3
      shell/browser/cookie_change_notifier.h
  66. 3 3
      shell/browser/electron_autofill_driver.h
  67. 3 3
      shell/browser/electron_autofill_driver_factory.h
  68. 3 3
      shell/browser/electron_browser_client.h
  69. 3 3
      shell/browser/electron_browser_context.h
  70. 3 3
      shell/browser/electron_browser_handler_impl.h
  71. 3 3
      shell/browser/electron_browser_main_parts.h
  72. 3 3
      shell/browser/electron_download_manager_delegate.h
  73. 3 3
      shell/browser/electron_gpu_client.h
  74. 3 3
      shell/browser/electron_javascript_dialog_manager.h
  75. 3 3
      shell/browser/electron_navigation_throttle.h
  76. 3 3
      shell/browser/electron_pdf_web_contents_helper_client.h
  77. 3 3
      shell/browser/electron_permission_manager.h
  78. 3 3
      shell/browser/electron_quota_permission_context.h
  79. 3 3
      shell/browser/electron_speech_recognition_manager_delegate.h
  80. 3 3
      shell/browser/electron_web_ui_controller_factory.h
  81. 3 3
      shell/browser/event_emitter_mixin.h
  82. 3 3
      shell/browser/extended_web_contents_observer.h
  83. 3 3
      shell/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.h
  84. 3 3
      shell/browser/extensions/api/i18n/i18n_api.h
  85. 3 3
      shell/browser/extensions/api/management/electron_management_api_delegate.h
  86. 3 3
      shell/browser/extensions/api/resources_private/resources_private_api.h
  87. 3 3
      shell/browser/extensions/api/runtime/electron_runtime_api_delegate.h
  88. 3 3
      shell/browser/extensions/api/streams_private/streams_private_api.h
  89. 3 3
      shell/browser/extensions/api/tabs/tabs_api.h
  90. 3 3
      shell/browser/extensions/electron_browser_context_keyed_service_factories.h
  91. 3 3
      shell/browser/extensions/electron_component_extension_resource_manager.h
  92. 3 3
      shell/browser/extensions/electron_display_info_provider.h
  93. 3 3
      shell/browser/extensions/electron_extension_host_delegate.h
  94. 3 3
      shell/browser/extensions/electron_extension_loader.h
  95. 3 3
      shell/browser/extensions/electron_extension_message_filter.h
  96. 3 3
      shell/browser/extensions/electron_extension_system.h
  97. 3 3
      shell/browser/extensions/electron_extension_system_factory.h
  98. 3 3
      shell/browser/extensions/electron_extension_web_contents_observer.h
  99. 3 3
      shell/browser/extensions/electron_extensions_api_client.h
  100. 3 3
      shell/browser/extensions/electron_extensions_browser_api_provider.h

+ 2 - 2
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"

+ 10 - 9
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 () {

+ 3 - 3
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_

+ 3 - 3
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 <vector>
 
@@ -38,4 +38,4 @@ class ElectronContentClient : public content::ContentClient {
 
 }  // namespace electron
 
-#endif  // SHELL_APP_ELECTRON_CONTENT_CLIENT_H_
+#endif  // ELECTRON_SHELL_APP_ELECTRON_CONTENT_CLIENT_H_

+ 3 - 3
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 <map>
 #include <string>
@@ -91,4 +91,4 @@ class ElectronCrashReporterClient : public crash_reporter::CrashReporterClient {
   ~ElectronCrashReporterClient() override;
 };
 
-#endif  // SHELL_APP_ELECTRON_CRASH_REPORTER_CLIENT_H_
+#endif  // ELECTRON_SHELL_APP_ELECTRON_CRASH_REPORTER_CLIENT_H_

+ 3 - 3
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_

+ 3 - 3
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_

+ 3 - 3
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 <memory>
 #include <string>
@@ -66,4 +66,4 @@ class ElectronMainDelegate : public content::ContentMainDelegate {
 
 }  // namespace electron
 
-#endif  // SHELL_APP_ELECTRON_MAIN_DELEGATE_H_
+#endif  // ELECTRON_SHELL_APP_ELECTRON_MAIN_DELEGATE_H_

+ 3 - 3
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_

+ 3 - 3
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_

+ 3 - 3
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 <map>
 
@@ -47,4 +47,4 @@ class UvTaskRunner : public base::SingleThreadTaskRunner {
 
 }  // namespace electron
 
-#endif  // SHELL_APP_UV_TASK_RUNNER_H_
+#endif  // ELECTRON_SHELL_APP_UV_TASK_RUNNER_H_

+ 3 - 3
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 <map>
 #include <memory>
@@ -271,4 +271,4 @@ class App : public ElectronBrowserClient::Delegate,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_APP_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_APP_H_

+ 3 - 3
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 <string>
 
@@ -64,4 +64,4 @@ class AutoUpdater : public gin::Wrappable<AutoUpdater>,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_AUTO_UPDATER_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_AUTO_UPDATER_H_

+ 3 - 3
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 <map>
 #include <memory>
@@ -287,4 +287,4 @@ class BaseWindow : public gin_helper::TrackableObject<BaseWindow>,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_BASE_WINDOW_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BASE_WINDOW_H_

+ 3 - 3
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 <memory>
 #include <string>
@@ -94,4 +94,4 @@ class BrowserView : public gin::Wrappable<BrowserView>,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_BROWSER_VIEW_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BROWSER_VIEW_H_

+ 3 - 3
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 <string>
 #include <vector>
@@ -133,4 +133,4 @@ class BrowserWindow : public BaseWindow,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_BROWSER_WINDOW_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BROWSER_WINDOW_H_

+ 3 - 3
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 <string>
 
@@ -72,4 +72,4 @@ class Cookies : public gin::Wrappable<Cookies>,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_COOKIES_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_COOKIES_H_

+ 3 - 3
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 <map>
 #include <string>
@@ -38,4 +38,4 @@ void Start(const std::string& submit_url,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_CRASH_REPORTER_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_CRASH_REPORTER_H_

+ 3 - 3
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 <string>
 
@@ -53,4 +53,4 @@ class DataPipeHolder : public gin::Wrappable<DataPipeHolder> {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_DATA_PIPE_HOLDER_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DATA_PIPE_HOLDER_H_

+ 3 - 3
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 <map>
 
@@ -78,4 +78,4 @@ class Debugger : public gin::Wrappable<Debugger>,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_DEBUGGER_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DEBUGGER_H_

+ 3 - 3
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 <memory>
 #include <string>
@@ -81,4 +81,4 @@ class DesktopCapturer : public gin::Wrappable<DesktopCapturer>,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_DESKTOP_CAPTURER_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DESKTOP_CAPTURER_H_

+ 3 - 3
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 <string>
 
@@ -91,4 +91,4 @@ class DownloadItem : public gin::Wrappable<DownloadItem>,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_DOWNLOAD_ITEM_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_DOWNLOAD_ITEM_H_

+ 3 - 3
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 <typename T>
@@ -18,4 +18,4 @@ v8::Local<v8::Object> GetEventEmitterPrototype(v8::Isolate* isolate);
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_EVENT_EMITTER_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_EVENT_EMITTER_H_

+ 3 - 3
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 <map>
 #include <vector>
@@ -60,4 +60,4 @@ class GlobalShortcut : public extensions::GlobalShortcutListener::Observer,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_GLOBAL_SHORTCUT_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_GLOBAL_SHORTCUT_H_

+ 3 - 3
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 <string>
 #include <vector>
@@ -55,4 +55,4 @@ class InAppPurchase : public gin::Wrappable<InAppPurchase>,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_IN_APP_PURCHASE_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_IN_APP_PURCHASE_H_

+ 3 - 3
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 <memory>
 #include <string>
@@ -150,4 +150,4 @@ struct Converter<electron::ElectronMenuModel*> {
 
 }  // namespace gin
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_MENU_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_MENU_H_

+ 3 - 3
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_

+ 3 - 3
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 <map>
 #include <memory>
@@ -43,4 +43,4 @@ class MenuViews : public Menu {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_MENU_VIEWS_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_MENU_VIEWS_H_

+ 3 - 3
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<ui::NativeTheme::ThemeSource> {
 
 }  // namespace gin
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_NATIVE_THEME_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NATIVE_THEME_H_

+ 3 - 3
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<NetLog> {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_NET_LOG_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NET_LOG_H_

+ 3 - 3
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 <string>
 #include <vector>
@@ -121,4 +121,4 @@ class Notification : public gin::Wrappable<Notification>,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_NOTIFICATION_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_NOTIFICATION_H_

+ 3 - 3
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<PowerMonitor>,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_POWER_MONITOR_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_POWER_MONITOR_H_

+ 3 - 3
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 <map>
 
@@ -60,4 +60,4 @@ class PowerSaveBlocker : public gin::Wrappable<PowerSaveBlocker> {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_POWER_SAVE_BLOCKER_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_POWER_SAVE_BLOCKER_H_

+ 3 - 3
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 <string>
 #include <vector>
@@ -103,4 +103,4 @@ class Protocol : public gin::Wrappable<Protocol> {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_PROTOCOL_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_PROTOCOL_H_

+ 3 - 3
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_

+ 3 - 3
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 <vector>
 
@@ -62,4 +62,4 @@ class Screen : public gin::Wrappable<Screen>,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_SCREEN_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SCREEN_H_

+ 3 - 3
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_

+ 3 - 3
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 <string>
 #include <vector>
@@ -197,4 +197,4 @@ class Session : public gin::Wrappable<Session>,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_SESSION_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SESSION_H_

+ 3 - 3
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 <memory>
 #include <string>
@@ -172,4 +172,4 @@ class SystemPreferences
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_SYSTEM_PREFERENCES_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_SYSTEM_PREFERENCES_H_

+ 3 - 3
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 <memory>
 #include <string>
@@ -115,4 +115,4 @@ class Tray : public gin::Wrappable<Tray>,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_TRAY_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_TRAY_H_

+ 3 - 3
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 <memory>
 #include <string>
@@ -125,4 +125,4 @@ class SimpleURLLoaderWrapper
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_URL_LOADER_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_URL_LOADER_H_

+ 3 - 3
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 <vector>
 
@@ -53,4 +53,4 @@ class View : public gin_helper::Wrappable<View> {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_VIEW_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_VIEW_H_

+ 3 - 3
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 <map>
 #include <memory>
@@ -830,4 +830,4 @@ class WebContents : public ExclusiveAccessContext,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_WEB_CONTENTS_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_CONTENTS_H_

+ 3 - 3
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_

+ 3 - 3
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 <string>
 #include <vector>
@@ -134,4 +134,4 @@ class WebFrameMain : public gin::Wrappable<WebFrameMain>,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_WEB_FRAME_MAIN_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_FRAME_MAIN_H_

+ 3 - 3
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 <map>
 #include <set>
@@ -155,4 +155,4 @@ class WebRequest : public gin::Wrappable<WebRequest>, public WebRequestAPI {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_ELECTRON_API_WEB_REQUEST_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_WEB_REQUEST_H_

+ 3 - 3
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<Event> {
 
 }  // namespace gin_helper
 
-#endif  // SHELL_BROWSER_API_EVENT_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_EVENT_H_

+ 3 - 3
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 <memory>
 #include <string>
@@ -79,4 +79,4 @@ class FrameSubscriber : public content::WebContentsObserver,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_FRAME_SUBSCRIBER_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_FRAME_SUBSCRIBER_H_

+ 3 - 3
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 <memory>
 #include <stack>
@@ -59,4 +59,4 @@ class GPUInfoEnumerator final : public gpu::GPUInfo::Enumerator {
 };
 
 }  // namespace electron
-#endif  // SHELL_BROWSER_API_GPU_INFO_ENUMERATOR_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_GPU_INFO_ENUMERATOR_H_

+ 3 - 3
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 <memory>
 #include <vector>
@@ -48,4 +48,4 @@ class GPUInfoManager : public content::GpuDataManagerObserver {
 };
 
 }  // namespace electron
-#endif  // SHELL_BROWSER_API_GPUINFO_MANAGER_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_GPUINFO_MANAGER_H_

+ 3 - 3
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 <memory>
 #include <vector>
@@ -88,4 +88,4 @@ class MessagePort : public gin::Wrappable<MessagePort>, mojo::MessageReceiver {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_MESSAGE_PORT_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_MESSAGE_PORT_H_

+ 3 - 3
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 <memory>
 #include <string>
@@ -62,4 +62,4 @@ struct ProcessMetric {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_PROCESS_METRIC_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_PROCESS_METRIC_H_

+ 3 - 3
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_

+ 3 - 3
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<v8::Object> CreateEventFromFlags(int flags);
 }  // namespace api
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_API_UI_EVENT_H_
+#endif  // ELECTRON_SHELL_BROWSER_API_UI_EVENT_H_

+ 3 - 3
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_

+ 3 - 3
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 <map>
 #include <string>
@@ -76,4 +76,4 @@ class AutoUpdater {
 
 }  // namespace auto_updater
 
-#endif  // SHELL_BROWSER_AUTO_UPDATER_H_
+#endif  // ELECTRON_SHELL_BROWSER_AUTO_UPDATER_H_

+ 3 - 3
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 <memory>
 #include <string>
@@ -105,4 +105,4 @@ class BadgeManager : public KeyedService, public blink::mojom::BadgeService {
 
 }  // namespace badging
 
-#endif  // SHELL_BROWSER_BADGING_BADGE_MANAGER_H_
+#endif  // ELECTRON_SHELL_BROWSER_BADGING_BADGE_MANAGER_H_

+ 3 - 3
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_

+ 3 - 3
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 <memory>
 #include <string>
@@ -90,4 +90,4 @@ class ElectronBluetoothDelegate : public content::BluetoothDelegate {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_BLUETOOTH_ELECTRON_BLUETOOTH_DELEGATE_H_
+#endif  // ELECTRON_SHELL_BROWSER_BLUETOOTH_ELECTRON_BLUETOOTH_DELEGATE_H_

+ 3 - 3
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 <memory>
 #include <string>
@@ -378,4 +378,4 @@ class Browser : public WindowListObserver {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_BROWSER_H_
+#endif  // ELECTRON_SHELL_BROWSER_BROWSER_H_

+ 3 - 3
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 <string>
 
@@ -94,4 +94,4 @@ class BrowserObserver : public base::CheckedObserver {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_BROWSER_OBSERVER_H_
+#endif  // ELECTRON_SHELL_BROWSER_BROWSER_OBSERVER_H_

+ 3 - 3
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 <memory>
 #include <string>
@@ -114,4 +114,4 @@ class BrowserProcessImpl : public BrowserProcess {
   std::string locale_;
 };
 
-#endif  // SHELL_BROWSER_BROWSER_PROCESS_IMPL_H_
+#endif  // ELECTRON_SHELL_BROWSER_BROWSER_PROCESS_IMPL_H_

+ 3 - 3
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 <memory>
 #include <string>
@@ -113,4 +113,4 @@ class CertificateManagerModel {
   bool is_user_db_available_;
 };
 
-#endif  // SHELL_BROWSER_CERTIFICATE_MANAGER_MODEL_H_
+#endif  // ELECTRON_SHELL_BROWSER_CERTIFICATE_MANAGER_MODEL_H_

+ 3 - 3
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 <string>
 
@@ -36,4 +36,4 @@ struct ChildWebContentsTracker
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_CHILD_WEB_CONTENTS_TRACKER_H_
+#endif  // ELECTRON_SHELL_BROWSER_CHILD_WEB_CONTENTS_TRACKER_H_

+ 3 - 3
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_

+ 3 - 3
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 <memory>
 #include <vector>
@@ -46,4 +46,4 @@ class AutofillDriver : public mojom::ElectronAutofillDriver {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_ELECTRON_AUTOFILL_DRIVER_H_
+#endif  // ELECTRON_SHELL_BROWSER_ELECTRON_AUTOFILL_DRIVER_H_

+ 3 - 3
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 <memory>
 #include <unordered_map>
@@ -55,4 +55,4 @@ class AutofillDriverFactory
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_ELECTRON_AUTOFILL_DRIVER_FACTORY_H_
+#endif  // ELECTRON_SHELL_BROWSER_ELECTRON_AUTOFILL_DRIVER_FACTORY_H_

+ 3 - 3
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 <map>
 #include <memory>
@@ -326,4 +326,4 @@ class ElectronBrowserClient : public content::ContentBrowserClient,
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_ELECTRON_BROWSER_CLIENT_H_
+#endif  // ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_CLIENT_H_

+ 3 - 3
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 <map>
 #include <memory>
@@ -192,4 +192,4 @@ class ElectronBrowserContext : public content::BrowserContext {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_ELECTRON_BROWSER_CONTEXT_H_
+#endif  // ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_CONTEXT_H_

+ 3 - 3
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 <string>
 #include <vector>
@@ -80,4 +80,4 @@ class ElectronBrowserHandlerImpl : public mojom::ElectronBrowser,
   base::WeakPtrFactory<ElectronBrowserHandlerImpl> weak_factory_{this};
 };
 }  // namespace electron
-#endif  // SHELL_BROWSER_ELECTRON_BROWSER_HANDLER_IMPL_H_
+#endif  // ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_HANDLER_IMPL_H_

+ 3 - 3
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 <memory>
 #include <string>
@@ -183,4 +183,4 @@ class ElectronBrowserMainParts : public content::BrowserMainParts {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_ELECTRON_BROWSER_MAIN_PARTS_H_
+#endif  // ELECTRON_SHELL_BROWSER_ELECTRON_BROWSER_MAIN_PARTS_H_

+ 3 - 3
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_

+ 3 - 3
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_

+ 3 - 3
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 <map>
 #include <string>
@@ -48,4 +48,4 @@ class ElectronJavaScriptDialogManager
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_ELECTRON_JAVASCRIPT_DIALOG_MANAGER_H_
+#endif  // ELECTRON_SHELL_BROWSER_ELECTRON_JAVASCRIPT_DIALOG_MANAGER_H_

+ 3 - 3
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_

+ 3 - 3
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_

+ 3 - 3
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 <memory>
 #include <vector>
@@ -135,4 +135,4 @@ class ElectronPermissionManager : public content::PermissionControllerDelegate {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_ELECTRON_PERMISSION_MANAGER_H_
+#endif  // ELECTRON_SHELL_BROWSER_ELECTRON_PERMISSION_MANAGER_H_

+ 3 - 3
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_

+ 3 - 3
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 <vector>
 
@@ -54,4 +54,4 @@ class ElectronSpeechRecognitionManagerDelegate
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_ELECTRON_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
+#endif  // ELECTRON_SHELL_BROWSER_ELECTRON_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_

+ 3 - 3
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 <memory>
 
@@ -44,4 +44,4 @@ class ElectronWebUIControllerFactory : public content::WebUIControllerFactory {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_ELECTRON_WEB_UI_CONTROLLER_FACTORY_H_
+#endif  // ELECTRON_SHELL_BROWSER_ELECTRON_WEB_UI_CONTROLLER_FACTORY_H_

+ 3 - 3
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 <utility>
 
@@ -95,4 +95,4 @@ class EventEmitterMixin {
 
 }  // namespace gin_helper
 
-#endif  // SHELL_BROWSER_EVENT_EMITTER_MIXIN_H_
+#endif  // ELECTRON_SHELL_BROWSER_EVENT_EMITTER_MIXIN_H_

+ 3 - 3
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 <string>
 #include <vector>
@@ -33,4 +33,4 @@ class ExtendedWebContentsObserver : public base::CheckedObserver {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_EXTENDED_WEB_CONTENTS_OBSERVER_H_
+#endif  // ELECTRON_SHELL_BROWSER_EXTENDED_WEB_CONTENTS_OBSERVER_H_

+ 3 - 3
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_

+ 3 - 3
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_

+ 3 - 3
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 <memory>
 #include <string>
@@ -85,4 +85,4 @@ class ElectronManagementAPIDelegate : public extensions::ManagementAPIDelegate {
                              content::BrowserContext* context) const override;
 };
 
-#endif  // SHELL_BROWSER_EXTENSIONS_API_MANAGEMENT_ELECTRON_MANAGEMENT_API_DELEGATE_H_
+#endif  // ELECTRON_SHELL_BROWSER_EXTENSIONS_API_MANAGEMENT_ELECTRON_MANAGEMENT_API_DELEGATE_H_

+ 3 - 3
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_

+ 3 - 3
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 <string>
 
@@ -41,4 +41,4 @@ class ElectronRuntimeAPIDelegate : public RuntimeAPIDelegate {
 
 }  // namespace extensions
 
-#endif  // SHELL_BROWSER_EXTENSIONS_API_RUNTIME_ELECTRON_RUNTIME_API_DELEGATE_H_
+#endif  // ELECTRON_SHELL_BROWSER_EXTENSIONS_API_RUNTIME_ELECTRON_RUNTIME_API_DELEGATE_H_

+ 3 - 3
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 <string>
 
@@ -39,4 +39,4 @@ class StreamsPrivateAPI {
 
 }  // namespace extensions
 
-#endif  // SHELL_BROWSER_EXTENSIONS_API_STREAMS_PRIVATE_STREAMS_PRIVATE_API_H_
+#endif  // ELECTRON_SHELL_BROWSER_EXTENSIONS_API_STREAMS_PRIVATE_STREAMS_PRIVATE_API_H_

+ 3 - 3
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 <string>
 
@@ -109,4 +109,4 @@ class TabsUpdateFunction : public ExtensionFunction {
 };
 }  // namespace extensions
 
-#endif  // SHELL_BROWSER_EXTENSIONS_API_TABS_TABS_API_H_
+#endif  // ELECTRON_SHELL_BROWSER_EXTENSIONS_API_TABS_TABS_API_H_

+ 3 - 3
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_

+ 3 - 3
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 <stddef.h>
 
@@ -52,4 +52,4 @@ class ElectronComponentExtensionResourceManager
 
 }  // namespace extensions
 
-#endif  // SHELL_BROWSER_EXTENSIONS_ELECTRON_COMPONENT_EXTENSION_RESOURCE_MANAGER_H_
+#endif  // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_COMPONENT_EXTENSION_RESOURCE_MANAGER_H_

+ 3 - 3
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_

+ 3 - 3
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 <memory>
 #include <string>
@@ -49,4 +49,4 @@ class ElectronExtensionHostDelegate : public ExtensionHostDelegate {
 
 }  // namespace extensions
 
-#endif  // SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_HOST_DELEGATE_H_
+#endif  // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_HOST_DELEGATE_H_

+ 3 - 3
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 <string>
 #include <utility>
@@ -98,4 +98,4 @@ class ElectronExtensionLoader : public ExtensionRegistrar::Delegate {
 
 }  // namespace extensions
 
-#endif  // SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_LOADER_H_
+#endif  // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_LOADER_H_

+ 3 - 3
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 <string>
 #include <vector>
@@ -68,4 +68,4 @@ class ElectronExtensionMessageFilter : public content::BrowserMessageFilter {
 
 }  // namespace electron
 
-#endif  // SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_MESSAGE_FILTER_H_
+#endif  // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_MESSAGE_FILTER_H_

+ 3 - 3
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 <memory>
 #include <string>
@@ -122,4 +122,4 @@ class ElectronExtensionSystem : public ExtensionSystem {
 
 }  // namespace extensions
 
-#endif  // SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_SYSTEM_H_
+#endif  // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_SYSTEM_H_

+ 3 - 3
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_

+ 3 - 3
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_

+ 3 - 3
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 <memory>
 
@@ -36,4 +36,4 @@ class ElectronExtensionsAPIClient : public ExtensionsAPIClient {
 
 }  // namespace extensions
 
-#endif  // SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_API_CLIENT_H_
+#endif  // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_API_CLIENT_H_

+ 3 - 3
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_

Some files were not shown because too many files changed in this diff