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

Unified Diff: net/tools/quic/end_to_end_test.cc

Issue 2562623002: net: remove unused parameter from EpollEvent (Closed)
Patch Set: 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/tools/epoll_server/epoll_server.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/end_to_end_test.cc
diff --git a/net/tools/quic/end_to_end_test.cc b/net/tools/quic/end_to_end_test.cc
index 3adf5922c417579ef95f40d96bdf65a79523063d..6bca5fbb0736264c43634b250c21e4a50ec1251b 100644
--- a/net/tools/quic/end_to_end_test.cc
+++ b/net/tools/quic/end_to_end_test.cc
@@ -259,7 +259,7 @@ class ClientDelegate : public PacketDroppingTestWriter::Delegate {
explicit ClientDelegate(QuicClient* client) : client_(client) {}
~ClientDelegate() override {}
void OnCanWrite() override {
- EpollEvent event(EPOLLOUT, false);
+ EpollEvent event(EPOLLOUT);
client_->OnEvent(client_->GetLatestFD(), &event);
}
@@ -400,7 +400,7 @@ class EndToEndTest : public ::testing::TestWithParam<TestParams> {
StartServer();
CreateClientWithWriter();
- static EpollEvent event(EPOLLOUT, false);
+ static EpollEvent event(EPOLLOUT);
if (client_writer_ != nullptr) {
client_writer_->Initialize(
QuicConnectionPeer::GetHelper(
@@ -2865,7 +2865,7 @@ TEST_P(EndToEndTest, DISABLED_TestHugeResponseWithPacketLoss) {
client->UseWriter(client_writer_);
client->Connect();
client_.reset(client);
- static EpollEvent event(EPOLLOUT, false);
+ static EpollEvent event(EPOLLOUT);
client_writer_->Initialize(
QuicConnectionPeer::GetHelper(client_->client()->session()->connection()),
QuicConnectionPeer::GetAlarmFactory(
« no previous file with comments | « net/tools/epoll_server/epoll_server.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698