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

Issue 9004051: Replace MessageLoop::DeleteSoon implementation with one that uses base::Bind. (Closed)

Created:
8 years, 12 months ago by dcheng
Modified:
8 years, 11 months ago
CC:
chromium-reviews, sadrul, jam, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Replace MessageLoop::DeleteSoon implementation with one that uses base::Bind. BUG=none TEST=none TBR=willchan,brettw,tony Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=115997 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=116026

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comments #

Patch Set 3 : Yucky #

Patch Set 4 : A helper for the helper. #

Patch Set 5 : Convert MessageLoopProxy too as a proof of concept. #

Patch Set 6 : Very minor cleanup #

Patch Set 7 : Apparently someone clever #defines Status #

Total comments: 1

Patch Set 8 : Add a newline #

Patch Set 9 : Fix CrOS #

Patch Set 10 : Fix small typo #

Patch Set 11 : For my sanity, please IWYU #

Patch Set 12 : Final #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -20 lines) Patch
M base/message_loop.h View 1 2 3 4 3 chunks +9 lines, -1 line 0 comments Download
M base/message_loop.cc View 1 chunk +6 lines, -0 lines 0 comments Download
A base/message_loop_helpers.h View 1 2 3 4 5 6 7 1 chunk +73 lines, -0 lines 0 comments Download
M base/message_loop_proxy.h View 1 2 3 4 5 4 chunks +9 lines, -2 lines 0 comments Download
M base/message_loop_proxy.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data_quota_helper.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/browsing_data_remover.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/screen_locker.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/web_socket_proxy.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/browser_actions_container.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/webplugin_delegate_proxy.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M net/url_request/url_request_context_getter.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/plugins/npapi/webplugin_delegate_impl.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_webplugin_impl.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/plugins/webview_plugin.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
dcheng
Using the elegant reinterpret_cast<> trick you suggested =) make all is still running locally, so ...
8 years, 12 months ago (2011-12-28 23:17:41 UTC) #1
awong
Heh...it's only elegant if you can stand the reinterpret_cast :P. Got one comment. http://codereview.chromium.org/9004051/diff/1/base/message_loop.h File ...
8 years, 12 months ago (2011-12-28 23:24:19 UTC) #2
dcheng
http://codereview.chromium.org/9004051/diff/1/base/message_loop.h File base/message_loop.h (right): http://codereview.chromium.org/9004051/diff/1/base/message_loop.h#newcode48 base/message_loop.h:48: template <class T> On 2011/12/28 23:24:19, awong wrote: > ...
8 years, 12 months ago (2011-12-28 23:34:19 UTC) #3
awong
LGTM
8 years, 12 months ago (2011-12-28 23:36:55 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/9004051/4001
8 years, 12 months ago (2011-12-28 23:43:28 UTC) #5
commit-bot: I haz the power
Try job failure for 9004051-4001 (retry) on linux_rel for step "compile" (clobber build). It's a ...
8 years, 12 months ago (2011-12-28 23:59:58 UTC) #6
dcheng
Let me know what you think of the new helper + comments. I'm doing a ...
8 years, 12 months ago (2011-12-29 01:57:07 UTC) #7
awong
LGTM http://codereview.chromium.org/9004051/diff/12001/base/message_loop_helpers.h File base/message_loop_helpers.h (right): http://codereview.chromium.org/9004051/diff/12001/base/message_loop_helpers.h#newcode15 base/message_loop_helpers.h:15: namespace base { Add a newline here.
8 years, 12 months ago (2011-12-29 18:09:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/9004051/12002
8 years, 12 months ago (2011-12-29 18:15:13 UTC) #9
commit-bot: I haz the power
8 years, 11 months ago (2011-12-29 22:40:41 UTC) #10
Try job failure for 9004051-12002 (retry) on win_rel for step "compile" (clobber
build).
It's a second try, previously, step "compile" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698