| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "net/disk_cache/mem_entry_impl.h" | 5 #include "net/disk_cache/mem_entry_impl.h" |
| 6 | 6 |
| 7 #include "net/base/io_buffer.h" | 7 #include "net/base/io_buffer.h" |
| 8 #include "net/base/net_errors.h" | 8 #include "net/base/net_errors.h" |
| 9 #include "net/disk_cache/mem_backend_impl.h" | 9 #include "net/disk_cache/mem_backend_impl.h" |
| 10 | 10 |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 last_used_ = current; | 169 last_used_ = current; |
| 170 | 170 |
| 171 if (modified) | 171 if (modified) |
| 172 last_modified_ = current; | 172 last_modified_ = current; |
| 173 | 173 |
| 174 if (!doomed_) | 174 if (!doomed_) |
| 175 backend_->UpdateRank(this); | 175 backend_->UpdateRank(this); |
| 176 } | 176 } |
| 177 | 177 |
| 178 } // namespace disk_cache | 178 } // namespace disk_cache |
| 179 | |
| OLD | NEW |