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

Unified Diff: net/quic/chromium/quic_stream_factory.h

Issue 2675763004: Add an URLRequestTest to test the quic server info factory setup at the creation of HttpCache. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « net/http/mock_http_cache.h ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/chromium/quic_stream_factory.h
diff --git a/net/quic/chromium/quic_stream_factory.h b/net/quic/chromium/quic_stream_factory.h
index 48828daf7b80cdf44be0533dfefce8ae0adeeb33..047623a1bc5154e87b5bb6f3835cffa954b2e5ef 100644
--- a/net/quic/chromium/quic_stream_factory.h
+++ b/net/quic/chromium/quic_stream_factory.h
@@ -375,10 +375,14 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
QuicChromiumAlarmFactory* alarm_factory() { return alarm_factory_.get(); }
- bool has_quic_server_info_factory() {
+ bool has_quic_server_info_factory() const {
return quic_server_info_factory_.get() != nullptr;
}
+ QuicServerInfoFactory* quic_server_info_factory() const {
+ return quic_server_info_factory_.get();
+ }
+
void set_quic_server_info_factory(
QuicServerInfoFactory* quic_server_info_factory);
« no previous file with comments | « net/http/mock_http_cache.h ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698