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

Side by Side Diff: components/grpc_support/test/get_stream_engine.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/lazy_instance.h" 5 #include "base/lazy_instance.h"
6 #include "base/macros.h" 6 #include "base/macros.h"
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/single_thread_task_runner.h"
10 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
12 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
13 #include "components/grpc_support/include/bidirectional_stream_c.h" 14 #include "components/grpc_support/include/bidirectional_stream_c.h"
14 #include "components/grpc_support/test/quic_test_server.h" 15 #include "components/grpc_support/test/quic_test_server.h"
15 #include "net/base/host_port_pair.h" 16 #include "net/base/host_port_pair.h"
16 #include "net/cert/mock_cert_verifier.h" 17 #include "net/cert/mock_cert_verifier.h"
17 #include "net/dns/mapped_host_resolver.h" 18 #include "net/dns/mapped_host_resolver.h"
18 #include "net/dns/mock_host_resolver.h" 19 #include "net/dns/mock_host_resolver.h"
19 #include "net/http/http_server_properties_impl.h" 20 #include "net/http/http_server_properties_impl.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 g_request_context_getter_.Get()->SetTestServerPort(port); 125 g_request_context_getter_.Get()->SetTestServerPort(port);
125 static stream_engine engine; 126 static stream_engine engine;
126 engine.obj = g_request_context_getter_.Get().get(); 127 engine.obj = g_request_context_getter_.Get().get();
127 return &engine; 128 return &engine;
128 } 129 }
129 130
130 void StartTestStreamEngine(int port) {} 131 void StartTestStreamEngine(int port) {}
131 void ShutdownTestStreamEngine() {} 132 void ShutdownTestStreamEngine() {}
132 133
133 } // namespace grpc_support 134 } // namespace grpc_support
OLDNEW
« no previous file with comments | « components/drive/chromeos/search_metadata.h ('k') | components/invalidation/impl/invalidation_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698