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

Unified 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: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: net/quic/congestion_control/send_algorithm_simulator.cc
diff --git a/net/quic/congestion_control/send_algorithm_simulator.cc b/net/quic/congestion_control/send_algorithm_simulator.cc
index 765394342fbaf0c8cee6006480fa820438d4abc5..e33445c80d669399f116218fb530bfe2913fc820 100644
--- a/net/quic/congestion_control/send_algorithm_simulator.cc
+++ b/net/quic/congestion_control/send_algorithm_simulator.cc
@@ -5,6 +5,7 @@
#include "net/quic/congestion_control/send_algorithm_simulator.h"
#include <limits>
+#include <string>
#include "base/logging.h"
#include "base/rand_util.h"
@@ -47,7 +48,7 @@ SendAlgorithmSimulator::Sender::Sender(SendAlgorithmInterface* send_algorithm,
SendAlgorithmSimulator::Transfer::Transfer(Sender* sender,
QuicByteCount num_bytes,
QuicTime start_time,
- string name)
+ std::string name)
ramant (doing other things) 2014/12/02 04:14:43 We share net/quic and net/tools/quic code with int
haltonhuo 2014/12/02 04:57:07 Does that make sense that adding "using std::strin
ramant (doing other things) 2014/12/03 01:10:09 We use "std::" in the header files (we don't speci
: sender(sender),
num_bytes(num_bytes),
bytes_acked(0),
@@ -82,7 +83,7 @@ void SendAlgorithmSimulator::AddTransfer(Sender* sender, size_t num_bytes) {
}
void SendAlgorithmSimulator::AddTransfer(
- Sender* sender, size_t num_bytes, QuicTime start_time, string name) {
+ Sender* sender, size_t num_bytes, QuicTime start_time, std::string name) {
pending_transfers_.push_back(Transfer(sender, num_bytes, start_time, name));
// Record initial stats from when the transfer begins.
pending_transfers_.back().sender->RecordStats();
« no previous file with comments | « net/quic/congestion_control/send_algorithm_simulator.h ('k') | net/quic/crypto/aes_128_gcm_12_decrypter_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698