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

Unified Diff: net/quic/test_tools/test_task_runner.h

Issue 2627863002: Split Closure part of TestPendingTask out of the struct (Closed)
Patch Set: rebase Created 3 years, 11 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/quartc/quartc_alarm_factory_test.cc ('k') | net/quic/test_tools/test_task_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/test_task_runner.h
diff --git a/net/quic/test_tools/test_task_runner.h b/net/quic/test_tools/test_task_runner.h
index 258cf736712c3dde217b8db133c9a100d5a41d4a..29cda7f549c436bc85dfc415e6edbc768cd0fcde 100644
--- a/net/quic/test_tools/test_task_runner.h
+++ b/net/quic/test_tools/test_task_runner.h
@@ -11,7 +11,7 @@
#include "base/macros.h"
#include "base/task_runner.h"
-#include "base/test/test_pending_task.h"
+#include "base/test/test_pending_task_info.h"
namespace net {
@@ -19,7 +19,7 @@ class MockClock;
namespace test {
-typedef base::TestPendingTask PostedTask;
+typedef std::pair<base::TestPendingTaskInfo, base::OnceClosure> PostedTask;
class TestTaskRunner : public base::TaskRunner {
public:
« no previous file with comments | « net/quic/quartc/quartc_alarm_factory_test.cc ('k') | net/quic/test_tools/test_task_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698