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

Issue 2964503003: Move NetworkService mojom files to content/public/common. (Closed)

Created:
3 years, 5 months ago by mmenke
Modified:
3 years, 4 months ago
Reviewers:
kenrb, Nico, jam
CC:
chromium-reviews, asanka, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, nasko+codewatch_chromium.org, yzshen+watch_chromium.org, kinuko+watch, jsbell+serviceworker_chromium.org, wjmaclean, tzik, jam, abarth-chromium, darin-cc_chromium.org, devtools-reviews_chromium.org, loading-reviews_chromium.org, blink-worker-reviews_chromium.org, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nhiroki, kinuko, rdsmith+watch_chromium.org, michaeln, shimazu+serviceworker_chromium.org, serviceworker-reviews, Aaron Boodman, kinuko+serviceworker, pfeldman, horo+watch_chromium.org, darin (slow to review), mmenke
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move NetworkService mojom files to content/public/common. This will allow chrome/ code to use the NetworkService's API, both to configure the NetworkService and to issue requests. Also moves some associated tyemaps and class files over. BUG=736906 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2964503003 Cr-Commit-Position: refs/heads/master@{#484325} Committed: https://chromium.googlesource.com/chromium/src/+/680c214abd32a744f4d929759866a037a6915d2f

Patch Set 1 #

Patch Set 2 : Update a header guard #

