| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_headers_stream.h" | 5 #include "net/quic/quic_headers_stream.h" |
| 6 | 6 |
| 7 #include "base/macros.h" | 7 #include "base/macros.h" |
| 8 #include "base/metrics/histogram_macros.h" | 8 #include "base/metrics/histogram_macros.h" |
| 9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
| 10 #include "net/quic/quic_bug_tracker.h" | 10 #include "net/quic/quic_bug_tracker.h" |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 } | 357 } |
| 358 | 358 |
| 359 void QuicHeadersStream::OnCompressedFrameSize(size_t frame_len) { | 359 void QuicHeadersStream::OnCompressedFrameSize(size_t frame_len) { |
| 360 frame_len_ += frame_len; | 360 frame_len_ += frame_len; |
| 361 } | 361 } |
| 362 | 362 |
| 363 bool QuicHeadersStream::IsConnected() { | 363 bool QuicHeadersStream::IsConnected() { |
| 364 return session()->connection()->connected(); | 364 return session()->connection()->connected(); |
| 365 } | 365 } |
| 366 | 366 |
| 367 void QuicHeadersStream::DisableHpackDynamicTable() { |
| 368 spdy_framer_.UpdateHeaderEncoderTableSize(0); |
| 369 } |
| 370 |
| 367 } // namespace net | 371 } // namespace net |
| OLD | NEW |