summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/mem_entry_impl.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-31 17:35:14 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-31 17:35:14 +0000
commit18995e2487e6e894e24601c4714a050797d9f1ef (patch)
treebc3569b97ccc8ce9bb827ec904b262ab7e4748e7 /net/disk_cache/mem_entry_impl.h
parent76543b9c43515c8c68413b25d682b7c15a151905 (diff)
downloadchromium_src-18995e2487e6e894e24601c4714a050797d9f1ef.zip
chromium_src-18995e2487e6e894e24601c4714a050797d9f1ef.tar.gz
chromium_src-18995e2487e6e894e24601c4714a050797d9f1ef.tar.bz2
Disk Cache: Function re-ordering. No code change.
BUG=none TEST=none Review URL: http://codereview.chromium.org/182023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24900 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/mem_entry_impl.h')
-rw-r--r--net/disk_cache/mem_entry_impl.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/net/disk_cache/mem_entry_impl.h b/net/disk_cache/mem_entry_impl.h
index 5f596bb..2463985 100644
--- a/net/disk_cache/mem_entry_impl.h
+++ b/net/disk_cache/mem_entry_impl.h
@@ -142,19 +142,18 @@ class MemEntryImpl : public Entry {
int32 data_size_[NUM_STREAMS];
int ref_count_;
- MemEntryImpl* next_; // Pointers for the LRU list.
+ int child_id_; // The ID of a child entry.
+ int child_first_pos_; // The position of the first byte in a child
+ // entry.
+ MemEntryImpl* next_; // Pointers for the LRU list.
MemEntryImpl* prev_;
- MemEntryImpl* parent_; // Pointer to the parent entry.
+ MemEntryImpl* parent_; // Pointer to the parent entry.
scoped_ptr<EntryMap> children_;
- int child_id_; // The ID of a child entry.
- int child_first_pos_; // The position of the first byte in a child
- // entry.
-
- base::Time last_modified_; // LRU information.
+ base::Time last_modified_; // LRU information.
base::Time last_used_;
- MemBackendImpl* backend_; // Back pointer to the cache.
- bool doomed_; // True if this entry was removed from the cache.
+ MemBackendImpl* backend_; // Back pointer to the cache.
+ bool doomed_; // True if this entry was removed from the cache.
DISALLOW_EVIL_CONSTRUCTORS(MemEntryImpl);
};