OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // Functions used to debug memory usage, leaks, and other memory issues. | 5 // Functions used to debug memory usage, leaks, and other memory issues. |
6 // All methods are effectively no-ops unless this program is being run through | 6 // All methods are effectively no-ops unless this program is being run through |
7 // a supported memory tool (currently, only Purify) | 7 // a supported memory tool (currently, only Purify) |
8 | 8 |
9 #ifndef BASE_MEMORY_DEBUG_H_ | 9 #ifndef BASE_MEMORY_DEBUG_H_ |
10 #define BASE_MEMORY_DEBUG_H_ | 10 #define BASE_MEMORY_DEBUG_H_ |
(...skipping 26 matching lines...) Expand all Loading... |
37 | 37 |
38 private: | 38 private: |
39 static bool memory_in_use_; | 39 static bool memory_in_use_; |
40 | 40 |
41 DISALLOW_IMPLICIT_CONSTRUCTORS(MemoryDebug); | 41 DISALLOW_IMPLICIT_CONSTRUCTORS(MemoryDebug); |
42 }; | 42 }; |
43 | 43 |
44 } // namespace base | 44 } // namespace base |
45 | 45 |
46 #endif // BASE_MEMORY_DEBUG_H_ | 46 #endif // BASE_MEMORY_DEBUG_H_ |
47 | |
OLD | NEW |