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

Side by Side Diff: net/quic/core/quic_received_packet_manager.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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
« no previous file with comments | « net/quic/chromium/quic_http_stream.cc ('k') | net/quic/core/quic_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/core/quic_received_packet_manager.h" 5 #include "net/quic/core/quic_received_packet_manager.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/stl_util.h" 11 #include "base/stl_util.h"
12 #include "base/strings/stringprintf.h"
13 #include "net/base/linked_hash_map.h" 12 #include "net/base/linked_hash_map.h"
14 #include "net/quic/core/crypto/crypto_protocol.h" 13 #include "net/quic/core/crypto/crypto_protocol.h"
15 #include "net/quic/core/quic_bug_tracker.h" 14 #include "net/quic/core/quic_bug_tracker.h"
16 #include "net/quic/core/quic_connection_stats.h" 15 #include "net/quic/core/quic_connection_stats.h"
17 #include "net/quic/core/quic_flags.h" 16 #include "net/quic/core/quic_flags.h"
18 17
19 using std::max; 18 using std::max;
20 using std::min; 19 using std::min;
21 20
22 namespace net { 21 namespace net {
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 314
316 bool QuicReceivedPacketManager::ack_frame_updated() const { 315 bool QuicReceivedPacketManager::ack_frame_updated() const {
317 return ack_frame_updated_; 316 return ack_frame_updated_;
318 } 317 }
319 318
320 QuicPacketNumber QuicReceivedPacketManager::GetLargestObserved() const { 319 QuicPacketNumber QuicReceivedPacketManager::GetLargestObserved() const {
321 return ack_frame_.largest_observed; 320 return ack_frame_.largest_observed;
322 } 321 }
323 322
324 } // namespace net 323 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_http_stream.cc ('k') | net/quic/core/quic_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698