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 IOS_WEB_PUBLIC_TEST_HTTP_SERVER_UTIL_H_ | |
6 #define IOS_WEB_PUBLIC_TEST_HTTP_SERVER_UTIL_H_ | |
7 | |
8 #import <map> | |
9 | |
10 #import "ios/web/public/test/http_server.h" | |
Eugene But (OOO till 7-30)
2016/04/16 00:38:40
These 2 includes are unused.
baxley
2016/04/21 16:09:17
Done.
| |
11 #include "ios/web/public/test/response_providers/html_response_provider.h" | |
12 | |
13 namespace web { | |
14 namespace test { | |
15 namespace http_server_util { | |
Eugene But (OOO till 7-30)
2016/04/16 00:38:40
I don't think we need 3rd level of namespaces.
baxley
2016/04/21 16:09:17
Done.
| |
16 | |
17 // Sets up a web::test::HttpServer with a simple HtmlResponseProvider. The | |
18 // HtmlResponseProvider will use the |responses| map to resolve URLs. | |
19 void SetUpSimpleHttpServer(std::map<GURL, std::string> responses); | |
20 | |
21 } // namespace web | |
22 } // namespace test | |
23 } // namespace http_server_util | |
24 | |
25 #endif // IOS_WEB_PUBLIC_TEST_HTTP_SERVER_UTIL_H_ | |
OLD | NEW |