Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Unified Diff: ios/web/public/test/http_server_util.mm

Issue 2291393003: Add capability to simple http server to bound Set-Cookie to URLs. (Closed)
Patch Set: Update comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/web/public/test/http_server_util.mm
diff --git a/ios/web/public/test/http_server_util.mm b/ios/web/public/test/http_server_util.mm
index ed9ae78988698131b581b4c5c9cf227aa0742a5b..b6ca43700d66968d1c841977f71de76080b78c0c 100644
--- a/ios/web/public/test/http_server_util.mm
+++ b/ios/web/public/test/http_server_util.mm
@@ -17,10 +17,9 @@ void SetUpSimpleHttpServer(const std::map<GURL, std::string>& responses) {
SetUpHttpServer(base::MakeUnique<HtmlResponseProvider>(responses));
}
-void SetUpSimpleHttpServerWithSetCookie(
- const std::map<GURL, std::string>& responses,
- const std::string& cookie) {
- SetUpHttpServer(base::MakeUnique<HtmlResponseProvider>(responses, cookie));
+void SetUpSimpleHttpServerWithSetCookies(
+ const std::map<GURL, std::pair<std::string, std::string>>& responses) {
+ SetUpHttpServer(base::MakeUnique<HtmlResponseProvider>(responses));
}
void SetUpFileBasedHttpServer() {

Powered by Google App Engine
This is Rietveld 408576698