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

Issue 2824193002: Enable use_once_callback for //content/common/*.mojom (Closed)

Created:
3 years, 8 months ago by tzik
Modified:
3 years, 8 months ago
Reviewers:
kinuko, xhwang, nhiroki, mmenke
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, posciak+watch_chromium.org, chfremer+watch_chromium.org, johnme+watch_chromium.org, nasko+codewatch_chromium.org, yzshen+watch_chromium.org, kinuko+watch, miu+watch_chromium.org, jsbell+serviceworker_chromium.org, awdf+watch_chromium.org, jam, abarth-chromium, darin-cc_chromium.org, loading-reviews_chromium.org, xjz+watch_chromium.org, harkness+watch_chromium.org, blink-worker-reviews_chromium.org, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, Peter Beverloo, Randy Smith (Not in Mondays), nhiroki, feature-media-reviews_chromium.org, michaeln, shimazu+serviceworker_chromium.org, serviceworker-reviews, Aaron Boodman, kinuko+serviceworker, horo+watch_chromium.org, darin (slow to review)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable use_once_callback for //content/common/*.mojom This CL flips use_once_callback flag in //content/common/BUILD.gn, and fixes all compile failure after that. After this CL, mojo-generated code starts using OnceCallback instead of Callback for asynchronous result handling. BUG=554299 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2824193002 Cr-Commit-Position: refs/heads/master@{#466920} Committed: https://chromium.googlesource.com/chromium/src/+/c200756ff65784f2151383ea803d177d6a9767a6

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : rebase #

Patch Set 4 : push_messaging fix #

