Index: ios/web/public/test/response_providers/html_response_provider_impl.h |
diff --git a/ios/web/public/test/response_providers/html_response_provider_impl.h b/ios/web/public/test/response_providers/html_response_provider_impl.h |
index 16991b8a9be95dc13a9890b9649c88b3d733f58e..d9214b5de5796a9923254d7c2554bb1c4f293038 100644 |
--- a/ios/web/public/test/response_providers/html_response_provider_impl.h |
+++ b/ios/web/public/test/response_providers/html_response_provider_impl.h |
@@ -39,11 +39,11 @@ class HtmlResponseProviderImpl { |
// response to a URL based on the mapping present in |responses|. |
explicit HtmlResponseProviderImpl( |
const std::map<GURL, std::string>& responses); |
- // Constructs an HtmlResponseProviderImpl that generates a simple string |
- // response to a URL based on the mapping present in |responses| and |cookie|. |
+ // Constructs an HtmlResponseProvider that generates a simple string response |
+ // to a URL with set cookie in the headers based on the mapping present in |
+ // |responses|. |
explicit HtmlResponseProviderImpl( |
- const std::map<GURL, std::string>& responses, |
- const std::string& cookie); |
+ const std::map<GURL, std::pair<std::string, std::string>>& responses); |
// Constructs an HtmlResponseProviderImpl that generates a response to a URL |
// based on the mapping present in |responses|. |
explicit HtmlResponseProviderImpl(const std::map<GURL, Response>& responses); |