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

Issue 1100773004: base: Remove most uses of MessageLoopProxy (Closed)

Created:
5 years, 8 months ago by Sami
Modified:
5 years, 7 months ago
Reviewers:
danakj
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, tfarina, gavinp+memory_chromium.org, grt+watch_chromium.org, oshima+watch_chromium.org, wfh+watch_chromium.org, tracing+reviews_chromium.org, estade+watch_chromium.org, erikwright+watch_chromium.org, stevenjb+watch_chromium.org, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

base: Remove most uses of MessageLoopProxy Replace most usage of MessageLoopProxy under base/ with SingleThreadTaskRunner and ThreadTaskRunnerHandle (excluding the implementation of MessageLoopProxy itself which will removed later). This patch was mostly autogenerated with https://codereview.chromium.org/1010073002. Depends on https://codereview.chromium.org/1086733002/. BUG=465354 TBR=nkostylev@chromium.org,pkasting@chromium.org,pauljensen@chromium.org Committed: https://crrev.com/054861d0934c663de3cea933e1d65fd8319856a6 Cr-Commit-Position: refs/heads/master@{#327755}

Patch Set 1 #

Total comments: 73

Patch Set 2 : Rebased. #

Patch Set 3 : Review comments. #

Patch Set 4 : Rebased. #

Patch Set 5 : Rebased. #

Patch Set 6 : Rebase again. #

Patch Set 7 : Exclude changes to pref_member.{cc,h} and sequenced_worker_pool.{cc,h}. #

