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

Unified Diff: net/disk_cache/backend_impl.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 | « no previous file | net/disk_cache/disk_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/backend_impl.h
diff --git a/net/disk_cache/backend_impl.h b/net/disk_cache/backend_impl.h
index 91faa83373b510c7ede43ec2914adfb755dd70ea..c5314c032c58161e2c1cd28fbf3d8e27287a5b6d 100644
--- a/net/disk_cache/backend_impl.h
+++ b/net/disk_cache/backend_impl.h
@@ -73,9 +73,9 @@ class NET_EXPORT_PRIVATE BackendImpl : public Backend {
int SyncCreateEntry(const std::string& key, Entry** entry);
int SyncDoomEntry(const std::string& key);
int SyncDoomAllEntries();
- int SyncDoomEntriesBetween(const base::Time initial_time,
- const base::Time end_time);
- int SyncDoomEntriesSince(const base::Time initial_time);
+ int SyncDoomEntriesBetween(base::Time initial_time,
+ base::Time end_time);
+ int SyncDoomEntriesSince(base::Time initial_time);
int SyncOpenNextEntry(void** iter, Entry** next_entry);
int SyncOpenPrevEntry(void** iter, Entry** prev_entry);
void SyncEndEnumeration(void* iter);
@@ -269,10 +269,10 @@ class NET_EXPORT_PRIVATE BackendImpl : public Backend {
virtual int DoomEntry(const std::string& key,
const CompletionCallback& callback) OVERRIDE;
virtual int DoomAllEntries(const CompletionCallback& callback) OVERRIDE;
- 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) OVERRIDE;
- virtual int DoomEntriesSince(const base::Time initial_time,
+ virtual int DoomEntriesSince(base::Time initial_time,
const CompletionCallback& callback) OVERRIDE;
virtual int OpenNextEntry(void** iter, Entry** next_entry,
const CompletionCallback& callback) OVERRIDE;
« no previous file with comments | « no previous file | net/disk_cache/disk_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698