Chromium Code Reviews
DescriptionMove thread checking from autofill_country.cc to browser_process_impl.cc
DCHECK(CalledOnValidThread()) is better than BrowserThread::CurrentlyOn(...)
because it automatically supports unit test without requiring setting up
specific threads.
BUG=132643
TEST=Run Autofill tests in debug build
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142048
Patch Set 1 #Patch Set 2 : Remove code about thread in address_unittest.cc which is no longer needed #
Messages
Total messages: 8 (0 generated)
|
|||||||||||||||||||||||||||||||||||||