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

Unified Diff: net/quic/quic_spdy_server_stream.h

Issue 337093003: QuicServer: Use Chrome's header parsing rather than Balsa (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@quic_server_3
Patch Set: (mark StringPieceUtils as copied, not added) Created 6 years, 6 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/quic/quic_spdy_server_stream.h
diff --git a/net/quic/quic_spdy_server_stream.h b/net/quic/quic_spdy_server_stream.h
index 8a6808bd3bc40ac6b410b5b2354aec2104946e31..afdcab7e9cfbc16e048b2c64b4b35646c9901b94 100644
--- a/net/quic/quic_spdy_server_stream.h
+++ b/net/quic/quic_spdy_server_stream.h
@@ -9,9 +9,10 @@
#include "base/basictypes.h"
#include "net/base/io_buffer.h"
+#include "net/http/http_response_headers.h"
+#include "net/quic/http_request_line.h"
#include "net/quic/quic_data_stream.h"
#include "net/quic/quic_protocol.h"
-#include "net/tools/balsa/balsa_headers.h"
namespace net {
@@ -46,11 +47,10 @@ class QuicSpdyServerStream : public QuicDataStream {
// for the body
void SendErrorResponse();
- void SendHeadersAndBody(const BalsaHeaders& response_headers,
+ void SendHeadersAndBody(scoped_refptr<HttpResponseHeaders> response_headers,
base::StringPiece body);
- BalsaHeaders headers_;
- string body_;
+ scoped_ptr<HttpRequestLine> request_line_;
// Buffer into which response header data is read.
scoped_refptr<GrowableIOBuffer> read_buf_;

Powered by Google App Engine
This is Rietveld 408576698