Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: base/debug/leak_tracker.h

Issue 1549043002: Switch to standard integer types in base/debug/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/debug/leak_annotations.h ('k') | base/debug/proc_maps_linux.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 4
5 #ifndef BASE_DEBUG_LEAK_TRACKER_H_ 5 #ifndef BASE_DEBUG_LEAK_TRACKER_H_
6 #define BASE_DEBUG_LEAK_TRACKER_H_ 6 #define BASE_DEBUG_LEAK_TRACKER_H_
7 7
8 #include <stddef.h>
9
8 #include "build/build_config.h" 10 #include "build/build_config.h"
9 11
10 // Only enable leak tracking in non-uClibc debug builds. 12 // Only enable leak tracking in non-uClibc debug builds.
11 #if !defined(NDEBUG) && !defined(__UCLIBC__) 13 #if !defined(NDEBUG) && !defined(__UCLIBC__)
12 #define ENABLE_LEAK_TRACKER 14 #define ENABLE_LEAK_TRACKER
13 #endif 15 #endif
14 16
15 #ifdef ENABLE_LEAK_TRACKER 17 #ifdef ENABLE_LEAK_TRACKER
16 #include "base/containers/linked_list.h" 18 #include "base/containers/linked_list.h"
17 #include "base/debug/stack_trace.h" 19 #include "base/debug/stack_trace.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 131
130 StackTrace allocation_stack_; 132 StackTrace allocation_stack_;
131 }; 133 };
132 134
133 #endif // ENABLE_LEAK_TRACKER 135 #endif // ENABLE_LEAK_TRACKER
134 136
135 } // namespace debug 137 } // namespace debug
136 } // namespace base 138 } // namespace base
137 139
138 #endif // BASE_DEBUG_LEAK_TRACKER_H_ 140 #endif // BASE_DEBUG_LEAK_TRACKER_H_
OLDNEW
« no previous file with comments | « base/debug/leak_annotations.h ('k') | base/debug/proc_maps_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698