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

Side by Side Diff: base/memory/memory_debug.cc

Issue 6714032: Move some files in base to base/memory. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: only base Created 9 years, 9 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 | Annotate | Revision Log
OLDNEW
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 #include "base/memory_debug.h" 5 #include "base/memory/memory_debug.h"
6 6
7 #ifdef PURIFY 7 #ifdef PURIFY
8 // this #define is used to prevent people from directly using pure.h 8 // this #define is used to prevent people from directly using pure.h
9 // instead of memory_debug.h 9 // instead of memory_debug.h
10 #define PURIFY_PRIVATE_INCLUDE 10 #define PURIFY_PRIVATE_INCLUDE
11 #include "base/third_party/purify/pure.h" 11 #include "base/third_party/purify/pure.h"
12 #endif 12 #endif
13 13
14 namespace base { 14 namespace base {
15 15
(...skipping 29 matching lines...) Expand all
45 #endif 45 #endif
46 } 46 }
47 47
48 void MemoryDebug::MarkAsInitialized(void* addr, size_t size) { 48 void MemoryDebug::MarkAsInitialized(void* addr, size_t size) {
49 #ifdef PURIFY 49 #ifdef PURIFY
50 PurifyMarkAsInitialized(addr, size); 50 PurifyMarkAsInitialized(addr, size);
51 #endif 51 #endif
52 } 52 }
53 53
54 } // namespace base 54 } // namespace base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698