Disallow nesting on some BrowserThreads.
This CL disallows nesting on BrowserThreads that will be migrated
to TaskScheduler. Running a nested loop or calling
Add/RemoveNestingObserver on these threads will result in a crash.
To our knowledge, no code runs a nested loop on BrowserThreads that
will be migrated to TaskScheduler. This CL will help us confirm that
in the wild.
BUG=653916
Review-Url: https://codereview.chromium.org/2407313002
Cr-Commit-Position: refs/heads/master@{#424749}
CrOS-Libchrome-Original-Commit: 6d547b63b4176785a3caf5019c055173a28535e8
2 files changed