Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 #ifndef COMPONENTS_GRPC_SUPPORT_TEST_GET_REQUEST_CONTEXT_GETTER_H_ | 5 #ifndef COMPONENTS_GRPC_SUPPORT_TEST_GET_REQUEST_CONTEXT_GETTER_H_ |
| 6 #define COMPONENTS_GRPC_SUPPORT_TEST_GET_REQUEST_CONTEXT_GETTER_H_ | 6 #define COMPONENTS_GRPC_SUPPORT_TEST_GET_REQUEST_CONTEXT_GETTER_H_ |
| 7 | 7 |
| 8 struct stream_engine; | 8 struct stream_engine; |
| 9 | 9 |
| 10 namespace grpc_support { | 10 namespace grpc_support { |
| 11 | 11 |
| 12 // Returns a stream_engine* for testing with the QuicTestServer. | 12 // Returns a stream_engine* for testing with the QuicTestServer. |
| 13 // The engine returned should resolve kTestServerHost as localhost:|port|, | 13 // The engine returned should resolve kTestServerHost as localhost:|port|, |
| 14 // and should have kTestServerHost configured as a QUIC server. | 14 // and should have kTestServerHost configured as a QUIC server. |
| 15 stream_engine* GetTestStreamEngine(int port); | 15 stream_engine* GetTestStreamEngine(int port); |
| 16 | 16 |
| 17 void StartTestStreamEngine(int port); | |
|
mef
2017/04/26 22:19:41
Public methods need comments.
lilyhoughton
2017/04/27 13:53:39
Done, though PTAL to make sure it's sufficiently c
| |
| 18 void ShutdownTestStreamEngine(); | |
| 19 | |
| 17 } // namespace grpc_support | 20 } // namespace grpc_support |
| 18 | 21 |
| 19 #endif // COMPONENTS_GRPC_SUPPORT_TEST_GET_REQUEST_CONTEXT_GETTER_H_ | 22 #endif // COMPONENTS_GRPC_SUPPORT_TEST_GET_REQUEST_CONTEXT_GETTER_H_ |
| OLD | NEW |