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

Side by Side Diff: net/quic/quic_write_blocked_list.cc

Issue 1470713003: Landing Recent QUIC changes until and including Mon Nov 16 14:15:48 2015 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback fixes in quic_connection.cc, quic_connection_test.cc and quic_server_bin.cc. Created 5 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_write_blocked_list.h" 5 #include "net/quic/quic_write_blocked_list.h"
6 6
7 namespace net { 7 namespace net {
8 8
9 const QuicPriority QuicWriteBlockedList::kHighestPriority =
10 static_cast<QuicPriority>(net::kHighestPriority);
11 const QuicPriority QuicWriteBlockedList::kLowestPriority =
12 static_cast<QuicPriority>(net::kLowestPriority);
13
14 QuicWriteBlockedList::QuicWriteBlockedList() 9 QuicWriteBlockedList::QuicWriteBlockedList()
15 : crypto_stream_blocked_(false), headers_stream_blocked_(false) { 10 : last_priority_popped_(0),
11 crypto_stream_blocked_(false),
12 headers_stream_blocked_(false) {
13 memset(batch_write_stream_id_, 0,
14 arraysize(batch_write_stream_id_) * sizeof(QuicStreamId));
15 memset(bytes_left_for_batch_write_, 0,
16 arraysize(bytes_left_for_batch_write_) * sizeof(int32));
16 } 17 }
17 18
18 QuicWriteBlockedList::~QuicWriteBlockedList() {} 19 QuicWriteBlockedList::~QuicWriteBlockedList() {}
19 20
20 } // namespace net 21 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698