| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_OPERATION_H_ | 5 #ifndef NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_OPERATION_H_ |
| 6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_OPERATION_H_ | 6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_OPERATION_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "net/base/completion_callback.h" | 11 #include "net/base/completion_callback.h" |
| 12 #include "net/log/net_log.h" | |
| 13 | 12 |
| 14 namespace net { | 13 namespace net { |
| 15 class IOBuffer; | 14 class IOBuffer; |
| 16 } | 15 } |
| 17 | 16 |
| 18 namespace disk_cache { | 17 namespace disk_cache { |
| 19 | 18 |
| 20 class Entry; | 19 class Entry; |
| 21 class SimpleEntryImpl; | 20 class SimpleEntryImpl; |
| 22 | 21 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 // Used only in write operations. | 150 // Used only in write operations. |
| 152 const bool truncate_; | 151 const bool truncate_; |
| 153 const bool optimistic_; | 152 const bool optimistic_; |
| 154 // Used only in SimpleCache.ReadIsParallelizable histogram. | 153 // Used only in SimpleCache.ReadIsParallelizable histogram. |
| 155 const bool alone_in_queue_; | 154 const bool alone_in_queue_; |
| 156 }; | 155 }; |
| 157 | 156 |
| 158 } // namespace disk_cache | 157 } // namespace disk_cache |
| 159 | 158 |
| 160 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_OPERATION_H_ | 159 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_ENTRY_OPERATION_H_ |
| OLD | NEW |