Total comments: 2

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+718 lines, -637 lines) Patch
M content/browser/background_fetch/background_fetch_embedded_worker_test_helper.h View 1 chunk +8 lines, -8 lines 0 comments Download
M content/browser/background_fetch/background_fetch_embedded_worker_test_helper.cc View 4 chunks +20 lines, -20 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 5 chunks +7 lines, -7 lines 0 comments Download
M content/browser/frame_host/render_frame_message_filter.h View 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_frame_message_filter.cc View 1 2 3 4 4 chunks +7 lines, -6 lines 0 comments Download
M content/browser/leveldb_wrapper_impl.h View 1 chunk +5 lines, -6 lines 0 comments Download
M content/browser/leveldb_wrapper_impl.cc View 7 chunks +22 lines, -22 lines 0 comments Download
M content/browser/loader/mojo_async_resource_handler_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/navigation_url_loader_network_service.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/navigation_url_loader_network_service.cc View 1 2 3 4 1 chunk +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_message_filter.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/loader/test_url_loader_client.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/test_url_loader_client.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M content/browser/loader/url_loader_factory_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/loader/url_loader_factory_impl.cc View 3 chunks +10 lines, -10 lines 0 comments Download
M content/browser/payments/payment_app_content_unittest_base.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/push_messaging/push_messaging_manager.h View 2 chunks +15 lines, -17 lines 0 comments Download
M content/browser/push_messaging/push_messaging_manager.cc View 1 2 3 4 39 chunks +163 lines, -129 lines 0 comments Download
M content/browser/renderer_host/media/media_devices_dispatcher_host.h View 2 chunks +10 lines, -11 lines 0 comments Download
M content/browser/renderer_host/media/media_devices_dispatcher_host.cc View 1 2 3 4 6 chunks +14 lines, -13 lines 0 comments Download
M content/browser/renderer_host/media/render_frame_audio_output_stream_factory.h View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/render_frame_audio_output_stream_factory.cc View 6 chunks +15 lines, -13 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_host.h View 1 chunk +4 lines, -5 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_host.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.h View 1 2 3 4 5 1 chunk +4 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 2 3 4 5 1 chunk +8 lines, -9 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.h View 1 2 3 4 5 chunks +40 lines, -42 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.cc View 1 2 3 4 11 chunks +97 lines, -94 lines 0 comments Download
M content/browser/service_worker/service_worker_context_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_fetch_dispatcher.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_job_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job_unittest.cc View 1 2 3 4 11 chunks +15 lines, -14 lines 0 comments Download
M content/browser/service_worker/service_worker_version_unittest.cc View 5 chunks +22 lines, -15 lines 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.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M content/child/url_loader_client_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 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/network_service_url_loader_factory_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/test/mock_render_thread.cc View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/image_downloader/image_downloader_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/image_downloader/image_downloader_impl.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M content/renderer/media/media_devices_event_dispatcher_unittest.cc View 1 chunk +14 lines, -9 lines 0 comments Download
M content/renderer/media/user_media_client_impl_unittest.cc View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/media/video_capture_impl_manager_unittest.cc View 1 chunk +12 lines, -6 lines 0 comments Download
M content/renderer/media/video_capture_impl_unittest.cc View 6 chunks +25 lines, -13 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.h View 1 2 3 4 2 chunks +17 lines, -18 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.cc View 1 2 3 4 29 chunks +97 lines, -83 lines 0 comments Download
M content/test/test_render_frame.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 54 (34 generated)
tzik
PTAL to: nhiroki: Service Worker stuff. //content/*/service_worker xhwang: //content/browser/renderer_host/media, //content/renderer/media. mmenke: //content/browser/loader and //content/network kinuko: ...
3 years, 8 months ago (2017-04-18 12:48:07 UTC) #9
mmenke
On 2017/04/18 12:48:07, tzik wrote: > PTAL to: > nhiroki: Service Worker stuff. //content/*/service_worker > ...
3 years, 8 months ago (2017-04-18 15:29:05 UTC) #16
mmenke
On 2017/04/18 15:29:05, mmenke wrote: > On 2017/04/18 12:48:07, tzik wrote: > > PTAL to: ...
3 years, 8 months ago (2017-04-18 15:30:38 UTC) #17
xhwang
//content/browser/renderer_host/media and //content/renderer/media lgtm Do you plan to update media/mojo/interfaces/*.mojom as well?
3 years, 8 months ago (2017-04-18 16:41:33 UTC) #18
nhiroki
service worker lgtm
3 years, 8 months ago (2017-04-19 01:55:40 UTC) #23
kinuko
The change appears rather subtle, but assuming that we're going to have compile error if ...
3 years, 8 months ago (2017-04-19 07:10:03 UTC) #28
tzik
On 2017/04/18 15:29:05, mmenke wrote: > On 2017/04/18 12:48:07, tzik wrote: > > PTAL to: ...
3 years, 8 months ago (2017-04-19 14:11:27 UTC) #29
tzik
On 2017/04/18 15:30:38, mmenke wrote: > On 2017/04/18 15:29:05, mmenke wrote: > > On 2017/04/18 ...
3 years, 8 months ago (2017-04-19 14:16:28 UTC) #30
tzik
On 2017/04/18 16:41:33, xhwang_slow wrote: > //content/browser/renderer_host/media and //content/renderer/media lgtm > > Do you plan ...
3 years, 8 months ago (2017-04-20 06:25:44 UTC) #31
mmenke
On 2017/04/20 06:25:44, tzik wrote: > On 2017/04/18 16:41:33, xhwang_slow wrote: > > //content/browser/renderer_host/media and ...
3 years, 8 months ago (2017-04-20 15:21:38 UTC) #32
mmenke
LGTM, just pointing out one other place BindOnce could optionally be used, though the change ...
3 years, 8 months ago (2017-04-21 16:25:58 UTC) #33
tzik
https://codereview.chromium.org/2824193002/diff/60001/content/browser/loader/url_loader_factory_impl.cc File content/browser/loader/url_loader_factory_impl.cc (right): https://codereview.chromium.org/2824193002/diff/60001/content/browser/loader/url_loader_factory_impl.cc#newcode100 content/browser/loader/url_loader_factory_impl.cc:100: base::Bind(&DispatchSyncLoadResult, base::Passed(&callback))); On 2017/04/21 16:25:57, mmenke wrote: > You ...
3 years, 8 months ago (2017-04-24 09:17:11 UTC) #34
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/2824193002/60001
3 years, 8 months ago (2017-04-24 09:17:33 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/353364) linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 8 months ago (2017-04-24 09:21:22 UTC) #39
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/2824193002/80001
3 years, 8 months ago (2017-04-24 11:11:50 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/437285)
3 years, 8 months ago (2017-04-24 14:08:26 UTC) #44
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/2824193002/80001
3 years, 8 months ago (2017-04-24 18:15:55 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/437755)
3 years, 8 months ago (2017-04-24 19:28:37 UTC) #48
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/2824193002/100001
3 years, 8 months ago (2017-04-25 06:06:04 UTC) #51
commit-bot: I haz the power
3 years, 8 months ago (2017-04-25 07:48:46 UTC) #54
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/c200756ff65784f2151383ea803d...

Powered by Google App Engine
This is Rietveld 408576698