Patch Set 3 : allow_circular_includes_from is really weird. :( #

Patch Set 4 : Fix component build #

Total comments: 1

Patch Set 5 : Merge #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -509 lines) Patch
M content/browser/appcache/appcache_subresource_url_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/appcache/appcache_subresource_url_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/appcache/appcache_url_loader_job.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/blob_storage/blob_internals_url_loader.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/blob_storage/blob_url_loader_factory.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/blob_storage/blob_url_loader_factory.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/devtools/protocol/network_handler.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 2 chunks +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/histogram_internals_url_loader.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/DEPS View 11 chunks +18 lines, -18 lines 0 comments Download
M content/browser/loader/async_resource_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/downloaded_temp_file_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/mojo_async_resource_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/mojo_async_resource_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/mojo_async_resource_handler_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/loader/navigation_url_loader_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/navigation_url_loader_network_service.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/navigation_url_loader_network_service.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.h View 2 chunks +1 line, -1 line 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 2 chunks +1 line, -1 line 0 comments Download
M content/browser/loader/resource_message_filter.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/resource_request_info_impl.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/test_url_loader_client.h View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/loader/url_loader_factory_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/url_loader_factory_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/url_loader_factory_impl_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/loader/url_loader_request_handler.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_fetch_dispatcher.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_url_loader_job.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/storage_partition_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/url_loader_factory_getter.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/url_loader_factory_getter.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/webui/network_error_url_loader.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/webui/web_ui_url_loader_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/webui/web_ui_url_loader_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/resource_dispatcher.h View 1 chunk +1 line, -1 line 0 comments Download
M content/child/resource_dispatcher.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/child/resource_dispatcher_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M content/child/url_loader_client_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/child/url_loader_client_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/url_response_body_consumer.h View 1 chunk +1 line, -1 line 0 comments Download
M content/child/url_response_body_consumer.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/url_response_body_consumer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/web_url_loader_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/child/web_url_loader_impl.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 6 chunks +5 lines, -8 lines 0 comments Download
D content/common/mutable_network_traffic_annotation_tag.mojom View 1 chunk +0 lines, -9 lines 0 comments Download
D content/common/mutable_network_traffic_annotation_tag.typemap View 1 chunk +0 lines, -10 lines 0 comments Download
D content/common/mutable_network_traffic_annotation_tag_struct_traits.h View 1 chunk +0 lines, -31 lines 0 comments Download
D content/common/network_service.mojom View 1 chunk +0 lines, -39 lines 0 comments Download
M content/common/renderer_host.mojom View 1 chunk +1 line, -1 line 0 comments Download
M content/common/resource_messages.h View 1 chunk +1 line, -1 line 0 comments Download
D content/common/resource_request_completion_status.h View 1 chunk +0 lines, -49 lines 0 comments Download
D content/common/resource_request_completion_status.cc View 1 chunk +0 lines, -23 lines 0 comments Download
M content/common/service_worker/service_worker_event_dispatcher.mojom View 1 chunk +1 line, -1 line 0 comments Download
D content/common/ssl_info.typemap View 1 chunk +0 lines, -12 lines 0 comments Download
M content/common/throttling_url_loader.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/throttling_url_loader_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/typemaps.gni View 1 chunk +0 lines, -7 lines 0 comments Download
D content/common/url_loader.mojom View 1 chunk +0 lines, -101 lines 0 comments Download
D content/common/url_loader_factory.mojom View 1 chunk +0 lines, -36 lines 0 comments Download
D content/common/url_loader_status.typemap View 1 chunk +0 lines, -14 lines 0 comments Download
D content/common/url_request.typemap View 1 chunk +0 lines, -20 lines 0 comments Download
D content/common/url_request_redirect_info.typemap View 1 chunk +0 lines, -12 lines 0 comments Download
M content/common/url_request_struct_traits.h View 1 chunk +1 line, -1 line 0 comments Download
D content/common/url_response_head.typemap View 1 chunk +0 lines, -14 lines 0 comments Download
D content/common/url_sync_load_result.typemap View 1 chunk +0 lines, -8 lines 0 comments Download
M content/common/worker_url_loader_factory_provider.mojom View 1 chunk +1 line, -1 line 0 comments Download
M content/network/DEPS View 1 chunk +3 lines, -3 lines 0 comments Download
M content/network/cache_url_loader.h View 1 chunk +1 line, -1 line 0 comments Download
M content/network/network_context.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/network/network_service.h View 1 chunk +1 line, -1 line 0 comments Download
M content/network/network_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/network/network_service_url_loader_factory_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/network/url_loader_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/network/url_loader_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/BUILD.gn View 1 2 3 4 5 chunks +26 lines, -1 line 2 comments Download
A + content/public/common/mutable_network_traffic_annotation_tag.mojom View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/public/common/mutable_network_traffic_annotation_tag.typemap View 1 chunk +2 lines, -2 lines 0 comments Download
A + content/public/common/mutable_network_traffic_annotation_tag_struct_traits.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
A + content/public/common/network_service.mojom View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/public/common/resource_request_completion_status.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/public/common/resource_request_completion_status.cc View 1 chunk +1 line, -1 line 0 comments Download
A content/public/common/service_worker_modes.typemap View 1 chunk +11 lines, -0 lines 0 comments Download
A + content/public/common/ssl_info.typemap View 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/typemaps.gni View 1 chunk +7 lines, -0 lines 0 comments Download
A + content/public/common/url_loader.mojom View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/public/common/url_loader_factory.mojom View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/public/common/url_loader_status.typemap View 1 chunk +3 lines, -2 lines 0 comments Download
A + content/public/common/url_request.typemap View 1 chunk +1 line, -1 line 0 comments Download
A + content/public/common/url_request_redirect_info.typemap View 1 chunk +1 line, -1 line 0 comments Download
A + content/public/common/url_response_head.typemap View 1 chunk +1 line, -1 line 0 comments Download
A + content/public/common/url_sync_load_result.typemap View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M content/renderer/render_thread_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/renderer_blink_platform_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M content/test/test_navigation_url_loader.cc View 2 chunks +1 line, -1 line 0 comments Download
M ipc/README.md View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 33 (25 generated)
mmenke
No source files changed, other than include paths and header guards. https://codereview.chromium.org/2964503003/diff/60001/content/public/common/BUILD.gn File content/public/common/BUILD.gn (right): ...
3 years, 5 months ago (2017-07-01 01:03:01 UTC) #15
jam
lgtm
3 years, 5 months ago (2017-07-05 15:37:14 UTC) #18
mmenke
[+kenrb]: Please review *.mojom, *.typemap, *_struct_trats.h, content/common/resource_messages.h. All this CL does is move stuff around, ...
3 years, 5 months ago (2017-07-05 16:34:19 UTC) #20
kenrb
ipc/mojom lgtm
3 years, 5 months ago (2017-07-05 16:47:53 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2964503003/80001
3 years, 5 months ago (2017-07-05 18:52:45 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/680c214abd32a744f4d929759866a037a6915d2f
3 years, 5 months ago (2017-07-05 19:09:17 UTC) #30
Nico
https://codereview.chromium.org/2964503003/diff/80001/content/public/common/BUILD.gn File content/public/common/BUILD.gn (right): https://codereview.chromium.org/2964503003/diff/80001/content/public/common/BUILD.gn#newcode347 content/public/common/BUILD.gn:347: mojom("interfaces") { Doesn't this now need a public_dep on ...
3 years, 4 months ago (2017-08-16 20:54:40 UTC) #32
Nico
3 years, 4 months ago (2017-08-16 21:02:44 UTC) #33
Message was sent while issue was closed.
(sorry for the noise)

https://codereview.chromium.org/2964503003/diff/80001/content/public/common/B...
File content/public/common/BUILD.gn (right):

https://codereview.chromium.org/2964503003/diff/80001/content/public/common/B...
content/public/common/BUILD.gn:347: mojom("interfaces") {
After some more digging, I think this flake is unrelated to your change;
https://chromium-review.googlesource.com/617768 might fix it.

Powered by Google App Engine
This is Rietveld 408576698