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( |