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

Issue 414173004: mojo: fix little bug in DynamicServiceLoader/Runner (Closed)

Created:
6 years, 5 months ago by tim (not reviewing)
Modified:
6 years, 4 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

mojo: fix little bug in DynamicServiceLoader/Runner If the Runner wasn't actually told to Start(), the DelegateSimpleThread would DCHECK for not having been Started. This patch makes it so we don't allocate a DST unless we need to. Also adds basic unittest files for DynamicServiceLoader and Runner. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285650 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285849

Patch Set 1 : #

Patch Set 2 : comment #

Total comments: 1

Patch Set 3 : review #

Patch Set 4 : oopsies #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -11 lines) Patch
M mojo/mojo.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/shell/dynamic_service_loader.cc View 2 chunks +1 line, -3 lines 0 comments Download
A mojo/shell/dynamic_service_loader_unittest.cc View 1 2 3 1 chunk +82 lines, -0 lines 0 comments Download
M mojo/shell/in_process_dynamic_service_runner.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/in_process_dynamic_service_runner.cc View 2 chunks +8 lines, -7 lines 0 comments Download
A mojo/shell/in_process_dynamic_service_runner_unittest.cc View 1 2 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
tim (not reviewing)
+darin, I closed out a TODO(darin) since it made this more easily testable.
6 years, 5 months ago (2014-07-25 01:37:46 UTC) #1
darin (slow to review)
LGTM https://codereview.chromium.org/414173004/diff/80001/mojo/shell/in_process_dynamic_service_runner_unittest.cc File mojo/shell/in_process_dynamic_service_runner_unittest.cc (right): https://codereview.chromium.org/414173004/diff/80001/mojo/shell/in_process_dynamic_service_runner_unittest.cc#newcode13 mojo/shell/in_process_dynamic_service_runner_unittest.cc:13: base::MessageLoop loop_; nit: no trailing "_"
6 years, 5 months ago (2014-07-25 02:34:01 UTC) #2
tim (not reviewing)
The CQ bit was checked by tim@chromium.org
6 years, 5 months ago (2014-07-25 17:24:31 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/414173004/100001
6 years, 5 months ago (2014-07-25 17:25:56 UTC) #4
commit-bot: I haz the power
Change committed as 285650
6 years, 5 months ago (2014-07-25 19:57:27 UTC) #5
Mark P
A revert of this CL has been created in https://codereview.chromium.org/419683006/ by mpearson@chromium.org. The reason for ...
6 years, 5 months ago (2014-07-25 20:37:13 UTC) #6
tim (not reviewing)
Note to self: CQ doesn't run these tests :( Will wait until try-run turns green ...
6 years, 5 months ago (2014-07-26 00:17:54 UTC) #7
darin (slow to review)
On 2014/07/26 00:17:54, timsteele wrote: > Note to self: CQ doesn't run these tests :( ...
6 years, 5 months ago (2014-07-26 03:47:46 UTC) #8
tim (not reviewing)
The CQ bit was checked by tim@chromium.org
6 years, 4 months ago (2014-07-27 18:32:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/414173004/120001
6 years, 4 months ago (2014-07-27 18:32:52 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-07-28 00:26:26 UTC) #11
Message was sent while issue was closed.
Change committed as 285849

Powered by Google App Engine
This is Rietveld 408576698