DescriptionSuppress bubble view for CONNECTION_FAILED error
If there was a connection failed error then we woud display an error bubble view and wrench menu item.
We're not supposed to display error messages for CONNECTION_FAILED errors so all the labels in the bubble view and wrench menu error item were blank.
The problem was that we would decide when to show the error UI based on the auth error state.
To fix this I simplified the code so that we show the error UI based directly on the presence of the error labels. This makes the code significantly simpler.
I also added unit tests to make sure that we're returning labels when we should not not returning them when we shouldn't.
BUG=100451
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105944
Patch Set 1 #
Total comments: 4
Patch Set 2 : addressed review comments #
Total comments: 2
Patch Set 3 : removing using #Patch Set 4 : added test for SyncGlobalError #Patch Set 5 : fixed failure in debug build #
Messages
Total messages: 12 (0 generated)
|