1 // Copyright 2018 The Chromium Authors. All rights reserved. 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_THREADING_PLATFORM_THREAD_WIN_H_ 6 #define BASE_THREADING_PLATFORM_THREAD_WIN_H_ 7 8 #include "base/threading/platform_thread.h" 9 10 #include "base/base_export.h" 11 12 namespace base { 13 namespace internal { 14 15 // Assert that the memory priority of |thread| is |memory_priority|. No-op on 16 // Windows 7 because ::GetThreadInformation() is not available. Exposed for unit 17 // tests. 18 BASE_EXPORT void AssertMemoryPriority(HANDLE thread, int memory_priority); 19 20 } // namespace internal 21 } // namespace base 22 23 #endif // BASE_THREADING_PLATFORM_THREAD_WIN_H_ 24