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

Unified Diff: ios/web/public/test/response_providers/html_response_provider.h

Issue 2291393003: Add capability to simple http server to bound Set-Cookie to URLs. (Closed)
Patch Set: Addressed comments from Peter Created 4 years, 3 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/response_providers/html_response_provider.h
diff --git a/ios/web/public/test/response_providers/html_response_provider.h b/ios/web/public/test/response_providers/html_response_provider.h
index 933b32be73f7c1102fa79703598e853432613880..d19d972df20c91431a1f6cc5a0b7900d44e661ac 100644
--- a/ios/web/public/test/response_providers/html_response_provider.h
+++ b/ios/web/public/test/response_providers/html_response_provider.h
@@ -27,9 +27,10 @@ class HtmlResponseProvider : public web::DataResponseProvider {
// to a URL based on the mapping present in |responses|.
explicit HtmlResponseProvider(const std::map<GURL, std::string>& responses);
// Constructs an HtmlResponseProvider that generates a simple string response
- // to a URL based on the mapping present in |responses| and |cookie|.
- explicit HtmlResponseProvider(const std::map<GURL, std::string>& responses,
- const std::string& cookie);
+ // to a URL with a Set-Cookie entry in the headers based on the mapping
+ // present in |responses|.
+ explicit HtmlResponseProvider(
+ const std::map<GURL, std::pair<std::string, std::string>>& responses);
// Constructs an HtmlResponseProvider that generates a response to a URL based
// on the mapping present in |responses|.
explicit HtmlResponseProvider(
« no previous file with comments | « ios/web/public/test/http_server_util.mm ('k') | ios/web/public/test/response_providers/html_response_provider.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698