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

Unified Diff: ios/web/public/test/response_providers/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/response_provider.h
diff --git a/ios/web/public/test/response_providers/response_provider.h b/ios/web/public/test/response_providers/response_provider.h
index f3d56f50867808813a418b93914e8ccdfc06ec54..82ca5214fb5e37066db2ca96e7a7f26a1e22fcff 100644
--- a/ios/web/public/test/response_providers/response_provider.h
+++ b/ios/web/public/test/response_providers/response_provider.h
@@ -53,6 +53,10 @@ class ResponseProvider {
// Gets default response headers with a text/html content type and a 200
// response code.
static scoped_refptr<net::HttpResponseHeaders> GetDefaultResponseHeaders();
+ // Gets default response headers with a text/html content type and a 200
+ // response code.
pkl (ping after 24h if needed) 2016/08/30 21:24:04 This comment does not match what this method actua
liaoyuke 2016/09/12 18:58:13 Acknowledged.
+ static scoped_refptr<net::HttpResponseHeaders> GetDefaultResponseHeaders(
+ const std::string& cookie);
// Gets configurable response headers with a provided content type and a
// 200 response code.
static scoped_refptr<net::HttpResponseHeaders> GetResponseHeaders(

Powered by Google App Engine
This is Rietveld 408576698