diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-02 19:14:29 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-02 19:14:29 +0000 |
commit | 07c3f84910a6bc63a69d5f7fe0725090cf2af1ce (patch) | |
tree | 6450123619273152c71b984d2565d22565dec244 /net/disk_cache/entry_impl.h | |
parent | 606843faf131685e7802df12f2ee97efc7cf2f3b (diff) | |
download | chromium_src-07c3f84910a6bc63a69d5f7fe0725090cf2af1ce.zip chromium_src-07c3f84910a6bc63a69d5f7fe0725090cf2af1ce.tar.gz chromium_src-07c3f84910a6bc63a69d5f7fe0725090cf2af1ce.tar.bz2 |
Disk cache: Add a tool to upgrade a set of cache files from one version to
another.
Also moves crash_cache project to the "tools folder" on the solution.
Review URL: http://codereview.chromium.org/12851
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6226 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/entry_impl.h')
-rw-r--r-- | net/disk_cache/entry_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/disk_cache/entry_impl.h b/net/disk_cache/entry_impl.h index 64fa75b..b504b0bd 100644 --- a/net/disk_cache/entry_impl.h +++ b/net/disk_cache/entry_impl.h @@ -84,6 +84,10 @@ class EntryImpl : public Entry, public base::RefCounted<EntryImpl> { void IncrementIoCount(); void DecrementIoCount(); + // Set the access times for this entry. This method provides support for + // the upgrade tool. + void SetTimes(base::Time last_used, base::Time last_modified); + private: ~EntryImpl(); |