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

Issue 66193007: Implementation of MessagePump for Mojo. (Closed)

Created:
7 years, 1 month ago by sky
Modified:
7 years, 1 month ago
CC:
chromium-reviews, sadrul, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), erikwright+watch_chromium.org, ben+mojo_chromium.org
Visibility:
Public.

Description

Implementation of MessagePump for Mojo. I've refactored a bunch of the common MessagePump code into message_pump_test. This allows us to share tests for custom messagePumps and should allow moving MessagePumpForUI out later on. Sadly it results in a ginormous macro. On the positive side it's easy to use. BUG=none TEST=none R=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=234540

Patch Set 1 #

Patch Set 2 : comments and cleanup #

Total comments: 6

Patch Set 3 : integrate feedback #

Patch Set 4 : merge 2 trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1624 lines, -1083 lines) Patch
M base/base.gyp View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M base/message_loop/message_loop.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M base/message_loop/message_loop.cc View 2 chunks +46 lines, -43 lines 0 comments Download
A base/message_loop/message_loop_test.h View 1 2 1 chunk +137 lines, -0 lines 0 comments Download
A base/message_loop/message_loop_test.cc View 1 2 1 chunk +1069 lines, -0 lines 0 comments Download
M base/message_loop/message_loop_unittest.cc View 16 chunks +17 lines, -1040 lines 0 comments Download
A mojo/common/message_pump_mojo.h View 1 chunk +82 lines, -0 lines 0 comments Download
A mojo/common/message_pump_mojo.cc View 1 2 1 chunk +198 lines, -0 lines 0 comments Download
A mojo/common/message_pump_mojo_handler.h View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A mojo/common/message_pump_mojo_unittest.cc View 1 1 chunk +22 lines, -0 lines 0 comments Download
M mojo/mojo.gyp View 1 2 3 3 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
sky
7 years, 1 month ago (2013-11-08 20:52:35 UTC) #1
Ben Goodger (Google)
https://codereview.chromium.org/66193007/diff/30001/mojo/common/message_pump_mojo.cc File mojo/common/message_pump_mojo.cc (right): https://codereview.chromium.org/66193007/diff/30001/mojo/common/message_pump_mojo.cc#newcode46 mojo/common/message_pump_mojo.cc:46: MojoHandle handle, mojo::Handle, mojo::WriteMessage etc?
7 years, 1 month ago (2013-11-08 21:24:34 UTC) #2
darin (slow to review)
LGTM, caveat nits: https://codereview.chromium.org/66193007/diff/30001/base/message_loop/message_loop_test.h File base/message_loop/message_loop_test.h (right): https://codereview.chromium.org/66193007/diff/30001/base/message_loop/message_loop_test.h#newcode21 base/message_loop/message_loop_test.h:21: void RunTest_PostTask(MessagePumpFactory* factory); Do these need ...
7 years, 1 month ago (2013-11-09 00:47:49 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/66193007/280001
7 years, 1 month ago (2013-11-11 14:18:09 UTC) #4
sky
https://codereview.chromium.org/66193007/diff/30001/base/message_loop/message_loop_test.h File base/message_loop/message_loop_test.h (right): https://codereview.chromium.org/66193007/diff/30001/base/message_loop/message_loop_test.h#newcode21 base/message_loop/message_loop_test.h:21: void RunTest_PostTask(MessagePumpFactory* factory); On 2013/11/09 00:47:50, darin wrote: > ...
7 years, 1 month ago (2013-11-11 15:14:17 UTC) #5
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 1 month ago (2013-11-11 19:50:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/66193007/280001
7 years, 1 month ago (2013-11-11 21:47:21 UTC) #7
commit-bot: I haz the power
Failed to apply patch for mojo/mojo.gyp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-11-11 21:47:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/66193007/540001
7 years, 1 month ago (2013-11-11 22:26:46 UTC) #9
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=100422
7 years, 1 month ago (2013-11-12 02:19:28 UTC) #10
sky
7 years, 1 month ago (2013-11-12 16:35:06 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 manually as r234540 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698