From 07c3f84910a6bc63a69d5f7fe0725090cf2af1ce Mon Sep 17 00:00:00 2001 From: "rvargas@google.com" Date: Tue, 2 Dec 2008 19:14:29 +0000 Subject: 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 --- net/disk_cache/entry_impl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'net/disk_cache/entry_impl.h') 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 { 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(); -- cgit v1.1