Verifies that it was called on the same thread as the constructor.
| 30 | |
| 31 | // Verifies that it was called on the same thread as the constructor. |
| 32 | void DoStuff() { |
| 33 | DCHECK(CalledOnValidThread()); |
| 34 | } |
| 35 | |
| 36 | void DetachFromThread() { |
| 37 | ThreadChecker::DetachFromThread(); |
no outgoing calls
no test coverage detected