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

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

Issue 2283203003: Implement simple http server with set cookie functionality. (Closed)
Patch Set: 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/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 c2e97450f360545fbb5303e1322fa38b204d7a5e..396f7a5b0d347f7cdaeeaf67b00d47db5b87bc2c 100644
--- a/ios/web/public/test/response_providers/html_response_provider.mm
+++ b/ios/web/public/test/response_providers/html_response_provider.mm
@@ -15,6 +15,12 @@
: 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)) {
+}
+
+HtmlResponseProvider::HtmlResponseProvider(
const std::map<GURL, HtmlResponseProviderImpl::Response>& responses)
: response_provider_impl_(new HtmlResponseProviderImpl(responses)) {}

Powered by Google App Engine
This is Rietveld 408576698