| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_GRPC_SUPPORT_TEST_GET_REQUEST_CONTEXT_GETTER_H_ | |
| 6 #define COMPONENTS_GRPC_SUPPORT_TEST_GET_REQUEST_CONTEXT_GETTER_H_ | |
| 7 | |
| 8 struct stream_engine; | |
| 9 | |
| 10 namespace grpc_support { | |
| 11 | |
| 12 // Returns a stream_engine* for testing with the QuicTestServer. | |
| 13 // The engine returned should resolve kTestServerHost as localhost:|port|, | |
| 14 // and should have kTestServerHost configured as a QUIC server. | |
| 15 stream_engine* GetTestStreamEngine(int port); | |
| 16 | |
| 17 } // namespace grpc_support | |
| 18 | |
| 19 #endif // COMPONENTS_GRPC_SUPPORT_TEST_GET_REQUEST_CONTEXT_GETTER_H_ | |
| OLD | NEW |