| Index: ios/web/public/test/http_server_util.h
|
| diff --git a/ios/web/public/test/http_server_util.h b/ios/web/public/test/http_server_util.h
|
| index 474bc2d8d081e0b1ec65f87a5e18009e968ecfe2..28b4879b31639162d7da773be5998ca796a69c78 100644
|
| --- a/ios/web/public/test/http_server_util.h
|
| +++ b/ios/web/public/test/http_server_util.h
|
| @@ -19,6 +19,13 @@ namespace test {
|
| // HtmlResponseProvider will use the |responses| map to resolve URLs.
|
| void SetUpSimpleHttpServer(const std::map<GURL, std::string>& responses);
|
|
|
| +// Sets up a web::test::HttpServer with a simple HtmlResponseProvider. The
|
| +// HtmlResponseProvider will use the |responses| map to resolve URLs and include
|
| +// Set-Cookie:|cookie| in the header.
|
| +void SetUpSimpleHttpServerWithSetCookie(
|
| + const std::map<GURL, std::string>& responses,
|
| + const std::string& cookie);
|
| +
|
| // Sets up a web::test::HttpServer with a FileBasedResponseProvider. The
|
| // server will try to resolve URLs as file paths relative to the application
|
| // bundle path. web::test::MakeUrl should be used to rewrite URLs before doing
|
|
|