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

Side by Side Diff: net/quic/congestion_control/send_algorithm_simulator.cc

Issue 763833003: Remove using namespace in net/quic/quic_stream_sequencer.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve ramant's comment, using std:: for .cc Created 6 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/congestion_control/send_algorithm_simulator.h" 5 #include "net/quic/congestion_control/send_algorithm_simulator.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <string>
ramant (doing other things) 2014/12/03 01:10:09 send_algorithm_simulator.h has included string.
8 9
9 #include "base/logging.h" 10 #include "base/logging.h"
10 #include "base/rand_util.h" 11 #include "base/rand_util.h"
11 #include "net/quic/crypto/quic_random.h" 12 #include "net/quic/crypto/quic_random.h"
12 13
13 using std::list; 14 using std::list;
14 using std::make_pair; 15 using std::make_pair;
15 using std::max; 16 using std::max;
16 using std::min; 17 using std::min;
18 using std::string;
17 using std::vector; 19 using std::vector;
18 20
19 namespace net { 21 namespace net {
20 22
21 namespace { 23 namespace {
22 24
23 const QuicByteCount kPacketSize = 1200; 25 const QuicByteCount kPacketSize = 1200;
24 26
25 } // namespace 27 } // namespace
26 28
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 } 388 }
387 transfer->bytes_in_flight += kPacketSize; 389 transfer->bytes_in_flight += kPacketSize;
388 } 390 }
389 391
390 // Advance the time by |delta| without sending anything. 392 // Advance the time by |delta| without sending anything.
391 void SendAlgorithmSimulator::AdvanceTime(QuicTime::Delta delta) { 393 void SendAlgorithmSimulator::AdvanceTime(QuicTime::Delta delta) {
392 clock_->AdvanceTime(delta); 394 clock_->AdvanceTime(delta);
393 } 395 }
394 396
395 } // namespace net 397 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698