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

Issue 2082343002: Remove calls to deprecated MessageLoop methods in content. (Closed)

Created:
4 years, 6 months ago by fdoray
Modified:
4 years, 5 months ago
CC:
asanka, chromium-reviews, cmumford, creis+watch_chromium.org, darin-cc_chromium.org, devtools-reviews_chromium.org, dtapuska+chromiumwatch_chromium.org, feature-media-reviews_chromium.org, jam, jsbell+idb_chromium.org, kinuko+fileapi, loading-reviews_chromium.org, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-sensors_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-geolocation_chromium.org, mmenke, Michael van Ouwerkerk, nasko+codewatch_chromium.org, nhiroki, pfeldman, piman+watch_chromium.org, posciak+watch_chromium.org, Randy Smith (Not in Mondays), riju_, timvolodine, tzik, wjmaclean
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove calls to deprecated MessageLoop methods in content. This CL makes the following replacements in content: Before After ---------------------------------------------------------- x.PostTask() x.task_runner()->PostTask() PostDelayedTask() PostDelayedTask() ReleaseSoon() ReleaseSoon() DeleteSoon() DeleteSoon() x->PostTask() y->task_runner()->PostTask() PostDelayedTask() PostDelayedTask() ReleaseSoon() ReleaseSoon() DeleteSoon() DeleteSoon() x.Run() RunLoop().Run() x.RunUntilIdle() RunLoop().RunUntilIdle() x->Run() RunLoop().Run() x->RunUntilIdle() RunLoop().RunUntilIdle() If |y| isn't MessageLoopForUI::current() or MessageLoopForIO::current() y.message_loop()->task_runner() y.task_runner() y->message_loop()->task_runner() y->task_runner() ---------------------------------------------------------- |x| is a base::MessageLoop(ForUI|ForIO) or a pointer to a base::MessageLoop(ForUI|ForIO). |y| is a base::Thread or a pointer to a base::Thread. This CL was generated using the MessageLoopDeprecatedMethods clang-tidy fix available on the associated bug. Only files that compile on Mac are affected. Follow-up CLs will make these replacements for other platforms. This CL doesn't change code behavior. BUG=616447 R=jam@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/e716a9021e055fc77e0459d1a46b269864333cf8 Cr-Commit-Position: refs/heads/master@{#403787}

Patch Set 1 #

Total comments: 9

Patch Set 2 : CR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -199 lines) Patch
M content/browser/blob_storage/blob_reader_unittest.cc View 15 chunks +15 lines, -15 lines 0 comments Download
M content/browser/blob_storage/blob_url_request_job_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_thread_unittest.cc View 5 chunks +7 lines, -6 lines 0 comments Download
M content/browser/byte_stream_unittest.cc View 20 chunks +26 lines, -25 lines 0 comments Download
M content/browser/devtools/devtools_manager_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/devtools/protocol/devtools_protocol_browsertest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/devtools/site_per_process_devtools_browsertest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/download/download_browsertest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/download/download_file_unittest.cc View 11 chunks +11 lines, -11 lines 0 comments Download
M content/browser/fileapi/file_system_dir_url_request_job_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/fileapi/file_system_operation_impl_write_unittest.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M content/browser/fileapi/file_system_url_request_job_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/fileapi/file_writer_delegate_unittest.cc View 10 chunks +11 lines, -11 lines 0 comments Download
M content/browser/fileapi/local_file_stream_reader_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc View 1 2 chunks +5 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest_unittest.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/gamepad/gamepad_provider_unittest.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M content/browser/geolocation/geolocation_provider_impl_unittest.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M content/browser/geolocation/network_location_provider_unittest.cc View 9 chunks +10 lines, -9 lines 0 comments Download
M content/browser/indexed_db/indexed_db_transaction_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/resource_dispatcher_host_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/quota/quota_backend_impl_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/input/gesture_event_queue_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/input_router_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/mouse_wheel_event_queue_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/input/touch_event_queue_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc View 13 chunks +15 lines, -14 lines 0 comments Download
M content/browser/renderer_host/p2p/socket_host_tcp_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 10 chunks +10 lines, -10 lines 0 comments Download
M content/browser/storage_partition_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/webui/url_data_manager_backend.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/power_monitor_broadcast_source_unittest.cc View 3 chunks +10 lines, -9 lines 0 comments Download
M content/child/shared_memory_data_consumer_handle_unittest.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M content/child/web_url_loader_impl_unittest.cc View 7 chunks +10 lines, -9 lines 0 comments Download
M content/gpu/gpu_main.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M content/ppapi_plugin/ppapi_broker_main.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/ppapi_plugin/ppapi_plugin_main.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/public/test/render_view_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/test_utils.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/device_sensors/device_light_event_pump_unittest.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M content/renderer/device_sensors/device_motion_event_pump_unittest.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M content/renderer/device_sensors/device_orientation_event_pump_unittest.cc View 6 chunks +6 lines, -5 lines 0 comments Download
M content/renderer/devtools/devtools_agent.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/media/media_stream_video_track_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webmediaplayer_ms_compositor.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms_unittest.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/pepper/plugin_module.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/pepper/ppb_flash_message_loop_impl.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl_browsertest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/renderer_main.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/test/appcache_test_helper.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M content/utility/utility_main.cc View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 25 (9 generated)
fdoray
Can you review this CL? Thanks.
4 years, 6 months ago (2016-06-22 15:37:40 UTC) #2
jam
Redirecting to Nick to load balance
4 years, 6 months ago (2016-06-22 19:37:07 UTC) #4
ncarter (slow)
Only got about halfway through, but I found myself asking the same question in a ...
4 years, 6 months ago (2016-06-22 20:51:09 UTC) #5
fdoray
jochen@: Can you review this CL? Thanks. (ncarter is OOO) https://codereview.chromium.org/2082343002/diff/1/content/browser/browser_thread_unittest.cc File content/browser/browser_thread_unittest.cc (right): https://codereview.chromium.org/2082343002/diff/1/content/browser/browser_thread_unittest.cc#newcode116 ...
4 years, 5 months ago (2016-06-28 20:40:35 UTC) #7
jochen (gone - plz use gerrit)
sorry for the delay, will review later or tomorrow
4 years, 5 months ago (2016-06-29 15:27:54 UTC) #8
DMGordon79
4 years, 5 months ago (2016-07-01 06:49:22 UTC) #10
DMGordon79
4 years, 5 months ago (2016-07-01 06:49:25 UTC) #11
DMGordon79
lgtm
4 years, 5 months ago (2016-07-01 06:49:27 UTC) #12
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/2082343002/20001
4 years, 5 months ago (2016-07-01 14:15:23 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/211316)
4 years, 5 months ago (2016-07-01 14:22:42 UTC) #16
fdoray
jochen@: ping
4 years, 5 months ago (2016-07-04 13:59:01 UTC) #18
jochen (gone - plz use gerrit)
lgtm
4 years, 5 months ago (2016-07-05 14:24:43 UTC) #19
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/2082343002/20001
4 years, 5 months ago (2016-07-05 14:29:09 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-05 16:06:13 UTC) #22
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-05 16:06:16 UTC) #23
commit-bot: I haz the power
4 years, 5 months ago (2016-07-05 16:08:14 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e716a9021e055fc77e0459d1a46b269864333cf8
Cr-Commit-Position: refs/heads/master@{#403787}

Powered by Google App Engine
This is Rietveld 408576698