| 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 // See net/disk_cache/disk_cache.h for the public interface of the cache. | 5 // See net/disk_cache/disk_cache.h for the public interface of the cache. |
| 6 | 6 |
| 7 #ifndef NET_DISK_CACHE_MEMORY_MEM_BACKEND_IMPL_H_ | 7 #ifndef NET_DISK_CACHE_MEMORY_MEM_BACKEND_IMPL_H_ |
| 8 #define NET_DISK_CACHE_MEMORY_MEM_BACKEND_IMPL_H_ | 8 #define NET_DISK_CACHE_MEMORY_MEM_BACKEND_IMPL_H_ |
| 9 | 9 |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| 11 | 11 |
| 12 #include <string> | 12 #include <string> |
| 13 #include <unordered_map> | 13 #include <unordered_map> |
| 14 | 14 |
| 15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
| 16 #include "base/containers/linked_list.h" | 16 #include "base/containers/linked_list.h" |
| 17 #include "base/macros.h" | 17 #include "base/macros.h" |
| 18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 19 #include "base/strings/string_split.h" | 19 #include "base/strings/string_split.h" |
| 20 #include "base/time/time.h" | 20 #include "base/time/time.h" |
| 21 #include "net/base/net_export.h" |
| 21 #include "net/disk_cache/disk_cache.h" | 22 #include "net/disk_cache/disk_cache.h" |
| 22 #include "net/disk_cache/memory/mem_entry_impl.h" | 23 #include "net/disk_cache/memory/mem_entry_impl.h" |
| 23 | 24 |
| 24 namespace net { | 25 namespace net { |
| 25 class NetLog; | 26 class NetLog; |
| 26 } // namespace net | 27 } // namespace net |
| 27 | 28 |
| 28 namespace disk_cache { | 29 namespace disk_cache { |
| 29 | 30 |
| 30 // This class implements the Backend interface. An object of this class handles | 31 // This class implements the Backend interface. An object of this class handles |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 net::NetLog* net_log_; | 116 net::NetLog* net_log_; |
| 116 | 117 |
| 117 base::WeakPtrFactory<MemBackendImpl> weak_factory_; | 118 base::WeakPtrFactory<MemBackendImpl> weak_factory_; |
| 118 | 119 |
| 119 DISALLOW_COPY_AND_ASSIGN(MemBackendImpl); | 120 DISALLOW_COPY_AND_ASSIGN(MemBackendImpl); |
| 120 }; | 121 }; |
| 121 | 122 |
| 122 } // namespace disk_cache | 123 } // namespace disk_cache |
| 123 | 124 |
| 124 #endif // NET_DISK_CACHE_MEMORY_MEM_BACKEND_IMPL_H_ | 125 #endif // NET_DISK_CACHE_MEMORY_MEM_BACKEND_IMPL_H_ |
| OLD | NEW |