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

Issue 523623003: Plug some of the leaks in dbus_unittests. (Closed)

Created:
6 years, 3 months ago by earthdok
Modified:
6 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Plug some of the leaks in dbus_unittests. Also, remove the deprecated base::MessageLoop::Run() calls everywhere in dbus unittests. BUG=365669 R=armansito@chromium.org Committed: https://crrev.com/9562caf1ec60d2e6f1c4c64b84ffddcd5a0ca029 Cr-Commit-Position: refs/heads/master@{#293113}

Patch Set 1 #

Patch Set 2 : nuke all uses of deprecated MessageLoop::Run() #

Patch Set 3 : remove MessageLoop::Run() calls everywhere #

Total comments: 1

Patch Set 4 : run_loop_->Quit() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -56 lines) Patch
M dbus/end_to_end_async_unittest.cc View 1 2 3 15 chunks +30 lines, -19 lines 0 comments Download
M dbus/mock_unittest.cc View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download
M dbus/object_manager_unittest.cc View 1 2 3 6 chunks +18 lines, -9 lines 0 comments Download
M dbus/property_unittest.cc View 1 2 3 3 chunks +10 lines, -5 lines 0 comments Download
M dbus/signal_sender_verification_unittest.cc View 1 2 3 16 chunks +40 lines, -21 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
earthdok
6 years, 3 months ago (2014-08-29 19:34:36 UTC) #1
armansito
Might as well get rid of other uses of MessageLoop::Run in the rest of the ...
6 years, 3 months ago (2014-08-29 19:59:21 UTC) #3
earthdok
On 2014/08/29 19:59:21, armansito wrote: > Might as well get rid of other uses of ...
6 years, 3 months ago (2014-08-29 20:16:15 UTC) #4
earthdok
On 2014/08/29 19:59:21, armansito wrote: > Might as well get rid of other uses of ...
6 years, 3 months ago (2014-08-29 20:22:27 UTC) #5
armansito
On 2014/08/29 20:22:27, earthdok wrote: > On 2014/08/29 19:59:21, armansito wrote: > > Might as ...
6 years, 3 months ago (2014-08-29 20:32:38 UTC) #6
earthdok
On 2014/08/29 20:32:38, armansito wrote: > On 2014/08/29 20:22:27, earthdok wrote: > > On 2014/08/29 ...
6 years, 3 months ago (2014-09-01 13:39:21 UTC) #7
armansito
On 2014/09/01 13:39:21, earthdok wrote: > On 2014/08/29 20:32:38, armansito wrote: > > On 2014/08/29 ...
6 years, 3 months ago (2014-09-01 13:58:00 UTC) #8
satorux1
+hashimoto@ could you take a look? I thought you had good understanding of the RunLoop ...
6 years, 3 months ago (2014-09-02 03:27:00 UTC) #10
hashimoto
https://codereview.chromium.org/523623003/diff/40001/dbus/end_to_end_async_unittest.cc File dbus/end_to_end_async_unittest.cc (right): https://codereview.chromium.org/523623003/diff/40001/dbus/end_to_end_async_unittest.cc#newcode192 dbus/end_to_end_async_unittest.cc:192: message_loop_.Quit(); Why don't you replace this MessageLoop::Quit call with ...
6 years, 3 months ago (2014-09-02 03:34:02 UTC) #11
earthdok
On 2014/09/02 03:34:02, hashimoto wrote: > https://codereview.chromium.org/523623003/diff/40001/dbus/end_to_end_async_unittest.cc > File dbus/end_to_end_async_unittest.cc (right): > > https://codereview.chromium.org/523623003/diff/40001/dbus/end_to_end_async_unittest.cc#newcode192 > ...
6 years, 3 months ago (2014-09-02 13:45:19 UTC) #12
hashimoto
lgtm, thanks satorux@, could you approve this change as an owner of dbus/?
6 years, 3 months ago (2014-09-03 05:27:07 UTC) #13
satorux1
LGTM. Thank you for fixing the leaks!
6 years, 3 months ago (2014-09-03 05:32:09 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/earthdok@chromium.org/523623003/80001
6 years, 3 months ago (2014-09-03 09:36:49 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:80001) as 1b697373391ba705e5393d58c222bf3b8ceff5bf
6 years, 3 months ago (2014-09-03 10:33:41 UTC) #17
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:24:56 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9562caf1ec60d2e6f1c4c64b84ffddcd5a0ca029
Cr-Commit-Position: refs/heads/master@{#293113}

Powered by Google App Engine
This is Rietveld 408576698