| Index: base/memory/ref_counted_memory.h
|
| diff --git a/base/ref_counted_memory.h b/base/memory/ref_counted_memory.h
|
| similarity index 90%
|
| rename from base/ref_counted_memory.h
|
| rename to base/memory/ref_counted_memory.h
|
| index fe7427e5ad093476da01b2c253922c95afa1cd11..cc82bab0edb999d8d25317224e3e34c5874e48eb 100644
|
| --- a/base/ref_counted_memory.h
|
| +++ b/base/memory/ref_counted_memory.h
|
| @@ -2,13 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef BASE_REF_COUNTED_MEMORY_H_
|
| -#define BASE_REF_COUNTED_MEMORY_H_
|
| +#ifndef BASE_MEMORY_REF_COUNTED_MEMORY_H_
|
| +#define BASE_MEMORY_REF_COUNTED_MEMORY_H_
|
| #pragma once
|
|
|
| #include <vector>
|
|
|
| -#include "base/ref_counted.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.
|
| @@ -16,7 +16,8 @@
|
| // 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.
|
| -class RefCountedMemory : public base::RefCountedThreadSafe<RefCountedMemory> {
|
| +class RefCountedMemory
|
| + : public base::RefCountedThreadSafe<RefCountedMemory> {
|
| public:
|
| // Retrieves a pointer to the beginning of the data we point to. If the data
|
| // is empty, this will return NULL.
|
| @@ -79,4 +80,4 @@ class RefCountedBytes : public RefCountedMemory {
|
| DISALLOW_COPY_AND_ASSIGN(RefCountedBytes);
|
| };
|
|
|
| -#endif // BASE_REF_COUNTED_MEMORY_H_
|
| +#endif // BASE_MEMORY_REF_COUNTED_MEMORY_H_
|
|
|