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

Issue 333473002: Add a CFRunLoop mode for message loop tasks (Closed)

Created:
6 years, 6 months ago by ccameron
Modified:
6 years, 6 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add a CFRunLoop mode for message loop tasks This can be used to construct nested CFRunLoops that are restricted to the MessageLoop tasks. BUG=314190 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276856

Patch Set 1 #

Patch Set 2 : Fix namespace #

Patch Set 3 : Incorporate review feedback #

Total comments: 2

Patch Set 4 : Add multimode helpers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -25 lines) Patch
M base/message_loop/message_pump_mac.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M base/message_loop/message_pump_mac.mm View 1 2 3 9 chunks +56 lines, -25 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ccameron
If this looks good to you for the base/ stuff, I can send wider to ...
6 years, 6 months ago (2014-06-11 23:04:34 UTC) #1
Robert Sesek
Yes, this looks about right. The only thing I'd change is to move the constant ...
6 years, 6 months ago (2014-06-12 13:45:51 UTC) #2
ccameron
Thanks -- updated, and adding thakis for base/ review.
6 years, 6 months ago (2014-06-12 16:01:08 UTC) #3
Robert Sesek
On 2014/06/12 16:01:08, ccameron1 wrote: > Thanks -- updated, and adding thakis for base/ review. ...
6 years, 6 months ago (2014-06-12 16:02:26 UTC) #4
Mark Mentovai
https://codereview.chromium.org/333473002/diff/40001/base/message_loop/message_pump_mac.mm File base/message_loop/message_pump_mac.mm (right): https://codereview.chromium.org/333473002/diff/40001/base/message_loop/message_pump_mac.mm#newcode340 base/message_loop/message_pump_mac.mm:340: CFRunLoopAddTimer(run_loop_, delayed_work_timer_, There’s enough duplication now that I think ...
6 years, 6 months ago (2014-06-12 16:17:13 UTC) #5
ccameron
https://codereview.chromium.org/333473002/diff/40001/base/message_loop/message_pump_mac.mm File base/message_loop/message_pump_mac.mm (right): https://codereview.chromium.org/333473002/diff/40001/base/message_loop/message_pump_mac.mm#newcode340 base/message_loop/message_pump_mac.mm:340: CFRunLoopAddTimer(run_loop_, delayed_work_timer_, On 2014/06/12 16:17:13, Mark Mentovai wrote: > ...
6 years, 6 months ago (2014-06-12 17:10:40 UTC) #6
Mark Mentovai
Yup, I think this way’s cleaner. LGTM.
6 years, 6 months ago (2014-06-12 17:42:22 UTC) #7
ccameron
Thanks!
6 years, 6 months ago (2014-06-12 18:51:48 UTC) #8
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 6 months ago (2014-06-12 18:51:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/333473002/60001
6 years, 6 months ago (2014-06-12 18:53:07 UTC) #10
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 23:57:57 UTC) #11
Message was sent while issue was closed.
Change committed as 276856

Powered by Google App Engine
This is Rietveld 408576698