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

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

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.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 26f0020b728b115a38e52944dd3a8f18e5e791ef..933b32be73f7c1102fa79703598e853432613880 100644
--- a/ios/web/public/test/response_providers/html_response_provider.h
+++ b/ios/web/public/test/response_providers/html_response_provider.h
@@ -26,6 +26,10 @@ class HtmlResponseProvider : public web::DataResponseProvider {
// Constructs an HtmlResponseProvider that generates a simple string response
// 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);
pkl (ping after 24h if needed) 2016/08/30 21:24:04 I don't think "explicit" on a constructor w/ more
liaoyuke 2016/09/12 18:58:13 Done.
// Constructs an HtmlResponseProvider that generates a response to a URL based
// on the mapping present in |responses|.
explicit HtmlResponseProvider(

Powered by Google App Engine
This is Rietveld 408576698