diff --git a/shell/platform/windows/accessibility_bridge_windows.h b/shell/platform/windows/accessibility_bridge_windows.h index efb2f8a47aac6..8e3691f709bcd 100644 --- a/shell/platform/windows/accessibility_bridge_windows.h +++ b/shell/platform/windows/accessibility_bridge_windows.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_ACCESSIBILITY_BRIDGE_WINDOWS_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_ACCESSIBILITY_BRIDGE_WINDOWS_H_ +#pragma once #include "flutter/fml/macros.h" #include "flutter/shell/platform/common/accessibility_bridge.h" @@ -78,5 +77,3 @@ class AccessibilityBridgeWindows : public AccessibilityBridge, }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_ACCESSIBILITY_BRIDGE_WINDOWS_H_ diff --git a/shell/platform/windows/angle_surface_manager.h b/shell/platform/windows/angle_surface_manager.h index 472bb03763940..8f98cd7ebd9b0 100644 --- a/shell/platform/windows/angle_surface_manager.h +++ b/shell/platform/windows/angle_surface_manager.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_ANGLE_SURFACE_MANAGER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_ANGLE_SURFACE_MANAGER_H_ +#pragma once // OpenGL ES and EGL includes #include @@ -151,5 +150,3 @@ class AngleSurfaceManager { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_ANGLE_SURFACE_MANAGER_H_ diff --git a/shell/platform/windows/cursor_handler.h b/shell/platform/windows/cursor_handler.h index a01bc61c26f75..cd740898b188e 100644 --- a/shell/platform/windows/cursor_handler.h +++ b/shell/platform/windows/cursor_handler.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_CURSOR_HANDLER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_CURSOR_HANDLER_H_ +#pragma once #include @@ -53,5 +52,3 @@ HCURSOR GetCursorFromBuffer(const std::vector& buffer, void GetMaskBitmaps(HBITMAP bitmap, HBITMAP& mask_bitmap); } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_CURSOR_HANDLER_H_ diff --git a/shell/platform/windows/direct_manipulation.h b/shell/platform/windows/direct_manipulation.h index 4d7046ab8ddd1..a25f178b1b466 100644 --- a/shell/platform/windows/direct_manipulation.h +++ b/shell/platform/windows/direct_manipulation.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_DIRECT_MANIPULATION_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_DIRECT_MANIPULATION_H_ +#pragma once #include "flutter/fml/memory/ref_counted.h" @@ -140,5 +139,3 @@ class DirectManipulationEventHandler }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_DIRECT_MANIPULATION_H_ diff --git a/shell/platform/windows/dpi_utils.h b/shell/platform/windows/dpi_utils.h index 1c14994b61235..a7da677d87efe 100644 --- a/shell/platform/windows/dpi_utils.h +++ b/shell/platform/windows/dpi_utils.h @@ -4,8 +4,7 @@ #include "Windows.h" -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_DPI_UTILS_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_DPI_UTILS_H_ +#pragma once namespace flutter { @@ -20,5 +19,3 @@ UINT GetDpiForHWND(HWND hwnd); UINT GetDpiForMonitor(HMONITOR monitor); } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_DPI_UTILS_H_ diff --git a/shell/platform/windows/event_watcher.h b/shell/platform/windows/event_watcher.h index ec0536b801416..51c0273244630 100644 --- a/shell/platform/windows/event_watcher.h +++ b/shell/platform/windows/event_watcher.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_EVENT_WATCHER_WIN32_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_EVENT_WATCHER_WIN32_H_ +#pragma once #include @@ -34,5 +33,3 @@ class EventWatcher { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_EVENT_WATCHER_WIN32_H_ diff --git a/shell/platform/windows/external_texture.h b/shell/platform/windows/external_texture.h index 26e9287edd43d..c10c0266593ce 100644 --- a/shell/platform/windows/external_texture.h +++ b/shell/platform/windows/external_texture.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_EXTERNAL_TEXTURE_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_EXTERNAL_TEXTURE_H_ +#pragma once #include "flutter/shell/platform/embedder/embedder.h" @@ -29,5 +28,3 @@ class ExternalTexture { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_EXTERNAL_TEXTURE_H_ diff --git a/shell/platform/windows/external_texture_d3d.h b/shell/platform/windows/external_texture_d3d.h index 1e0d8f125e130..a09e201324aba 100644 --- a/shell/platform/windows/external_texture_d3d.h +++ b/shell/platform/windows/external_texture_d3d.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_EXTERNAL_TEXTURE_D3D_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_EXTERNAL_TEXTURE_D3D_H_ +#pragma once #include @@ -51,5 +50,3 @@ class ExternalTextureD3d : public ExternalTexture { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_EXTERNAL_TEXTURE_D3D_H_ diff --git a/shell/platform/windows/external_texture_pixelbuffer.h b/shell/platform/windows/external_texture_pixelbuffer.h index 56d46a168fc30..3074cf008a49b 100644 --- a/shell/platform/windows/external_texture_pixelbuffer.h +++ b/shell/platform/windows/external_texture_pixelbuffer.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_EXTERNAL_TEXTURE_PIXELBUFFER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_EXTERNAL_TEXTURE_PIXELBUFFER_H_ +#pragma once #include "flutter/fml/macros.h" #include "flutter/shell/platform/common/public/flutter_texture_registrar.h" @@ -45,5 +44,3 @@ class ExternalTexturePixelBuffer : public ExternalTexture { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_EXTERNAL_TEXTURE_PIXELBUFFER_H_ diff --git a/shell/platform/windows/flutter_desktop_messenger.h b/shell/platform/windows/flutter_desktop_messenger.h index bfa13797c2109..c788d75338e43 100644 --- a/shell/platform/windows/flutter_desktop_messenger.h +++ b/shell/platform/windows/flutter_desktop_messenger.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_DESKTOP_MESSENGER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_DESKTOP_MESSENGER_H_ +#pragma once #include #include @@ -79,5 +78,3 @@ class FlutterDesktopMessenger { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOW_STATE_H_ diff --git a/shell/platform/windows/flutter_platform_node_delegate_windows.h b/shell/platform/windows/flutter_platform_node_delegate_windows.h index af40d6cc24240..814ed48a106f3 100644 --- a/shell/platform/windows/flutter_platform_node_delegate_windows.h +++ b/shell/platform/windows/flutter_platform_node_delegate_windows.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_PLATFORM_NODE_DELEGATE_WINDOWS_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_PLATFORM_NODE_DELEGATE_WINDOWS_H_ +#pragma once #include "flutter/fml/macros.h" #include "flutter/shell/platform/common/flutter_platform_node_delegate.h" @@ -64,5 +63,3 @@ class FlutterPlatformNodeDelegateWindows : public FlutterPlatformNodeDelegate { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_PLATFORM_NODE_DELEGATE_WINDOWS_H_ diff --git a/shell/platform/windows/flutter_project_bundle.h b/shell/platform/windows/flutter_project_bundle.h index 09770b5c094fc..b6b875c6c7b4d 100644 --- a/shell/platform/windows/flutter_project_bundle.h +++ b/shell/platform/windows/flutter_project_bundle.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_PROJECT_BUNDLE_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_PROJECT_BUNDLE_H_ +#pragma once #include #include @@ -77,5 +76,3 @@ class FlutterProjectBundle { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_PROJECT_BUNDLE_H_ diff --git a/shell/platform/windows/flutter_windows_engine.h b/shell/platform/windows/flutter_windows_engine.h index 4406b4235b36f..3e71b5bc30498 100644 --- a/shell/platform/windows/flutter_windows_engine.h +++ b/shell/platform/windows/flutter_windows_engine.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_ENGINE_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_ENGINE_H_ +#pragma once #include #include @@ -427,5 +426,3 @@ class FlutterWindowsEngine { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_ENGINE_H_ diff --git a/shell/platform/windows/flutter_windows_texture_registrar.h b/shell/platform/windows/flutter_windows_texture_registrar.h index a72edf498202d..c8501a200da3a 100644 --- a/shell/platform/windows/flutter_windows_texture_registrar.h +++ b/shell/platform/windows/flutter_windows_texture_registrar.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_TEXTURE_REGISTRAR_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_TEXTURE_REGISTRAR_H_ +#pragma once #include #include @@ -60,5 +59,3 @@ class FlutterWindowsTextureRegistrar { }; }; // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_TEXTURE_REGISTRAR_H_ diff --git a/shell/platform/windows/flutter_windows_view.h b/shell/platform/windows/flutter_windows_view.h index 55125f8551fa2..45597566613e8 100644 --- a/shell/platform/windows/flutter_windows_view.h +++ b/shell/platform/windows/flutter_windows_view.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_VIEW_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_VIEW_H_ +#pragma once #include #include @@ -396,5 +395,3 @@ class FlutterWindowsView : public WindowBindingHandlerDelegate { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_VIEW_H_ diff --git a/shell/platform/windows/flutter_windows_view_controller.h b/shell/platform/windows/flutter_windows_view_controller.h index c8b697dcb6a99..d8bb20e892d36 100644 --- a/shell/platform/windows/flutter_windows_view_controller.h +++ b/shell/platform/windows/flutter_windows_view_controller.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_VIEW_CONTROLLER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_VIEW_CONTROLLER_H_ +#pragma once #include @@ -28,5 +27,3 @@ class FlutterWindowsViewController { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_VIEW_CONTROLLER_H_ diff --git a/shell/platform/windows/gl_proc_table.h b/shell/platform/windows/gl_proc_table.h index e0f75ff5e6f58..7ae90f556d8aa 100644 --- a/shell/platform/windows/gl_proc_table.h +++ b/shell/platform/windows/gl_proc_table.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_GL_PROC_TABLE_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_GL_PROC_TABLE_H_ +#pragma once #include #include @@ -66,5 +65,3 @@ class GlProcTable { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_GL_PROC_TABLE_H_ diff --git a/shell/platform/windows/keyboard_handler_base.h b/shell/platform/windows/keyboard_handler_base.h index e2fd211403a5a..962722c4d312b 100644 --- a/shell/platform/windows/keyboard_handler_base.h +++ b/shell/platform/windows/keyboard_handler_base.h @@ -2,9 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_HOOK_HANDLER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_HOOK_HANDLER_H_ +#pragma once +#include +#include #include namespace flutter { @@ -42,5 +43,3 @@ class KeyboardHandlerBase { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_HOOK_HANDLER_H_ diff --git a/shell/platform/windows/keyboard_key_channel_handler.h b/shell/platform/windows/keyboard_key_channel_handler.h index 7a5d96f73ac17..999faaa29aeb3 100644 --- a/shell/platform/windows/keyboard_key_channel_handler.h +++ b/shell/platform/windows/keyboard_key_channel_handler.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_KEY_CHANNEL_HANDLER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_KEY_CHANNEL_HANDLER_H_ +#pragma once #include #include @@ -51,5 +50,3 @@ class KeyboardKeyChannelHandler }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_KEY_CHANNEL_HANDLER_H_ diff --git a/shell/platform/windows/keyboard_key_embedder_handler.h b/shell/platform/windows/keyboard_key_embedder_handler.h index 16dd9c0893db9..c5b37d8566f24 100644 --- a/shell/platform/windows/keyboard_key_embedder_handler.h +++ b/shell/platform/windows/keyboard_key_embedder_handler.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_KEY_EMBEDDER_HANDLER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_KEY_EMBEDDER_HANDLER_H_ +#pragma once #include #include @@ -199,5 +198,3 @@ class KeyboardKeyEmbedderHandler }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_KEY_EMBEDDER_HANDLER_H_ diff --git a/shell/platform/windows/keyboard_key_handler.h b/shell/platform/windows/keyboard_key_handler.h index 2752c1045c189..73b7798a2a377 100644 --- a/shell/platform/windows/keyboard_key_handler.h +++ b/shell/platform/windows/keyboard_key_handler.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_KEY_HANDLER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_KEY_HANDLER_H_ +#pragma once #include #include @@ -149,5 +148,3 @@ class KeyboardKeyHandler : public KeyboardHandlerBase { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_KEY_HANDLER_H_ diff --git a/shell/platform/windows/keyboard_manager.h b/shell/platform/windows/keyboard_manager.h index 9988fec4c40da..4d95c0445d196 100644 --- a/shell/platform/windows/keyboard_manager.h +++ b/shell/platform/windows/keyboard_manager.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_MANAGER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_MANAGER_H_ +#pragma once #include @@ -233,5 +232,3 @@ class KeyboardManager { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_MANAGER_H_ diff --git a/shell/platform/windows/keyboard_utils.h b/shell/platform/windows/keyboard_utils.h index e5261e3ad84a7..43e27cbe9f719 100644 --- a/shell/platform/windows/keyboard_utils.h +++ b/shell/platform/windows/keyboard_utils.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_WIN32_COMMON_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_WIN32_COMMON_H_ +#pragma once #include @@ -42,5 +41,3 @@ inline uint32_t UndeadChar(uint32_t ch) { std::u16string EncodeUtf16(char32_t character); } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_WIN32_COMMON_H_ diff --git a/shell/platform/windows/platform_handler.h b/shell/platform/windows/platform_handler.h index 8088b16a87477..3766619288e20 100644 --- a/shell/platform/windows/platform_handler.h +++ b/shell/platform/windows/platform_handler.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_PLATFORM_HANDLER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_PLATFORM_HANDLER_H_ +#pragma once #include @@ -154,5 +153,3 @@ class ScopedClipboardInterface { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_PLATFORM_HANDLER_H_ diff --git a/shell/platform/windows/sequential_id_generator.h b/shell/platform/windows/sequential_id_generator.h index 7811656268daa..4d3a368a3d4b7 100644 --- a/shell/platform/windows/sequential_id_generator.h +++ b/shell/platform/windows/sequential_id_generator.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_SEQUENTIAL_ID_GENERATOR_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_SEQUENTIAL_ID_GENERATOR_H_ +#pragma once #include #include @@ -59,5 +58,3 @@ class SequentialIdGenerator { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_SEQUENTIAL_ID_GENERATOR_H_ diff --git a/shell/platform/windows/settings_plugin.h b/shell/platform/windows/settings_plugin.h index 479a45c13c0ae..167548bda37a4 100644 --- a/shell/platform/windows/settings_plugin.h +++ b/shell/platform/windows/settings_plugin.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_SETTINGS_PLUGIN_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_SETTINGS_PLUGIN_H_ +#pragma once #include @@ -76,5 +75,3 @@ class SettingsPlugin { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_SETTINGS_PLUGIN_H_ diff --git a/shell/platform/windows/system_utils.h b/shell/platform/windows/system_utils.h index 9afa1b90ecc39..0f87910bcf572 100644 --- a/shell/platform/windows/system_utils.h +++ b/shell/platform/windows/system_utils.h @@ -4,8 +4,7 @@ // This file contains utilities for system-level information/settings. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_SYSTEM_UTILS_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_SYSTEM_UTILS_H_ +#pragma once #include #include @@ -51,5 +50,3 @@ std::wstring GetUserTimeFormat(); bool Prefer24HourTime(std::wstring time_format); } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_SYSTEM_UTILS_H_ diff --git a/shell/platform/windows/task_runner.h b/shell/platform/windows/task_runner.h index 14195b0c7fb2a..60d74439428bb 100644 --- a/shell/platform/windows/task_runner.h +++ b/shell/platform/windows/task_runner.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TASK_RUNNER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TASK_RUNNER_H_ +#pragma once #include #include @@ -106,5 +105,3 @@ class TaskRunner : public TaskRunnerWindow::Delegate { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TASK_RUNNER_H_ diff --git a/shell/platform/windows/task_runner_window.h b/shell/platform/windows/task_runner_window.h index a666987ae346d..98f0cc54cffda 100644 --- a/shell/platform/windows/task_runner_window.h +++ b/shell/platform/windows/task_runner_window.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TASK_RUNNER_WIN32_WINDOW_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TASK_RUNNER_WIN32_WINDOW_H_ +#pragma once #include @@ -64,5 +63,3 @@ class TaskRunnerWindow { FML_DISALLOW_COPY_AND_ASSIGN(TaskRunnerWindow); }; } // namespace flutter - -#endif diff --git a/shell/platform/windows/testing/engine_modifier.h b/shell/platform/windows/testing/engine_modifier.h index ee355c0b5b973..9a75872a429c8 100644 --- a/shell/platform/windows/testing/engine_modifier.h +++ b/shell/platform/windows/testing/engine_modifier.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_ENGINE_MODIFIER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_ENGINE_MODIFIER_H_ +#pragma once #include "flutter/shell/platform/windows/flutter_windows_engine.h" @@ -77,5 +76,3 @@ class EngineModifier { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_ENGINE_MODIFIER_H_ diff --git a/shell/platform/windows/testing/flutter_window_test.h b/shell/platform/windows/testing/flutter_window_test.h index c62f5abe7f69f..2aa5328c6ae9a 100644 --- a/shell/platform/windows/testing/flutter_window_test.h +++ b/shell/platform/windows/testing/flutter_window_test.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WIN32_FLUTTER_WINDOW_TEST_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WIN32_FLUTTER_WINDOW_TEST_H_ +#pragma once #include "flutter/shell/platform/windows/flutter_window.h" @@ -24,5 +23,3 @@ class FlutterWindowTest : public FlutterWindow { } // namespace testing } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WIN32_FLUTTER_WINDOW_TEST_H_ diff --git a/shell/platform/windows/testing/flutter_windows_engine_builder.h b/shell/platform/windows/testing/flutter_windows_engine_builder.h index da7f3fb27f045..9cb508c02bc82 100644 --- a/shell/platform/windows/testing/flutter_windows_engine_builder.h +++ b/shell/platform/windows/testing/flutter_windows_engine_builder.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_FLUTTER_WINDOWS_ENGINE_BUILDER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_FLUTTER_WINDOWS_ENGINE_BUILDER_H_ +#pragma once #include @@ -51,5 +50,3 @@ class FlutterWindowsEngineBuilder { } // namespace testing } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_FLUTTER_WINDOWS_ENGINE_BUILDER_H_ diff --git a/shell/platform/windows/testing/mock_direct_manipulation.h b/shell/platform/windows/testing/mock_direct_manipulation.h index fc984cbf34fc3..e22cddefbb7bc 100644 --- a/shell/platform/windows/testing/mock_direct_manipulation.h +++ b/shell/platform/windows/testing/mock_direct_manipulation.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_DIRECT_MANIPULATION_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_DIRECT_MANIPULATION_H_ +#pragma once #include "flutter/fml/macros.h" #include "flutter/shell/platform/windows/direct_manipulation.h" @@ -27,5 +26,3 @@ class MockDirectManipulationOwner : public DirectManipulationOwner { } // namespace testing } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_DIRECT_MANIPULATION_H_ diff --git a/shell/platform/windows/testing/mock_gl_proc_table.h b/shell/platform/windows/testing/mock_gl_proc_table.h index ad4c17efba96c..6b8a61a7e7afc 100644 --- a/shell/platform/windows/testing/mock_gl_proc_table.h +++ b/shell/platform/windows/testing/mock_gl_proc_table.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_GL_PROC_TABLE_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_GL_PROC_TABLE_H_ +#pragma once #include "flutter/fml/macros.h" #include "flutter/shell/platform/windows/gl_proc_table.h" @@ -53,5 +52,3 @@ class MockGlProcTable : public GlProcTable { } // namespace testing } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_GL_PROC_TABLE_H_ diff --git a/shell/platform/windows/testing/mock_text_input_manager.h b/shell/platform/windows/testing/mock_text_input_manager.h index d71dd504a59d8..1d0a61404cb0a 100644 --- a/shell/platform/windows/testing/mock_text_input_manager.h +++ b/shell/platform/windows/testing/mock_text_input_manager.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_TEXT_INPUT_MANAGER_WIN32_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_TEXT_INPUT_MANAGER_WIN32_H_ +#pragma once #include #include @@ -37,5 +36,3 @@ class MockTextInputManager : public TextInputManager { } // namespace testing } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_TEXT_INPUT_MANAGER_WIN32_H_ diff --git a/shell/platform/windows/testing/mock_window.h b/shell/platform/windows/testing/mock_window.h index a2d9541302c6c..8bafa6f4d3b36 100644 --- a/shell/platform/windows/testing/mock_window.h +++ b/shell/platform/windows/testing/mock_window.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WIN32_WINDOW_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WIN32_WINDOW_H_ +#pragma once #include "flutter/fml/macros.h" #include "flutter/shell/platform/windows/flutter_window.h" @@ -102,5 +101,3 @@ class MockWindow : public FlutterWindow { } // namespace testing } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WIN32_WINDOW_H_ diff --git a/shell/platform/windows/testing/mock_window_binding_handler.h b/shell/platform/windows/testing/mock_window_binding_handler.h index 43be5abc71a43..206ce1e6386e6 100644 --- a/shell/platform/windows/testing/mock_window_binding_handler.h +++ b/shell/platform/windows/testing/mock_window_binding_handler.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_H_ +#pragma once #include "flutter/fml/macros.h" #include "flutter/shell/platform/windows/window_binding_handler.h" @@ -48,5 +47,3 @@ class MockWindowBindingHandler : public WindowBindingHandler { } // namespace testing } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_H_ diff --git a/shell/platform/windows/testing/mock_window_binding_handler_delegate.h b/shell/platform/windows/testing/mock_window_binding_handler_delegate.h index 81c58abceba8a..b2bc0b07891cd 100644 --- a/shell/platform/windows/testing/mock_window_binding_handler_delegate.h +++ b/shell/platform/windows/testing/mock_window_binding_handler_delegate.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_DELEGATE_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_DELEGATE_H_ +#pragma once #include "flutter/fml/macros.h" #include "flutter/shell/platform/windows/window_binding_handler_delegate.h" @@ -83,5 +82,3 @@ class MockWindowBindingHandlerDelegate : public WindowBindingHandlerDelegate { } // namespace testing } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_DELEGATE_H_ diff --git a/shell/platform/windows/testing/mock_windows_proc_table.h b/shell/platform/windows/testing/mock_windows_proc_table.h index 64caf1d504e36..367858a650b99 100644 --- a/shell/platform/windows/testing/mock_windows_proc_table.h +++ b/shell/platform/windows/testing/mock_windows_proc_table.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOWS_PROC_TABLE_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOWS_PROC_TABLE_H_ +#pragma once #include "flutter/fml/macros.h" #include "flutter/shell/platform/windows/windows_proc_table.h" @@ -36,5 +35,3 @@ class MockWindowsProcTable : public WindowsProcTable { } // namespace testing } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOWS_PROC_TABLE_H_ diff --git a/shell/platform/windows/testing/test_binary_messenger.h b/shell/platform/windows/testing/test_binary_messenger.h index 9b7f2c9b043f1..b5285e2f97fc8 100644 --- a/shell/platform/windows/testing/test_binary_messenger.h +++ b/shell/platform/windows/testing/test_binary_messenger.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_TEST_BINARY_MESSENGER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_TEST_BINARY_MESSENGER_H_ +#pragma once #include #include @@ -75,5 +74,3 @@ class TestBinaryMessenger : public BinaryMessenger { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_TEST_BINARY_MESSENGER_H_ diff --git a/shell/platform/windows/testing/test_keyboard.h b/shell/platform/windows/testing/test_keyboard.h index 1ec3a3b38c739..6158bac9b1e79 100644 --- a/shell/platform/windows/testing/test_keyboard.h +++ b/shell/platform/windows/testing/test_keyboard.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_TEST_KEYBOARD_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_TEST_KEYBOARD_H_ +#pragma once #include @@ -153,5 +152,3 @@ class MockMessageQueue { .character = _character, \ .synthesized = _synthesized, \ })); - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_TEST_KEYBOARD_H_ diff --git a/shell/platform/windows/testing/windows_test.h b/shell/platform/windows/testing/windows_test.h index 21744d0ea8634..c70b806923878 100644 --- a/shell/platform/windows/testing/windows_test.h +++ b/shell/platform/windows/testing/windows_test.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WINDOWS_TEST_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WINDOWS_TEST_H_ +#pragma once #include @@ -43,5 +42,3 @@ class WindowsTest : public ThreadTest { } // namespace testing } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WINDOWS_TEST_H_ diff --git a/shell/platform/windows/testing/windows_test_config_builder.h b/shell/platform/windows/testing/windows_test_config_builder.h index 7ec9a3352b741..71a096b27aa35 100644 --- a/shell/platform/windows/testing/windows_test_config_builder.h +++ b/shell/platform/windows/testing/windows_test_config_builder.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WINDOWS_TEST_CONFIG_BUILDER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WINDOWS_TEST_CONFIG_BUILDER_H_ +#pragma once #include #include @@ -82,5 +81,3 @@ class WindowsConfigBuilder { } // namespace testing } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WINDOWS_TEST_CONFIG_BUILDER_H_ diff --git a/shell/platform/windows/testing/windows_test_context.h b/shell/platform/windows/testing/windows_test_context.h index f6e37ba2b49c0..1d4c7c60c725a 100644 --- a/shell/platform/windows/testing/windows_test_context.h +++ b/shell/platform/windows/testing/windows_test_context.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WINDOWS_TEST_CONTEXT_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WINDOWS_TEST_CONTEXT_H_ +#pragma once #include #include @@ -60,5 +59,3 @@ class WindowsTestContext { } // namespace testing } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WINDOWS_TEST_CONTEXT_H_ diff --git a/shell/platform/windows/testing/wm_builders.h b/shell/platform/windows/testing/wm_builders.h index 49b78035b7e01..b996cd82fc6d7 100644 --- a/shell/platform/windows/testing/wm_builders.h +++ b/shell/platform/windows/testing/wm_builders.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WM_BUILDERS_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WM_BUILDERS_H_ +#pragma once #include #include @@ -182,5 +181,3 @@ typedef struct WmDeadCharInfo { } // namespace testing } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WM_BUILDERS_H_ diff --git a/shell/platform/windows/text_input_manager.h b/shell/platform/windows/text_input_manager.h index 4e1c262fa31df..891622ea3224e 100644 --- a/shell/platform/windows/text_input_manager.h +++ b/shell/platform/windows/text_input_manager.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TEXT_INPUT_MANAGER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TEXT_INPUT_MANAGER_H_ +#pragma once #include #include @@ -103,5 +102,3 @@ class TextInputManager { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TEXT_INPUT_MANAGER_H_ diff --git a/shell/platform/windows/text_input_plugin.h b/shell/platform/windows/text_input_plugin.h index a452e293d6808..c08dd5714baf6 100644 --- a/shell/platform/windows/text_input_plugin.h +++ b/shell/platform/windows/text_input_plugin.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TEXT_INPUT_PLUGIN_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_TEXT_INPUT_PLUGIN_H_ +#pragma once #include #include @@ -133,5 +132,3 @@ class TextInputPlugin { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TEXT_INPUT_PLUGIN_H_ diff --git a/shell/platform/windows/window_binding_handler.h b/shell/platform/windows/window_binding_handler.h index 390e9235c5f23..915ad59394486 100644 --- a/shell/platform/windows/window_binding_handler.h +++ b/shell/platform/windows/window_binding_handler.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_BINDING_HANDLER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_BINDING_HANDLER_H_ +#pragma once #include @@ -110,5 +109,3 @@ class WindowBindingHandler { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_BINDING_HANDLER_H_ diff --git a/shell/platform/windows/window_binding_handler_delegate.h b/shell/platform/windows/window_binding_handler_delegate.h index 265ca8093b395..6f74364b60f56 100644 --- a/shell/platform/windows/window_binding_handler_delegate.h +++ b/shell/platform/windows/window_binding_handler_delegate.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_BINDING_HANDLER_DELEGATE_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_BINDING_HANDLER_DELEGATE_H_ +#pragma once #include @@ -153,5 +152,3 @@ class WindowBindingHandlerDelegate { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_BINDING_HANDLER_DELEGATE_H_ diff --git a/shell/platform/windows/window_proc_delegate_manager.h b/shell/platform/windows/window_proc_delegate_manager.h index 36e9fb2333332..e8d7e55d39b7b 100644 --- a/shell/platform/windows/window_proc_delegate_manager.h +++ b/shell/platform/windows/window_proc_delegate_manager.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_WIN32_WINDOW_PROC_DELEGATE_MANAGER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_WIN32_WINDOW_PROC_DELEGATE_MANAGER_H_ +#pragma once #include @@ -51,5 +50,3 @@ class WindowProcDelegateManager { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_WIN32_WINDOW_PROC_DELEGATE_MANAGER_H_ diff --git a/shell/platform/windows/window_state.h b/shell/platform/windows/window_state.h index 22cfe6cfe1fca..22c19f736a063 100644 --- a/shell/platform/windows/window_state.h +++ b/shell/platform/windows/window_state.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOW_STATE_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOW_STATE_H_ +#pragma once #include "flutter/shell/platform/common/client_wrapper/include/flutter/plugin_registrar.h" #include "flutter/shell/platform/common/incoming_message_dispatcher.h" @@ -24,5 +23,3 @@ struct FlutterDesktopPluginRegistrar { // The engine that owns this state object. flutter::FlutterWindowsEngine* engine = nullptr; }; - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOW_STATE_H_ diff --git a/shell/platform/windows/windows_lifecycle_manager.h b/shell/platform/windows/windows_lifecycle_manager.h index fc20b382467fa..1b3059d3b033c 100644 --- a/shell/platform/windows/windows_lifecycle_manager.h +++ b/shell/platform/windows/windows_lifecycle_manager.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOWS_LIFECYCLE_MANAGER_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOWS_LIFECYCLE_MANAGER_H_ +#pragma once #include @@ -123,5 +122,3 @@ class WindowsLifecycleManager { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOWS_LIFECYCLE_MANAGER_H_ diff --git a/shell/platform/windows/windows_proc_table.h b/shell/platform/windows/windows_proc_table.h index 584d92823ea2f..016a9368b16f5 100644 --- a/shell/platform/windows/windows_proc_table.h +++ b/shell/platform/windows/windows_proc_table.h @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOWS_PROC_TABLE_H_ -#define FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOWS_PROC_TABLE_H_ +#pragma once #include @@ -55,5 +54,3 @@ class WindowsProcTable { }; } // namespace flutter - -#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOWS_PROC_TABLE_H_