naiveproxy/net/test/embedded_test_server/default_handlers.h

24 lines
765 B
C
Raw Normal View History

2018-01-28 21:32:06 +03:00
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_TEST_EMBEDDED_TEST_SERVER_DEFAULT_HANDLERS_H_
#define NET_TEST_EMBEDDED_TEST_SERVER_DEFAULT_HANDLERS_H_
#include "net/test/embedded_test_server/embedded_test_server.h"
namespace net {
namespace test_server {
// This file is only meant for compatibility with testserver.py. No
// additional handlers should be added here that don't affect multiple
// distinct tests.
// Registers default handlers for use in tests.
void RegisterDefaultHandlers(EmbeddedTestServer* server);
} // namespace test_server
} // namespace net
#endif // NET_TEST_EMBEDDED_TEST_SERVER_DEFAULT_HANDLERS_H_