Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 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 NET_TEST_EMBEDDED_TEST_SERVER_DEFAULT_HANDLERS_H_ | |
| 6 #define NET_TEST_EMBEDDED_TEST_SERVER_DEFAULT_HANDLERS_H_ | |
| 7 | |
| 8 #include "net/test/embedded_test_server/embedded_test_server.h" | |
|
Bence
2015/10/27 14:47:36
Move this include to .cc and add forward declarati
svaldez
2015/10/27 15:00:50
We can't forward declare EmbeddedTestServer becaus
Bence
2015/10/27 15:13:19
Sorry, I don't quite understand that. Could you n
| |
| 9 | |
| 10 namespace net { | |
| 11 namespace test_server { | |
| 12 | |
| 13 // This file is only meant for compatibility with testserver.py. No | |
| 14 // additional handlers should be added here that don't affect multiple | |
| 15 // distinct tests. | |
| 16 | |
| 17 // Registers default handlers for use in tests. | |
| 18 void RegisterDefaultHandlers(EmbeddedTestServer* server); | |
| 19 | |
| 20 } // namespace test_server | |
| 21 } // namespace net | |
| 22 | |
| 23 #endif // NET_TEST_EMBEDDED_TEST_SERVER_DEFAULT_HANDLERS_H_ | |
| OLD | NEW |