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

Unified Diff: net/http/http_response_headers.h

Issue 2035293002: Remove URLRequest::GetResponseCookies and URLRequestJob::GetResponseCookies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments rogerta Created 4 years, 6 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
« no previous file with comments | « google_apis/gaia/oauth2_api_call_flow.cc ('k') | net/http/http_response_headers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_response_headers.h
diff --git a/net/http/http_response_headers.h b/net/http/http_response_headers.h
index 653eacc4d44e30b86d15c41532ec2514ef8ba435..fd6af1707e7061420e94816b3e419f2e4668de56 100644
--- a/net/http/http_response_headers.h
+++ b/net/http/http_response_headers.h
@@ -97,6 +97,10 @@ class NET_EXPORT HttpResponseHeaders
// end of the list.
void AddHeader(const std::string& header);
+ // Adds a cookie header. |cookie_string| should be the header value without
+ // the header name (Set-Cookie).
+ void AddCookie(const std::string& cookie_string);
+
// Replaces the current status line with the provided one (|new_status| should
// not have any EOL).
void ReplaceStatusLine(const std::string& new_status);
« no previous file with comments | « google_apis/gaia/oauth2_api_call_flow.cc ('k') | net/http/http_response_headers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698