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

Unified Diff: net/quic/core/crypto/strike_register_test.cc

Issue 2524523002: Remove various 'using std::' statements from QUIC code and use (Closed)
Patch Set: Rebase Created 4 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/quic/core/crypto/quic_crypto_server_config_test.cc ('k') | net/quic/core/frames/quic_ack_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/strike_register_test.cc
diff --git a/net/quic/core/crypto/strike_register_test.cc b/net/quic/core/crypto/strike_register_test.cc
index 07d1f2085eff6d712ae7e58012f0e74d5ffcaba4..b056a9e0de7849db961a7dbc1142f22c8c3ee992 100644
--- a/net/quic/core/crypto/strike_register_test.cc
+++ b/net/quic/core/crypto/strike_register_test.cc
@@ -16,9 +16,6 @@ namespace net {
namespace {
-using std::min;
-using std::pair;
-using std::set;
using std::string;
const uint8_t kOrbit[8] = {1, 2, 3, 4, 5, 6, 7, 8};
@@ -250,7 +247,7 @@ class SlowStrikeRegister {
if (horizon_ > current_time) {
return 0;
}
- return 1 + min(current_time - horizon_, window_secs_);
+ return 1 + std::min(current_time - horizon_, window_secs_);
}
private:
« no previous file with comments | « net/quic/core/crypto/quic_crypto_server_config_test.cc ('k') | net/quic/core/frames/quic_ack_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698