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

Issue 1954543002: Remove handler from MessagePumpForIO::IOContext. (Closed)

Created:
4 years, 7 months ago by fdoray
Modified:
4 years, 7 months ago
Reviewers:
Lei Zhang, jam
CC:
chromium-reviews, cbentzel+watch_chromium.org, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, darin (slow to review), ben+mojo_chromium.org, gavinp+disk_chromium.org, gab, robliao
Base URL:
https://chromium.googlesource.com/chromium/src.git@remove_observers
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove handler from MessagePumpForIO::IOContext. This member is not used by existing code. We plan to redirect Tasks that run on the CACHE thread's MessageLoopForIO to the new base/task_scheduler API. For that, we have to replicate MessageLoopForIO's features in base/task_scheduler. Removing unused code will make this easier. BUG=553459 Committed: https://crrev.com/324a072175552e65bc65edfa679bf00f573ee0a4 Cr-Commit-Position: refs/heads/master@{#393036}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 8

Patch Set 3 : CR thestig@ #13 #

Patch Set 4 : CR thestig #17 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -150 lines) Patch
M base/message_loop/message_loop_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M base/message_loop/message_pump_win.h View 1 5 chunks +6 lines, -68 lines 0 comments Download
M base/message_loop/message_pump_win.cc View 1 2 3 5 chunks +14 lines, -49 lines 0 comments Download
M device/serial/serial_io_handler_win.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M ipc/ipc_channel_win.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ipc/ipc_channel_win.cc View 1 2 2 chunks +1 line, -6 lines 0 comments Download
M mojo/edk/system/channel_win.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M net/base/file_stream_context_win.cc View 1 2 2 chunks +1 line, -8 lines 0 comments Download
M net/disk_cache/blockfile/file_win.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954543002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954543002/1
4 years, 7 months ago (2016-05-04 20:44:29 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-05 00:33:04 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954543002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954543002/20001
4 years, 7 months ago (2016-05-05 20:56:12 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-05 23:35:00 UTC) #8
fdoray
Can you review this CL? Thanks.
4 years, 7 months ago (2016-05-09 21:45:17 UTC) #10
Lei Zhang
https://codereview.chromium.org/1954543002/diff/20001/base/message_loop/message_pump_win.cc File base/message_loop/message_pump_win.cc (left): https://codereview.chromium.org/1954543002/diff/20001/base/message_loop/message_pump_win.cc#oldcode548 base/message_loop/message_pump_win.cc:548: if (!item.has_valid_io_context || item.context->handler) { So I didn't write ...
4 years, 7 months ago (2016-05-09 22:41:31 UTC) #13
fdoray
thestig@: Can you take another look? Thanks. https://codereview.chromium.org/1954543002/diff/20001/base/message_loop/message_pump_win.cc File base/message_loop/message_pump_win.cc (left): https://codereview.chromium.org/1954543002/diff/20001/base/message_loop/message_pump_win.cc#oldcode548 base/message_loop/message_pump_win.cc:548: if (!item.has_valid_io_context ...
4 years, 7 months ago (2016-05-10 16:33:17 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954543002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954543002/40001
4 years, 7 months ago (2016-05-10 16:33:24 UTC) #16
Lei Zhang
lgtm https://codereview.chromium.org/1954543002/diff/20001/base/message_loop/message_pump_win.cc File base/message_loop/message_pump_win.cc (right): https://codereview.chromium.org/1954543002/diff/20001/base/message_loop/message_pump_win.cc#newcode470 base/message_loop/message_pump_win.cc:470: info.CompletionKey = reinterpret_cast<void*>(handler); On 2016/05/10 16:33:17, fdoray wrote: ...
4 years, 7 months ago (2016-05-10 19:15:25 UTC) #17
fdoray
jam@: Can you review ipc/, mojo/ and net/? Thanks! https://codereview.chromium.org/1954543002/diff/20001/base/message_loop/message_pump_win.cc File base/message_loop/message_pump_win.cc (right): https://codereview.chromium.org/1954543002/diff/20001/base/message_loop/message_pump_win.cc#newcode470 base/message_loop/message_pump_win.cc:470: ...
4 years, 7 months ago (2016-05-10 19:40:21 UTC) #19
jam
lgtm
4 years, 7 months ago (2016-05-11 18:14:47 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954543002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954543002/60001
4 years, 7 months ago (2016-05-11 18:17:36 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-11 20:00:49 UTC) #25
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 20:02:53 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/324a072175552e65bc65edfa679bf00f573ee0a4
Cr-Commit-Position: refs/heads/master@{#393036}

Powered by Google App Engine
This is Rietveld 408576698