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

Unified Diff: net/http/http_transaction.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, 3 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_transaction.h
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h
index 6b8ea70cb3b679fd1ad1112923819a9869360cc7..dcb53db87189409a1254586c6e0caf330ec4e8b5 100644
--- a/net/http/http_transaction.h
+++ b/net/http/http_transaction.h
@@ -111,6 +111,7 @@ class NET_EXPORT_PRIVATE HttpTransaction {
const CompletionCallback& callback) = 0;
// Stops further caching of this request by the HTTP cache, if there is any.
+ // Should only be called when there are no pending operations.
virtual void StopCaching() = 0;
// Gets the full request headers sent to the server. This is guaranteed to

Powered by Google App Engine
This is Rietveld 408576698