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

Unified Diff: components/html_viewer/blink_url_request_type_converters.cc

Issue 1129143005: Introduce Http{Request,Response} mojom structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | mojo/services/network/http_connection_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/blink_url_request_type_converters.cc
diff --git a/components/html_viewer/blink_url_request_type_converters.cc b/components/html_viewer/blink_url_request_type_converters.cc
index 920583c842b1489c3228a441a407d21485dc6aee..9e6a40d4c98f3d98803b933da4107f3e08da4752 100644
--- a/components/html_viewer/blink_url_request_type_converters.cc
+++ b/components/html_viewer/blink_url_request_type_converters.cc
@@ -26,17 +26,17 @@ class HeaderFlattener : public blink::WebHTTPHeaderVisitor {
if (LowerCaseEqualsASCII(name_latin1, "accept"))
has_accept_header_ = true;
- HTTPHeaderPtr header = HTTPHeader::New();
+ HttpHeaderPtr header = HttpHeader::New();
header->name = name_latin1;
header->value = value_latin1;
buffer_.push_back(header.Pass());
}
- Array<HTTPHeaderPtr> GetBuffer() {
+ Array<HttpHeaderPtr> GetBuffer() {
// In some cases, WebKit doesn't add an Accept header, but not having the
// header confuses some web servers. See bug 808613.
if (!has_accept_header_) {
- HTTPHeaderPtr header = HTTPHeader::New();
+ HttpHeaderPtr header = HttpHeader::New();
header->name = "Accept";
header->value = "*/*";
buffer_.push_back(header.Pass());
@@ -46,7 +46,7 @@ class HeaderFlattener : public blink::WebHTTPHeaderVisitor {
}
private:
- Array<HTTPHeaderPtr> buffer_;
+ Array<HttpHeaderPtr> buffer_;
bool has_accept_header_;
};
« no previous file with comments | « no previous file | mojo/services/network/http_connection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698