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

Issue 715153004: Add support for HTTP handlers that are in self-contained apps. Also add an example app. (Closed)

Created:
6 years, 1 month ago by jam
Modified:
6 years, 1 month ago
Reviewers:
yzshen1
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Add support for HTTP handlers that are in self-contained apps. Also add an example app. To try this out, run mojo_shell mojo://http_handler I've also changed the http server so that it uses port 80 by default. R=yzshen@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/ad9a66daf15d5a8abae7f49c368e8e6c28c03fa4

Patch Set 1 #

Total comments: 13

Patch Set 2 : review comments #

Total comments: 5

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -46 lines) Patch
M examples/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A + examples/http_handler/BUILD.gn View 1 1 chunk +5 lines, -8 lines 0 comments Download
A examples/http_handler/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
A examples/http_handler/http_handler.cc View 1 1 chunk +61 lines, -0 lines 0 comments Download
M services/http_server/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M services/http_server/http_server.cc View 1 10 chunks +107 lines, -37 lines 0 comments Download
M services/http_server/public/BUILD.gn View 1 1 chunk +7 lines, -0 lines 0 comments Download
M services/http_server/public/http_server.mojom View 1 1 chunk +15 lines, -1 line 0 comments Download
A services/http_server/public/http_server_util.h View 1 1 chunk +17 lines, -0 lines 0 comments Download
A services/http_server/public/http_server_util.cc View 1 2 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
jam
6 years, 1 month ago (2014-11-12 01:44:24 UTC) #2
yzshen1
https://codereview.chromium.org/715153004/diff/1/examples/http_handler/http_handler.cc File examples/http_handler/http_handler.cc (right): https://codereview.chromium.org/715153004/diff/1/examples/http_handler/http_handler.cc#newcode25 examples/http_handler/http_handler.cc:25: virtual ~HttpHandler() {} nit: I think the style guide ...
6 years, 1 month ago (2014-11-12 17:38:34 UTC) #3
jam
https://codereview.chromium.org/715153004/diff/1/examples/http_handler/http_handler.cc File examples/http_handler/http_handler.cc (right): https://codereview.chromium.org/715153004/diff/1/examples/http_handler/http_handler.cc#newcode25 examples/http_handler/http_handler.cc:25: virtual ~HttpHandler() {} On 2014/11/12 17:38:33, yzshen1 wrote: > ...
6 years, 1 month ago (2014-11-12 20:48:41 UTC) #6
yzshen1
LGTM with a few more nits. Thanks! https://codereview.chromium.org/715153004/diff/1/services/http_server/public/http_server.mojom File services/http_server/public/http_server.mojom (right): https://codereview.chromium.org/715153004/diff/1/services/http_server/public/http_server.mojom#newcode22 services/http_server/public/http_server.mojom:22: [Client=HttpServerService] On ...
6 years, 1 month ago (2014-11-12 21:24:26 UTC) #7
jam
https://codereview.chromium.org/715153004/diff/60001/services/http_server/public/BUILD.gn File services/http_server/public/BUILD.gn (right): https://codereview.chromium.org/715153004/diff/60001/services/http_server/public/BUILD.gn#newcode15 services/http_server/public/BUILD.gn:15: source_set("util") { On 2014/11/12 21:24:26, yzshen1 wrote: > Do ...
6 years, 1 month ago (2014-11-12 21:59:05 UTC) #8
yzshen1
https://codereview.chromium.org/715153004/diff/60001/services/http_server/public/BUILD.gn File services/http_server/public/BUILD.gn (right): https://codereview.chromium.org/715153004/diff/60001/services/http_server/public/BUILD.gn#newcode15 services/http_server/public/BUILD.gn:15: source_set("util") { On 2014/11/12 21:59:04, jam wrote: > On ...
6 years, 1 month ago (2014-11-12 22:01:21 UTC) #9
jam
6 years, 1 month ago (2014-11-12 22:03:02 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:80001) manually as
ad9a66daf15d5a8abae7f49c368e8e6c28c03fa4.

Powered by Google App Engine
This is Rietveld 408576698