Chromium Code Reviews
Descriptionandroid: assert runningOnLauncherThread
This change is meant to have no production impact. Add assert to methods
that already only running on launcher thread in production. This involves
a lot of changes in tests though since test often assume things are
thread safe. This includes moving some helper methods from
ChildProcessLauncherTest to ChildProcessLauncherTestHelperService so
they can be shared.
Also take this opportunity to move a bunch of ForTesting methods from
ChildProcessLauncher to actual test file. This does involve exposing
other things and marking them as @VisibleForTesting, but imo removing
stuff from ChildProcessLauncher is a good thing.
BUG=689758
Review-Url: https://codereview.chromium.org/2809293005
Cr-Commit-Position: refs/heads/master@{#464498}
Committed: https://chromium.googlesource.com/chromium/src/+/06114d78b56a1f73eeede3514c06bcb0aa33a942
Patch Set 1 #Patch Set 2 : one more assert #Patch Set 3 : assert #
Total comments: 1
Messages
Total messages: 10 (6 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||