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

Unified Diff: net/quic/congestion_control/send_algorithm_simulator.h

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/proxy/proxy_script_decider.cc ('k') | net/quic/congestion_control/send_algorithm_simulator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/send_algorithm_simulator.h
diff --git a/net/quic/congestion_control/send_algorithm_simulator.h b/net/quic/congestion_control/send_algorithm_simulator.h
index 7f52d8ffa3f3e479447c84ea70641e0269ae4517..2685d23293320b56ae77e3b23c603349f6bad501 100644
--- a/net/quic/congestion_control/send_algorithm_simulator.h
+++ b/net/quic/congestion_control/send_algorithm_simulator.h
@@ -80,7 +80,7 @@ class SendAlgorithmSimulator {
Transfer(Sender* sender,
QuicByteCount num_bytes,
QuicTime start_time,
- string name);
+ std::string name);
Sender* sender;
QuicByteCount num_bytes;
@@ -88,7 +88,7 @@ class SendAlgorithmSimulator {
QuicByteCount bytes_lost;
QuicByteCount bytes_in_flight;
QuicTime start_time;
- string name;
+ std::string name;
};
struct SentPacket {
@@ -157,8 +157,10 @@ class SendAlgorithmSimulator {
void AddTransfer(Sender* sender, size_t num_bytes);
// Adds a pending sending to start at the specified time.
- void AddTransfer(
- Sender* sender, size_t num_bytes, QuicTime start_time, string name);
+ void AddTransfer(Sender* sender,
+ size_t num_bytes,
+ QuicTime start_time,
+ std::string name);
// Convenience method to transfer all bytes.
void TransferBytes();
« no previous file with comments | « net/proxy/proxy_script_decider.cc ('k') | net/quic/congestion_control/send_algorithm_simulator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698