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

Issue 1129143005: Introduce Http{Request,Response} mojom structs. (Closed)

Created:
5 years, 7 months ago by yzshen1
Modified:
5 years, 7 months ago
Reviewers:
jam
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, msw
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce Http{Request,Response} mojom structs. The reason to stop using URL{Request,Response} for HTTP server interfaces: some fields of those structs belong to a higher level, e.g., |auto_follow_redirects|. It seems cleaner to define Http{Request,Response} which match the HTTP request/response definitions. BUG=478249 TEST=None Committed: https://crrev.com/9e02055bbbf56c87f3bd27fb9c57607f8b9f515e Cr-Commit-Position: refs/heads/master@{#330238}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rename HTTPHeader to HttpHeader #

Patch Set 3 : rebase & resolve #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -41 lines) Patch
M components/html_viewer/blink_url_request_type_converters.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M mojo/services/network/http_connection_impl.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/services/network/http_connection_impl.cc View 1 2 5 chunks +9 lines, -9 lines 0 comments Download
M mojo/services/network/http_server_apptest.cc View 1 2 6 chunks +12 lines, -12 lines 0 comments Download
M mojo/services/network/public/interfaces/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/network/public/interfaces/http_connection.mojom View 3 chunks +3 lines, -3 lines 0 comments Download
A mojo/services/network/public/interfaces/http_message.mojom View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M mojo/services/network/public/interfaces/url_loader.mojom View 1 2 3 4 5 3 chunks +3 lines, -7 lines 0 comments Download
M mojo/services/network/url_loader_impl.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/shell/local_fetcher.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
yzshen1
Hi, John. Would you please take a look? Thanks! https://codereview.chromium.org/1129143005/diff/1/mojo/services/network/public/interfaces/http_message.mojom File mojo/services/network/public/interfaces/http_message.mojom (right): https://codereview.chromium.org/1129143005/diff/1/mojo/services/network/public/interfaces/http_message.mojom#newcode7 mojo/services/network/public/interfaces/http_message.mojom:7: ...
5 years, 7 months ago (2015-05-14 21:59:44 UTC) #2
darin (slow to review)
We should either go with HTTP or Http universally. Mixing the two would be unfortunate. ...
5 years, 7 months ago (2015-05-14 22:15:18 UTC) #3
yzshen1
On 2015/05/14 22:15:18, darin (slow to review) wrote: > We should either go with HTTP ...
5 years, 7 months ago (2015-05-14 22:48:46 UTC) #4
darin (slow to review)
Probably best to follow the style guide then :) On May 14, 2015 3:49 PM, ...
5 years, 7 months ago (2015-05-15 05:45:09 UTC) #5
jam
lgtm, I defer to Darin on the exact naming (seems easy to change whatever we ...
5 years, 7 months ago (2015-05-15 05:56:03 UTC) #6
yzshen1
On 2015/05/15 05:56:03, jam wrote: > lgtm, I defer to Darin on the exact naming ...
5 years, 7 months ago (2015-05-15 23:32:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129143005/100001
5 years, 7 months ago (2015-05-15 23:33:15 UTC) #10
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 7 months ago (2015-05-15 23:54:16 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 11:29:27 UTC) #12
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9e02055bbbf56c87f3bd27fb9c57607f8b9f515e
Cr-Commit-Position: refs/heads/master@{#330238}

Powered by Google App Engine
This is Rietveld 408576698