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

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

Issue 1227353005: Cleanup changes: Rename QuicSession::MarkWriteBlocked to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months 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/crypto/strike_register.cc ('k') | net/quic/quic_received_packet_manager_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/strike_register_test.cc
diff --git a/net/quic/crypto/strike_register_test.cc b/net/quic/crypto/strike_register_test.cc
index b2a73c889cf8ee6d962378469b559cbb0f37b51d..cbb189ab2fa7f6d6fe4256d1f592f026a20c5ba5 100644
--- a/net/quic/crypto/strike_register_test.cc
+++ b/net/quic/crypto/strike_register_test.cc
@@ -234,7 +234,7 @@ class SlowStrikeRegister {
pair<uint32, string> nonce = std::make_pair(
nonce_time, string(reinterpret_cast<const char*>(nonce_bytes), 32));
- set<pair<uint32, string> >::const_iterator it = nonces_.find(nonce);
+ set<pair<uint32, string>>::const_iterator it = nonces_.find(nonce);
if (it != nonces_.end()) {
return NONCE_NOT_UNIQUE_FAILURE;
}
@@ -271,7 +271,7 @@ class SlowStrikeRegister {
}
void DropOldestEntry() {
- set<pair<uint32, string> >::iterator oldest = nonces_.begin();
+ set<pair<uint32, string>>::iterator oldest = nonces_.begin();
horizon_ = oldest->first + 1;
nonces_.erase(oldest);
}
@@ -282,7 +282,7 @@ class SlowStrikeRegister {
uint8 orbit_[8];
uint32 horizon_;
- set<pair<uint32, string> > nonces_;
+ set<pair<uint32, string>> nonces_;
};
class StrikeRegisterStressTest : public ::testing::Test {
« no previous file with comments | « net/quic/crypto/strike_register.cc ('k') | net/quic/quic_received_packet_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698