OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/discardable_memory.h" | 5 #include "base/memory/discardable_memory.h" |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 | 9 |
10 namespace base { | 10 namespace base { |
(...skipping 18 matching lines...) Expand all Loading... |
29 return false; | 29 return false; |
30 } | 30 } |
31 | 31 |
32 // static | 32 // static |
33 void DiscardableMemory::PurgeForTesting() { | 33 void DiscardableMemory::PurgeForTesting() { |
34 NOTIMPLEMENTED(); | 34 NOTIMPLEMENTED(); |
35 } | 35 } |
36 | 36 |
37 #endif // OS_* | 37 #endif // OS_* |
38 | 38 |
| 39 DiscardableMemory::DiscardableMemory(size_t size) : size_(size) {} |
| 40 |
39 } // namespace base | 41 } // namespace base |
OLD | NEW |