xref: /aosp_15_r20/external/cronet/base/win/atl.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2018 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef BASE_WIN_ATL_H_
6 #define BASE_WIN_ATL_H_
7 
8 // Check no prior poisonous defines were made.
9 #include "base/win/windows_defines.inc"
10 // Undefine before windows header will make the poisonous defines
11 #include "base/win/windows_undefines.inc"
12 
13 // clang-format off
14 // Declare our own exception thrower (atl_throw.h includes atldef.h).
15 #include "base/win/atl_throw.h"
16 // clang-format on
17 
18 // Now include the real ATL headers.
19 #include <atlbase.h>  // NOLINT(build/include_order)
20 
21 #include <atlcom.h>       // NOLINT(build/include_order)
22 #include <atlcomcli.h>    // NOLINT(build/include_order)
23 #include <atlctl.h>       // NOLINT(build/include_order)
24 #include <atlhost.h>      // NOLINT(build/include_order)
25 #include <atlsecurity.h>  // NOLINT(build/include_order)
26 #include <atltypes.h>     // NOLINT(build/include_order)
27 #include <atlwin.h>       // NOLINT(build/include_order)
28 
29 // Undefine the poisonous defines
30 #include "base/win/windows_undefines.inc"  // NOLINT(build/include)
31 // Check no poisonous defines follow this include
32 #include "base/win/windows_defines.inc"  // NOLINT(build/include)
33 
34 #endif  // BASE_WIN_ATL_H_
35