OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 PPAPI_UTILITY_NON_THREAD_SAFE_REF_COUNT_H_ | 5 #ifndef PPAPI_UTILITY_NON_THREAD_SAFE_REF_COUNT_H_ |
6 #define PPAPI_UTILITY_NON_THREAD_SAFE_REF_COUNT_H_ | 6 #define PPAPI_UTILITY_NON_THREAD_SAFE_REF_COUNT_H_ |
7 | 7 |
8 #include "ppapi/cpp/core.h" | 8 #include "ppapi/cpp/core.h" |
9 #include "ppapi/cpp/logging.h" | 9 #include "ppapi/cpp/logging.h" |
10 #include "ppapi/cpp/module.h" | 10 #include "ppapi/cpp/module.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 private: | 51 private: |
52 int32_t ref_; | 52 int32_t ref_; |
53 #ifndef NDEBUG | 53 #ifndef NDEBUG |
54 bool is_main_thread_; | 54 bool is_main_thread_; |
55 #endif | 55 #endif |
56 }; | 56 }; |
57 | 57 |
58 } // namespace pp | 58 } // namespace pp |
59 | 59 |
60 #endif // PPAPI_UTILITY_NON_THREAD_SAFE_REF_COUNT_H_ | 60 #endif // PPAPI_UTILITY_NON_THREAD_SAFE_REF_COUNT_H_ |
OLD | NEW |