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

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

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.mm
diff --git a/ios/web/public/test/response_providers/html_response_provider.mm b/ios/web/public/test/response_providers/html_response_provider.mm
index 396f7a5b0d347f7cdaeeaf67b00d47db5b87bc2c..690596c6748779a8513d860f317325b63a3c401c 100644
--- a/ios/web/public/test/response_providers/html_response_provider.mm
+++ b/ios/web/public/test/response_providers/html_response_provider.mm
@@ -15,10 +15,8 @@
: response_provider_impl_(new HtmlResponseProviderImpl(responses)) {}
HtmlResponseProvider::HtmlResponseProvider(
- const std::map<GURL, std::string>& responses,
- const std::string& cookie)
- : response_provider_impl_(new HtmlResponseProviderImpl(responses, cookie)) {
-}
+ const std::map<GURL, std::pair<std::string, std::string>>& responses)
+ : response_provider_impl_(new HtmlResponseProviderImpl(responses)) {}
HtmlResponseProvider::HtmlResponseProvider(
const std::map<GURL, HtmlResponseProviderImpl::Response>& responses)

Powered by Google App Engine
This is Rietveld 408576698