DescriptionAdd thread checker to base::RunLoop.
The purpose is to make sure that after switching users of
MessageLoopRunner to RunLoop we won't lose any correctness checks.
Also add a comment that encourages to use RunLoop where possible, and
rename GetQuitTaskForRunLoop to GetDeferredQuitTaskForRunLoop to convey
is purpose clearly.
BUG=668707
Committed: https://crrev.com/dd10720676efff002490f702118e052dcd210f18
Cr-Commit-Position: refs/heads/master@{#435924}
Patch Set 1 #Patch Set 2 : Add missing include. #Patch Set 3 : No thread checks when getting closures. #Patch Set 4 : Fix errors caught by ThreadChecker. #
Total comments: 2
Messages
Total messages: 32 (20 generated)
|