Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Unified Diff: net/disk_cache/disk_cache.h

Issue 12207120: Remove bad const from disk_cache::Backend interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: third time is a charm Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/disk_cache/backend_impl.h ('k') | net/disk_cache/mem_backend_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/disk_cache.h
diff --git a/net/disk_cache/disk_cache.h b/net/disk_cache/disk_cache.h
index e27d24ce4a5d159b3aff5cc2fc35c574d7f6d77e..13edd92f21620a31a1b44a1f155ed1f80bc59ab6 100644
--- a/net/disk_cache/disk_cache.h
+++ b/net/disk_cache/disk_cache.h
@@ -106,14 +106,14 @@ class NET_EXPORT Backend {
// either direction by using null Time values for either argument. The return
// value is a net error code. If this method returns ERR_IO_PENDING, the
// |callback| will be invoked when the operation completes.
- virtual int DoomEntriesBetween(const base::Time initial_time,
- const base::Time end_time,
+ virtual int DoomEntriesBetween(base::Time initial_time,
+ base::Time end_time,
const CompletionCallback& callback) = 0;
// Marks all entries accessed since |initial_time| for deletion. The return
// value is a net error code. If this method returns ERR_IO_PENDING, the
// |callback| will be invoked when the operation completes.
- virtual int DoomEntriesSince(const base::Time initial_time,
+ virtual int DoomEntriesSince(base::Time initial_time,
const CompletionCallback& callback) = 0;
// Enumerates the cache. Initialize |iter| to NULL before calling this method
« no previous file with comments | « net/disk_cache/backend_impl.h ('k') | net/disk_cache/mem_backend_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698