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

Unified Diff: net/disk_cache/backend_impl.h

Issue 8794003: base::Bind: Convert disk_cache_based_ssl_host_info. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove an OldCompletionCallback. Created 9 years 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
Index: net/disk_cache/backend_impl.h
diff --git a/net/disk_cache/backend_impl.h b/net/disk_cache/backend_impl.h
index 1e386787633ecd07f92fc6f41eb173e6c7be747d..0cf1fac9ece8bd7a5dcc73be182d8ee55d68e041 100644
--- a/net/disk_cache/backend_impl.h
+++ b/net/disk_cache/backend_impl.h
@@ -65,7 +65,7 @@ class NET_EXPORT_PRIVATE BackendImpl : public Backend {
int SyncInit();
void CleanupCache();
- // Same bahavior as OpenNextEntry but walks the list from back to front.
+ // Same behavior as OpenNextEntry but walks the list from back to front.
int OpenPrevEntry(void** iter, Entry** prev_entry,
OldCompletionCallback* callback);
@@ -260,8 +260,12 @@ class NET_EXPORT_PRIVATE BackendImpl : public Backend {
virtual int32 GetEntryCount() const OVERRIDE;
virtual int OpenEntry(const std::string& key, Entry** entry,
OldCompletionCallback* callback) OVERRIDE;
+ virtual int OpenEntry(const std::string& key, Entry** entry,
+ const net::CompletionCallback& callback) OVERRIDE;
virtual int CreateEntry(const std::string& key, Entry** entry,
OldCompletionCallback* callback) OVERRIDE;
+ virtual int CreateEntry(const std::string& key, Entry** entry,
+ const net::CompletionCallback& callback) OVERRIDE;
virtual int DoomEntry(const std::string& key,
OldCompletionCallback* callback) OVERRIDE;
virtual int DoomAllEntries(OldCompletionCallback* callback) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698