| OLD | NEW |
| 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_MEMORY_REF_COUNTED_MEMORY_H_ | 5 #ifndef BASE_MEMORY_REF_COUNTED_MEMORY_H_ |
| 6 #define BASE_MEMORY_REF_COUNTED_MEMORY_H_ | 6 #define BASE_MEMORY_REF_COUNTED_MEMORY_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <string> | 8 #include <string> |
| 10 #include <vector> | 9 #include <vector> |
| 11 | 10 |
| 12 #include "base/base_export.h" | 11 #include "base/base_export.h" |
| 13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 14 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 15 | 14 |
| 16 namespace base { | 15 namespace base { |
| 17 | 16 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 virtual ~RefCountedString(); | 106 virtual ~RefCountedString(); |
| 108 | 107 |
| 109 std::string data_; | 108 std::string data_; |
| 110 | 109 |
| 111 DISALLOW_COPY_AND_ASSIGN(RefCountedString); | 110 DISALLOW_COPY_AND_ASSIGN(RefCountedString); |
| 112 }; | 111 }; |
| 113 | 112 |
| 114 } // namespace base | 113 } // namespace base |
| 115 | 114 |
| 116 #endif // BASE_MEMORY_REF_COUNTED_MEMORY_H_ | 115 #endif // BASE_MEMORY_REF_COUNTED_MEMORY_H_ |
| OLD | NEW |