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

Unified Diff: net/http/http_cache.h

Issue 2886483002: Adds a new class HttpCache::Writers for multiple cache transactions reading from the network. (Closed)
Patch Set: AddTransaction to take unique_ptr of network transaction. Created 3 years, 7 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 635cb92d557d17c6c60ca459f4117deb075f71f7..6113bf1a2dca0c3dcf614673c3ebf8037e7a0a1d 100644
--- a/net/http/http_cache.h
+++ b/net/http/http_cache.h
@@ -69,6 +69,8 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
DISABLE
};
+ class WritersTest;
+
// A BackendFactory creates a backend object to be used by the HttpCache.
class NET_EXPORT BackendFactory {
public:
@@ -240,6 +242,8 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
class QuicServerInfoFactoryAdaptor;
class Transaction;
class WorkItem;
+ class Writers;
+ friend class WritersTest; // To access ActiveEntry in the test class.
friend class Transaction;
friend class ViewCacheHelper;
struct PendingOp; // Info for an entry under construction.
« no previous file with comments | « net/BUILD.gn ('k') | net/http/http_cache_transaction.h » ('j') | net/http/http_cache_writers.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698