forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
android: 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}
- Loading branch information
boliu
authored and
Commit bot
committed
Apr 13, 2017
1 parent
092d349
commit 06114d7
Showing
5 changed files
with
170 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.