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

Unified Diff: net/http/http_network_layer.h

Issue 11416058: Integrating the QuicStreamFactory into the network stack. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Done Created 8 years, 1 month 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_network_layer.h
diff --git a/net/http/http_network_layer.h b/net/http/http_network_layer.h
index d9eb676b989ba0810547b21e33623f8494019477..ba7413e4fe304348b2a0c6854aa3f94cee371b3f 100644
--- a/net/http/http_network_layer.h
+++ b/net/http/http_network_layer.h
@@ -46,6 +46,11 @@ class NET_EXPORT HttpNetworkLayer
// "none" : disables both SSL and compression.
static void EnableSpdy(const std::string& mode);
+ // Enable the quic protocol.
+ // Without calling this function, QUIC is disabled. If this flag is present
+ // then any requests to the specified port will be fetched via QUIC.
+ static void EnableQuic(const std::string& port);
willchan no longer on Chromium 2012/11/22 03:04:53 Sorry, I'm trying to draw a hardline and eliminate
Ryan Hamilton 2012/11/22 23:08:40 Done. I'd also be happy to audit the use of stati
+
// HttpTransactionFactory methods:
virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans,
HttpTransactionDelegate* delegate) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698