| OLD | NEW |
| 1 // Copyright (c) 2006-2008 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 | 4 |
| 5 // MemoryWatcher. | 5 // MemoryWatcher. |
| 6 // The MemoryWatcher is a library that can be linked into any | 6 // The MemoryWatcher is a library that can be linked into any |
| 7 // win32 application. It will override the default memory allocators | 7 // win32 application. It will override the default memory allocators |
| 8 // and track call stacks for any allocations that are made. It can | 8 // and track call stacks for any allocations that are made. It can |
| 9 // then be used to see what memory is in use. | 9 // then be used to see what memory is in use. |
| 10 | 10 |
| 11 #ifndef TOOLS_MEMORY_WATCHER_MEMORY_WATCHER_ | 11 #ifndef TOOLS_MEMORY_WATCHER_MEMORY_WATCHER_ |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 std::string file_name_; | 86 std::string file_name_; |
| 87 | 87 |
| 88 // An optional name that appears in the log file name (used to differentiate | 88 // An optional name that appears in the log file name (used to differentiate |
| 89 // logs). | 89 // logs). |
| 90 std::string log_name_; | 90 std::string log_name_; |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 | 93 |
| 94 | 94 |
| 95 #endif // TOOLS_MEMORY_WATCHER_MEMORY_WATCHER_ | 95 #endif // TOOLS_MEMORY_WATCHER_MEMORY_WATCHER_ |
| OLD | NEW |