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

Unified Diff: net/http/http_cache_transaction.cc

Issue 23856018: Changes to HttpNetworkTransaction for WebSocket Handshake (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Standardised condition for WebSocket handshake. Created 7 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_cache_transaction.cc
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc
index ba42d163cbd151964421ddb2eb87a9313141d091..69655bdd010019a1bd5a80929d6009b6fb67fce0 100644
--- a/net/http/http_cache_transaction.cc
+++ b/net/http/http_cache_transaction.cc
@@ -533,6 +533,12 @@ void HttpCache::Transaction::SetPriority(RequestPriority priority) {
network_trans_->SetPriority(priority_);
}
+void HttpCache::Transaction::SetWebSocketHandshakeStreamFactory(
+ WebSocketHandshakeStreamBase::Factory* factory) {
+ if (network_trans_)
+ network_trans_->SetWebSocketHandshakeStreamFactory(factory);
+}
+
//-----------------------------------------------------------------------------
void HttpCache::Transaction::DoCallback(int rv) {

Powered by Google App Engine
This is Rietveld 408576698