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

Unified Diff: net/quic/quic_stream_factory.h

Issue 1793273004: Revert of Implement QUIC-based net::BidirectionalStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@basecl
Patch Set: Created 4 years, 9 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/quic/bidirectional_stream_quic_impl_unittest.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_factory.h
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
index 0cd43126b35085dc578ea210fbcf7720f8f45650..1986df85369912efa03e314bbaf7242c0033e92a 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -24,9 +24,7 @@
#include "net/base/network_change_notifier.h"
#include "net/cert/cert_database.h"
#include "net/http/http_server_properties.h"
-#include "net/http/http_stream_factory.h"
#include "net/log/net_log.h"
-#include "net/net_features.h"
#include "net/proxy/proxy_server.h"
#include "net/quic/network_connection.h"
#include "net/quic/quic_chromium_client_session.h"
@@ -57,7 +55,6 @@
class QuicStreamFactory;
class SocketPerformanceWatcherFactory;
class TransportSecurityState;
-class BidirectionalStreamJob;
namespace test {
class QuicStreamFactoryPeer;
@@ -90,14 +87,9 @@
// returns the amount of time waiting job should be delayed.
base::TimeDelta GetTimeDelayForWaitingJob() const;
- scoped_ptr<QuicHttpStream> CreateStream();
-
-#if BUILDFLAG(ENABLE_BIDIRECTIONAL_STREAM)
- scoped_ptr<BidirectionalStreamJob> CreateBidirectionalStreamJob();
-#endif
-
- // Sets |session_|.
- void SetSession(QuicChromiumClientSession* session);
+ scoped_ptr<QuicHttpStream> ReleaseStream();
+
+ void set_stream(scoped_ptr<QuicHttpStream> stream);
const std::string& origin_host() const { return origin_host_; }
@@ -113,7 +105,7 @@
PrivacyMode privacy_mode_;
BoundNetLog net_log_;
CompletionCallback callback_;
- base::WeakPtr<QuicChromiumClientSession> session_;
+ scoped_ptr<QuicHttpStream> stream_;
DISALLOW_COPY_AND_ASSIGN(QuicStreamRequest);
};
« no previous file with comments | « net/quic/bidirectional_stream_quic_impl_unittest.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698