0

Changes to remoting to allow removing windows.h

Before we can remove includes of windows.h from header files we need to
_add_ includes of windows.h to .cc files that require it. This change
does this for source files in remoting. Windows.h needs to be included
before commctrl.h.

Bug: 796644
Change-Id: I52c42f22dc24f1a54de47f26126e020c1a191288
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3016912
Auto-Submit: Bruce Dawson <brucedawson@chromium.org>
Commit-Queue: Joe Downing <joedow@chromium.org>
Reviewed-by: Joe Downing <joedow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#899751}
This commit is contained in:
Bruce Dawson
2021-07-08 23:14:50 +00:00
committed by Chromium LUCI CQ
parent 43eeb14707
commit 372ad89ffc
2 changed files with 4 additions and 0 deletions

@ -33,6 +33,8 @@
#endif // defined(OS_APPLE)
#if defined(OS_WIN)
#include <windows.h>
#include <commctrl.h>
#include <shellapi.h>
#endif // defined(OS_WIN)

@ -46,6 +46,8 @@
#endif // defined(OS_APPLE)
#if defined(OS_WIN)
#include <windows.h>
#include <commctrl.h>
#include "remoting/host/switches.h"