DescriptionFix GetChannel interface misuse and Windows version logic in ThreadWatcher and
ShutdownWatcher.
GetChannel can return CHANNEL_STABLE, CHANNEL_BETA, CHANNEL_DEV,
CHANNEL_CANARY, or CHANNEL_UNKNOWN. CHANNEL_UNKNOWN generally means "not
Google Chrome", that is, Chromium. The existing code ignored the possibility
of CHANNEL_UNKNOWN. Its mishandling of CHANNEL_STABLE resulted in fragile
code.
The existing code also doubled the timeouts on Windows XP only on certain
channels, although the intent was to double them on Windows XP regardless of
channel.
BUG=96155, 95506, 90095
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100601
Patch Set 1 #Patch Set 2 : '' #
Total comments: 4
Patch Set 3 : '' #Patch Set 4 : '' #Messages
Total messages: 8 (0 generated)
|