DescriptionReplace MessagePumpForUI with MessagePumpDefault in unit tests.
Uses the MessagePumpFactory functionality to install a default message pump in
unit tests. This allows us to stop hard-coding a default message pump in many
separate tests and instead centralizes the logic. When tests ask for a
MessageLoopForUI now, they will actually receive a message loop that is backed
by a default message pump, which means that calling Run() and Quit() will work
without crashing.
BUG=None
TEST=None
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148384
Patch Set 1 #Patch Set 2 : Rebased. #
Total comments: 6
Patch Set 3 : Review. #Patch Set 4 : Maybe not a copy? #Patch Set 5 : Rebased. #
Messages
Total messages: 11 (0 generated)
|