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

Unified Diff: base/debug/leak_tracker.h

Issue 3945002: Move debug-related stuff from base to the base/debug directory and use the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/debug/leak_annotations.h ('k') | base/debug/leak_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/leak_tracker.h
===================================================================
--- base/debug/leak_tracker.h (revision 0)
+++ base/debug/leak_tracker.h (working copy)
@@ -1,9 +1,9 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_LEAK_TRACKER_H_
-#define BASE_LEAK_TRACKER_H_
+#ifndef BASE_DEBUG_LEAK_TRACKER_H_
+#define BASE_DEBUG_LEAK_TRACKER_H_
#pragma once
// Only enable leak tracking in debug builds.
@@ -12,7 +12,7 @@
#endif
#ifdef ENABLE_LEAK_TRACKER
-#include "base/debug_util.h"
+#include "base/debug/stack_trace.h"
#include "base/linked_list.h"
#include "base/logging.h"
#endif // ENABLE_LEAK_TRACKER
@@ -45,6 +45,7 @@
// If ENABLE_LEAK_TRACKER is not defined, then the check has no effect.
namespace base {
+namespace debug {
#ifndef ENABLE_LEAK_TRACKER
@@ -127,6 +128,7 @@
#endif // ENABLE_LEAK_TRACKER
+} // namespace debug
} // namespace base
-#endif // BASE_LEAK_TRACKER_H_
+#endif // BASE_DEBUG_LEAK_TRACKER_H_
« no previous file with comments | « base/debug/leak_annotations.h ('k') | base/debug/leak_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698