| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_THREAD_CHECKER_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_THREAD_CHECKER_H_ |
| 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_THREAD_CHECKER_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_THREAD_CHECKER_H_ |
| 7 | 7 |
| 8 #include "mojo/public/cpp/system/macros.h" | 8 #include "mojo/public/cpp/system/macros.h" |
| 9 | 9 |
| 10 #if !defined(_WIN32) | 10 #if !defined(_WIN32) |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #if !defined(_WIN32) && (!defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)) | 28 #if !defined(_WIN32) && (!defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)) |
| 29 using ThreadChecker = ThreadCheckerPosix; | 29 using ThreadChecker = ThreadCheckerPosix; |
| 30 #else | 30 #else |
| 31 using ThreadChecker = ThreadCheckerDoNothing; | 31 using ThreadChecker = ThreadCheckerDoNothing; |
| 32 #endif | 32 #endif |
| 33 | 33 |
| 34 } // namespace internal | 34 } // namespace internal |
| 35 } // namespace mojo | 35 } // namespace mojo |
| 36 | 36 |
| 37 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_THREAD_CHECKER_H_ | 37 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_THREAD_CHECKER_H_ |
| OLD | NEW |