| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/quic/quic_spdy_decompressor.h" | 5 #include "net/quic/quic_spdy_decompressor.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 virtual void OnStreamFrameData(SpdyStreamId stream_id, | 29 virtual void OnStreamFrameData(SpdyStreamId stream_id, |
| 30 const char* data, | 30 const char* data, |
| 31 size_t len, | 31 size_t len, |
| 32 bool fin) OVERRIDE {} | 32 bool fin) OVERRIDE {} |
| 33 virtual bool OnControlFrameHeaderData(SpdyStreamId stream_id, | 33 virtual bool OnControlFrameHeaderData(SpdyStreamId stream_id, |
| 34 const char* header_data, | 34 const char* header_data, |
| 35 size_t len) OVERRIDE; | 35 size_t len) OVERRIDE; |
| 36 virtual void OnSynStream(SpdyStreamId stream_id, | 36 virtual void OnSynStream(SpdyStreamId stream_id, |
| 37 SpdyStreamId associated_stream_id, | 37 SpdyStreamId associated_stream_id, |
| 38 SpdyPriority priority, | 38 SpdyPriority priority, |
| 39 uint8 credential_slot, | |
| 40 bool fin, | 39 bool fin, |
| 41 bool unidirectional) OVERRIDE {} | 40 bool unidirectional) OVERRIDE {} |
| 42 virtual void OnSynReply(SpdyStreamId stream_id, bool fin) OVERRIDE {} | 41 virtual void OnSynReply(SpdyStreamId stream_id, bool fin) OVERRIDE {} |
| 43 virtual void OnRstStream(SpdyStreamId stream_id, | 42 virtual void OnRstStream(SpdyStreamId stream_id, |
| 44 SpdyRstStreamStatus status) OVERRIDE {} | 43 SpdyRstStreamStatus status) OVERRIDE {} |
| 45 virtual void OnSetting(SpdySettingsIds id, | 44 virtual void OnSetting(SpdySettingsIds id, |
| 46 uint8 flags, | 45 uint8 flags, |
| 47 uint32 value) OVERRIDE {} | 46 uint32 value) OVERRIDE {} |
| 48 virtual void OnPing(uint32 unique_id) OVERRIDE {} | 47 virtual void OnPing(uint32 unique_id) OVERRIDE {} |
| 49 virtual void OnGoAway(SpdyStreamId last_accepted_stream_id, | 48 virtual void OnGoAway(SpdyStreamId last_accepted_stream_id, |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 } | 126 } |
| 128 | 127 |
| 129 void QuicSpdyDecompressor::ResetForNextHeaders() { | 128 void QuicSpdyDecompressor::ResetForNextHeaders() { |
| 130 has_current_compressed_size_ = false; | 129 has_current_compressed_size_ = false; |
| 131 current_compressed_size_ = 0; | 130 current_compressed_size_ = 0; |
| 132 compressed_bytes_consumed_ = 0; | 131 compressed_bytes_consumed_ = 0; |
| 133 ++current_header_id_; | 132 ++current_header_id_; |
| 134 } | 133 } |
| 135 | 134 |
| 136 } // namespace net | 135 } // namespace net |
| OLD | NEW |