Patch Set 8 : Added some missing includes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+418 lines, -470 lines) Patch
M base/android/application_status_listener_unittest.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M base/async_socket_io_handler_unittest.cc View 3 chunks +10 lines, -7 lines 0 comments Download
M base/bind_helpers.h View 1 chunk +1 line, -1 line 0 comments Download
M base/cancelable_callback_unittest.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M base/chromeos/memory_pressure_monitor_chromeos.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -5 lines 0 comments Download
M base/critical_closure.h View 1 chunk +1 line, -1 line 0 comments Download
M base/deferred_sequenced_task_runner_unittest.cc View 1 2 4 chunks +13 lines, -19 lines 0 comments Download
M base/files/file_path_watcher.h View 1 2 3 chunks +7 lines, -6 lines 0 comments Download
M base/files/file_path_watcher_fsevents.cc View 8 chunks +9 lines, -8 lines 0 comments Download
M base/files/file_path_watcher_kqueue.h View 3 chunks +3 lines, -3 lines 0 comments Download
M base/files/file_path_watcher_kqueue.cc View 4 chunks +8 lines, -7 lines 0 comments Download
M base/files/file_path_watcher_linux.cc View 1 2 6 chunks +14 lines, -16 lines 0 comments Download
M base/files/file_path_watcher_unittest.cc View 8 chunks +17 lines, -17 lines 0 comments Download
M base/files/file_path_watcher_win.cc View 4 chunks +8 lines, -9 lines 0 comments Download
M base/files/file_proxy.cc View 1 chunk +0 lines, -1 line 0 comments Download
M base/files/file_proxy_unittest.cc View 2 chunks +1 line, -2 lines 0 comments Download
M base/files/file_util_proxy_unittest.cc View 2 chunks +1 line, -2 lines 0 comments Download
M base/files/important_file_writer.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M base/files/important_file_writer_unittest.cc View 1 2 3 4 6 chunks +14 lines, -15 lines 0 comments Download
M base/memory/ref_counted_delete_on_message_loop.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M base/memory/weak_ptr_unittest.cc View 1 2 5 chunks +20 lines, -25 lines 0 comments Download
M base/observer_list_threadsafe.h View 1 2 3 3 chunks +5 lines, -6 lines 0 comments Download
M base/observer_list_unittest.cc View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
M base/posix/unix_domain_socket_linux_unittest.cc View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M base/prefs/json_pref_store.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M base/prefs/json_pref_store_unittest.cc View 1 2 3 4 5 18 chunks +33 lines, -60 lines 0 comments Download
M base/prefs/pref_member_unittest.cc View 8 chunks +16 lines, -12 lines 0 comments Download
M base/prefs/pref_service.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M base/prefs/pref_service_factory.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M base/sequence_checker_unittest.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M base/single_thread_task_runner.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M base/synchronization/cancellation_flag_unittest.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M base/synchronization/condition_variable_unittest.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M base/synchronization/waitable_event_watcher_posix.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M base/task/cancelable_task_tracker.cc View 1 2 4 chunks +5 lines, -4 lines 0 comments Download
M base/task/cancelable_task_tracker_unittest.cc View 7 chunks +18 lines, -27 lines 0 comments Download
M base/task_runner_util_unittest.cc View 5 chunks +7 lines, -13 lines 0 comments Download
M base/test/launcher/test_launcher.cc View 1 2 9 chunks +18 lines, -29 lines 0 comments Download
M base/test/launcher/unit_test_launcher.cc View 4 chunks +9 lines, -12 lines 0 comments Download
M base/test/sequenced_worker_pool_owner.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M base/test/task_runner_test_template.h View 2 chunks +3 lines, -1 line 0 comments Download
M base/test/thread_test_helper.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M base/test/thread_test_helper.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M base/threading/post_task_and_reply_impl.h View 2 chunks +3 lines, -3 lines 0 comments Download
M base/threading/post_task_and_reply_impl.cc View 2 chunks +9 lines, -9 lines 0 comments Download
M base/threading/sequenced_worker_pool_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M base/threading/thread.h View 2 chunks +2 lines, -2 lines 0 comments Download
M base/threading/thread.cc View 2 chunks +2 lines, -1 line 0 comments Download
M base/threading/thread_perftest.cc View 1 4 chunks +11 lines, -15 lines 0 comments Download
M base/threading/thread_unittest.cc View 4 chunks +10 lines, -11 lines 0 comments Download
M base/threading/worker_pool.h View 1 chunk +1 line, -1 line 0 comments Download
M base/trace_event/trace_event_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/trace_event/trace_event_impl.h View 3 chunks +4 lines, -3 lines 0 comments Download
M base/trace_event/trace_event_impl.cc View 1 2 3 9 chunks +18 lines, -16 lines 0 comments Download
M base/trace_event/trace_event_memory.h View 3 chunks +7 lines, -8 lines 0 comments Download
M base/trace_event/trace_event_memory.cc View 1 2 4 chunks +10 lines, -11 lines 0 comments Download
M base/trace_event/trace_event_memory_unittest.cc View 2 chunks +3 lines, -7 lines 0 comments Download
M base/trace_event/trace_event_system_stats_monitor_unittest.cc View 2 chunks +1 line, -3 lines 0 comments Download
M base/trace_event/trace_event_unittest.cc View 10 chunks +23 lines, -22 lines 0 comments Download
M base/win/object_watcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/profile_pref_store_manager.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/login/auth/online_attempt.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chromeos/login/auth/online_attempt_host.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M components/webdata/common/web_data_service_base.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M net/disk_cache/simple/simple_entry_impl.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 32 (13 generated)
Sami
Dana, would you be up to reviewing this since you've already got some context? I ...
5 years, 8 months ago (2015-04-21 19:12:47 UTC) #2
danakj
Sorry for the tons of vaguely related "while you're here clean things up" nits. A ...
5 years, 8 months ago (2015-04-21 20:16:31 UTC) #3
Sami
> Sorry for the tons of vaguely related "while you're here clean things up" nits. ...
5 years, 8 months ago (2015-04-23 17:48:26 UTC) #4
danakj
LGTM https://codereview.chromium.org/1100773004/diff/1/base/trace_event/trace_event_memory.cc File base/trace_event/trace_event_memory.cc (right): https://codereview.chromium.org/1100773004/diff/1/base/trace_event/trace_event_memory.cc#newcode152 base/trace_event/trace_event_memory.cc:152: : task_runner_(task_runner), On 2015/04/23 17:48:25, Sami wrote: > ...
5 years, 8 months ago (2015-04-23 18:17:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1100773004/60001
5 years, 8 months ago (2015-04-27 18:04:45 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/58489)
5 years, 8 months ago (2015-04-27 20:22:36 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1100773004/80001
5 years, 7 months ago (2015-04-29 10:11:53 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/60567)
5 years, 7 months ago (2015-04-29 10:15:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1100773004/100001
5 years, 7 months ago (2015-04-29 11:19:02 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/60576)
5 years, 7 months ago (2015-04-29 14:27:18 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1100773004/100001
5 years, 7 months ago (2015-04-29 15:45:54 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 7 months ago (2015-04-29 16:57:00 UTC) #23
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/62aa5ca413e15738ebebbb9acd271138ec808739 Cr-Commit-Position: refs/heads/master@{#327512}
5 years, 7 months ago (2015-04-29 16:57:54 UTC) #24
stevenjb
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1113953002/ by stevenjb@chromium.org. ...
5 years, 7 months ago (2015-04-29 21:17:29 UTC) #25
Sami
On 2015/04/29 21:17:29, stevenjb wrote: > A revert of this CL (patchset #6 id:100001) has ...
5 years, 7 months ago (2015-04-30 16:41:21 UTC) #26
stevenjb
On 2015/04/30 16:41:21, Sami wrote: > On 2015/04/29 21:17:29, stevenjb wrote: > > A revert ...
5 years, 7 months ago (2015-04-30 17:10:37 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1100773004/140001
5 years, 7 months ago (2015-04-30 18:58:41 UTC) #30
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 7 months ago (2015-04-30 19:06:50 UTC) #31
commit-bot: I haz the power
5 years, 7 months ago (2015-04-30 19:08:07 UTC) #32
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/054861d0934c663de3cea933e1d65fd8319856a6
Cr-Commit-Position: refs/heads/master@{#327755}

Powered by Google App Engine
This is Rietveld 408576698