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

Unified Diff: net/http/mock_http_cache.h

Issue 2668563002: Change MockHttpCache constructor to take boolean to set quic server info factory (Closed)
Patch Set: sync with master Created 3 years, 11 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/mock_http_cache.h
diff --git a/net/http/mock_http_cache.h b/net/http/mock_http_cache.h
index 7cf03db4051170a08b6d579624f2669cdd623f73..19b07d69b2d80e6502ffdbfa3ba6c5f02ed9f75b 100644
--- a/net/http/mock_http_cache.h
+++ b/net/http/mock_http_cache.h
@@ -180,8 +180,11 @@ class MockBackendFactory : public HttpCache::BackendFactory {
class MockHttpCache {
public:
MockHttpCache();
- explicit MockHttpCache(
- std::unique_ptr<HttpCache::BackendFactory> disk_cache_factory);
+ // |set_up_quic_server_info| if set, will set a quic server info factory
+ // adptor.
+ explicit MockHttpCache(bool set_up_quic_server_info);
+ MockHttpCache(std::unique_ptr<HttpCache::BackendFactory> disk_cache_factory,
+ bool set_up_quic_server_info);
HttpCache* http_cache() { return &http_cache_; }

Powered by Google App Engine
This is Rietveld 408576698