| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 */ | |
| 5 | 4 |
| 6 #ifndef LIBRARIES_SDK_UTIL_REF_OBJECT | 5 #ifndef LIBRARIES_SDK_UTIL_REF_OBJECT |
| 7 #define LIBRARIES_SDK_UTIL_REF_OBJECT | 6 #define LIBRARIES_SDK_UTIL_REF_OBJECT |
| 8 | 7 |
| 9 #include <stdlib.h> | 8 #include <stdlib.h> |
| 10 #include "pthread.h" | 9 #include "pthread.h" |
| 11 | 10 |
| 12 #include "sdk_util/atomicops.h" | 11 #include "sdk_util/atomicops.h" |
| 13 | 12 |
| 14 namespace sdk_util { | 13 namespace sdk_util { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 private: | 65 private: |
| 67 Atomic32 ref_count_; | 66 Atomic32 ref_count_; |
| 68 | 67 |
| 69 friend class ScopedRefBase; | 68 friend class ScopedRefBase; |
| 70 }; | 69 }; |
| 71 | 70 |
| 72 } // namespace sdk_util | 71 } // namespace sdk_util |
| 73 | 72 |
| 74 #endif // LIBRARIES_SDK_UTIL_REF_OBJECT | 73 #endif // LIBRARIES_SDK_UTIL_REF_OBJECT |
| 75 | 74 |
| OLD | NEW |