| Index: net/http/http_response_headers.cc
|
| diff --git a/net/http/http_response_headers.cc b/net/http/http_response_headers.cc
|
| index f44e279d29bfa820f54af82dd9affbe012c2542d..03cef6ef745c3b8330ec96429dd0379026406909 100644
|
| --- a/net/http/http_response_headers.cc
|
| +++ b/net/http/http_response_headers.cc
|
| @@ -354,6 +354,10 @@ void HttpResponseHeaders::AddHeader(const std::string& header) {
|
| Parse(new_raw_headers);
|
| }
|
|
|
| +void HttpResponseHeaders::AddCookie(const std::string& cookie_string) {
|
| + AddHeader("Set-Cookie: " + cookie_string);
|
| +}
|
| +
|
| void HttpResponseHeaders::ReplaceStatusLine(const std::string& new_status) {
|
| CheckDoesNotHaveEmbededNulls(new_status);
|
| // Copy up to the null byte. This just copies the status line.
|
|
|