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

Issue 2621153003: Create TaskScheduler for all Mojo apps. (Closed)

Created:
3 years, 11 months ago by kylechar
Modified:
3 years, 11 months ago
CC:
chromium-reviews, James Cook, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create TaskScheduler for all Mojo apps. Running mustash on device currently crashes on startup. This is because ui::Service doesn't create a TaskScheduler before Ozone DRM uses it. One option is to have ui::Service::OnStart() create a TaskScheduler. If other Mojo applications need a task scheduler they'll have to do the same. Instead, have MashRunner start a TaskRunner for each process. This fixes the crash in Ozone DRM and doesn't seem to cause any other problems. BUG=679840 Review-Url: https://codereview.chromium.org/2621153003 Cr-Commit-Position: refs/heads/master@{#442956} Committed: https://chromium.googlesource.com/chromium/src/+/3ae6c6b59c0c9a5609fb220d7c494649ad1e826a

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove include. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -8 lines) Patch
M chrome/app/mash/mash_runner.cc View 1 5 chunks +4 lines, -8 lines 0 comments Download

Messages

Total messages: 30 (20 generated)
kylechar
+sky for OWNERS +fdoray as FYI I talked to fdoray about the crash and he ...
3 years, 11 months ago (2017-01-10 21:45:30 UTC) #2
sky
+rockot LGTM
3 years, 11 months ago (2017-01-10 23:45:34 UTC) #8
fdoray
lgtm https://codereview.chromium.org/2621153003/diff/1/chrome/app/mash/mash_runner.cc File chrome/app/mash/mash_runner.cc (right): https://codereview.chromium.org/2621153003/diff/1/chrome/app/mash/mash_runner.cc#newcode45 chrome/app/mash/mash_runner.cc:45: #include "services/service_manager/standalone/context.h" services/service_manager/standalone/context.h is not needed anymore.
3 years, 11 months ago (2017-01-11 14:29:52 UTC) #10
Ken Rockot(use gerrit already)
TS lgtm
3 years, 11 months ago (2017-01-11 14:45:37 UTC) #11
Ken Rockot(use gerrit already)
On 2017/01/11 at 14:45:37, Ken Rockot wrote: > TS lgtm rs* :)
3 years, 11 months ago (2017-01-11 14:45:58 UTC) #12
kylechar
Thanks! https://codereview.chromium.org/2621153003/diff/1/chrome/app/mash/mash_runner.cc File chrome/app/mash/mash_runner.cc (right): https://codereview.chromium.org/2621153003/diff/1/chrome/app/mash/mash_runner.cc#newcode45 chrome/app/mash/mash_runner.cc:45: #include "services/service_manager/standalone/context.h" On 2017/01/11 14:29:51, fdoray wrote: > ...
3 years, 11 months ago (2017-01-11 16:16:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2621153003/20001
3 years, 11 months ago (2017-01-11 16:28:56 UTC) #20
commit-bot: I haz the power
Failed to commit the patch.
3 years, 11 months ago (2017-01-11 16:42:42 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2621153003/20001
3 years, 11 months ago (2017-01-11 18:08:42 UTC) #27
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 18:14:27 UTC) #30
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/3ae6c6b59c0c9a5609fb220d7c49...

Powered by Google App Engine
This is Rietveld 408576698