DescriptionDisallow task observers on some BrowserThreads.
This CL disallows task observers on the DB, FILE, FILE_USER_BLOCKING,
PROCESS_LAUNCHER and CACHE threads. Calling Add/RemoveTaskObserver
on these threads will result in a crash.
This is important because these threads will be migrated to
TaskScheduler which doesn't support task observers.
To our knowledge, no code uses task observers on these threads. This
CL will help us confirm that in the wild.
BUG=653916
Committed: https://crrev.com/dbed8d7df17c48f391fde23becf4cb926079610a
Cr-Commit-Position: refs/heads/master@{#425418}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|