| Index: net/quic/quic_headers_stream.cc
|
| diff --git a/net/quic/quic_headers_stream.cc b/net/quic/quic_headers_stream.cc
|
| index aab8571553d2bf4ea5525fb8465723de28907260..af5a4fefefdcba8263727d96799cce6586cbeaaf 100644
|
| --- a/net/quic/quic_headers_stream.cc
|
| +++ b/net/quic/quic_headers_stream.cc
|
| @@ -154,8 +154,8 @@ class QuicHeadersStream::SpdyFramerVisitor
|
| private:
|
| void CloseConnection(const string& details) {
|
| if (stream_->IsConnected()) {
|
| - stream_->CloseConnectionWithDetails(
|
| - QUIC_INVALID_HEADERS_STREAM_DATA, details);
|
| + stream_->CloseConnectionWithDetails(QUIC_INVALID_HEADERS_STREAM_DATA,
|
| + details);
|
| }
|
| }
|
|
|
| @@ -177,7 +177,8 @@ QuicHeadersStream::QuicHeadersStream(QuicSession* session)
|
| DisableFlowControl();
|
| }
|
|
|
| -QuicHeadersStream::~QuicHeadersStream() {}
|
| +QuicHeadersStream::~QuicHeadersStream() {
|
| +}
|
|
|
| size_t QuicHeadersStream::WriteHeaders(
|
| QuicStreamId stream_id,
|
| @@ -196,25 +197,25 @@ size_t QuicHeadersStream::WriteHeaders(
|
| syn_stream.set_fin(fin);
|
| frame.reset(spdy_framer_.SerializeFrame(syn_stream));
|
| }
|
| - WriteOrBufferData(StringPiece(frame->data(), frame->size()), false,
|
| - ack_notifier_delegate);
|
| + WriteOrBufferData(
|
| + StringPiece(frame->data(), frame->size()), false, ack_notifier_delegate);
|
| return frame->size();
|
| }
|
|
|
| -uint32 QuicHeadersStream::ProcessRawData(const char* data,
|
| - uint32 data_len) {
|
| +uint32 QuicHeadersStream::ProcessRawData(const char* data, uint32 data_len) {
|
| return spdy_framer_.ProcessInput(data, data_len);
|
| }
|
|
|
| -QuicPriority QuicHeadersStream::EffectivePriority() const { return 0; }
|
| +QuicPriority QuicHeadersStream::EffectivePriority() const {
|
| + return 0;
|
| +}
|
|
|
| void QuicHeadersStream::OnSynStream(SpdyStreamId stream_id,
|
| SpdyPriority priority,
|
| bool fin) {
|
| if (!session()->is_server()) {
|
| - CloseConnectionWithDetails(
|
| - QUIC_INVALID_HEADERS_STREAM_DATA,
|
| - "SPDY SYN_STREAM frame received at the client");
|
| + CloseConnectionWithDetails(QUIC_INVALID_HEADERS_STREAM_DATA,
|
| + "SPDY SYN_STREAM frame received at the client");
|
| return;
|
| }
|
| DCHECK_EQ(kInvalidStreamId, stream_id_);
|
| @@ -225,9 +226,8 @@ void QuicHeadersStream::OnSynStream(SpdyStreamId stream_id,
|
|
|
| void QuicHeadersStream::OnSynReply(SpdyStreamId stream_id, bool fin) {
|
| if (session()->is_server()) {
|
| - CloseConnectionWithDetails(
|
| - QUIC_INVALID_HEADERS_STREAM_DATA,
|
| - "SPDY SYN_REPLY frame received at the server");
|
| + CloseConnectionWithDetails(QUIC_INVALID_HEADERS_STREAM_DATA,
|
| + "SPDY SYN_REPLY frame received at the server");
|
| return;
|
| }
|
| DCHECK_EQ(kInvalidStreamId, stream_id_);
|
|
|