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

Unified Diff: net/http/http_cache.h

Issue 1230113012: [net] Better StopCaching() handling for HttpCache::Transaction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
Index: net/http/http_cache.h
diff --git a/net/http/http_cache.h b/net/http/http_cache.h
index 026d476e92f0dcfd36c309d07c5016ddfaa04854..cdd0935863c12a03ad1cfa9d9de45aa6b093ac9f 100644
--- a/net/http/http_cache.h
+++ b/net/http/http_cache.h
@@ -347,11 +347,6 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
// one (in this case, the entry is no longer valid).
int AddTransactionToEntry(ActiveEntry* entry, Transaction* trans);
- // Called when the transaction has finished working with this entry. |cancel|
- // is true if the operation was cancelled by the caller instead of running
- // to completion.
- void DoneWithEntry(ActiveEntry* entry, Transaction* trans, bool cancel);
-
// Called when the transaction has finished writing to this entry. |success|
// is false if the cache entry should be deleted.
void DoneWritingToEntry(ActiveEntry* entry, bool success);

Powered by Google App Engine
This is Rietveld 408576698