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

Unified Diff: net/quic/chromium/quic_end_to_end_unittest.cc

Issue 2839663002: Instantiate ScopedTaskEnvironment in net unittests. (Closed)
Patch Set: self-review Created 3 years, 7 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
Index: net/quic/chromium/quic_end_to_end_unittest.cc
diff --git a/net/quic/chromium/quic_end_to_end_unittest.cc b/net/quic/chromium/quic_end_to_end_unittest.cc
index b9597426e4da73833588ef28b75cfb0922a9e763..7fb9618cccf1311370f53c5fc109069064272fbf 100644
--- a/net/quic/chromium/quic_end_to_end_unittest.cc
+++ b/net/quic/chromium/quic_end_to_end_unittest.cc
@@ -9,10 +9,8 @@
#include "base/compiler_specific.h"
#include "base/memory/ptr_util.h"
-#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
-#include "base/test/scoped_task_scheduler.h"
#include "net/base/elements_upload_data_stream.h"
#include "net/base/ip_address.h"
#include "net/base/test_completion_callback.h"
@@ -276,10 +274,6 @@ TEST_P(QuicEndToEndTest, LargeGetWithNoPacketLoss) {
}
TEST_P(QuicEndToEndTest, TokenBinding) {
- // Required by ChannelIDService.
- base::test::ScopedTaskScheduler scoped_task_scheduler(
- base::MessageLoop::current());
-
// Enable token binding and re-initialize the TestTransactionFactory.
params_.enable_token_binding = true;
transaction_factory_.reset(new TestTransactionFactory(params_));

Powered by Google App Engine
This is Rietveld 408576698