Chromium Code Reviews| Index: base/memory/ref_counted_memory.h |
| =================================================================== |
| --- base/memory/ref_counted_memory.h (revision 134496) |
| +++ base/memory/ref_counted_memory.h (working copy) |
| @@ -13,12 +13,11 @@ |
| #include "base/compiler_specific.h" |
| #include "base/memory/ref_counted.h" |
| -// TODO(erg): The contents of this file should be in a namespace. This would |
| -// require touching >100 files in chrome/ though. |
| - |
| // A generic interface to memory. This object is reference counted because one |
| // of its two subclasses own the data they carry, and we need to have |
| // heterogeneous containers of these two types of memory. |
| +namespace base { |
|
Elliot Glaysher
2012/05/01 19:08:49
This goes above the comment; this comment describe
simonhong_
2012/05/01 19:17:26
Done.
|
| + |
| class BASE_EXPORT RefCountedMemory |
| : public base::RefCountedThreadSafe<RefCountedMemory> { |
| public: |
| @@ -35,8 +34,6 @@ |
| virtual ~RefCountedMemory(); |
| }; |
| -namespace base { |
| - |
| // An implementation of RefCountedMemory, where the ref counting does not |
| // matter. |
| class BASE_EXPORT RefCountedStaticMemory : public RefCountedMemory { |