DescriptionSimplify fileBrowserPrivate.getDriveConnectionStatus().
The "reasons" field had been a subset of {NO_SERVICE, NO_NETWORK, NOT_READY},
but it is now used only for signaling errors when it has NOT_READY
without other reasons. This can more simply be represented
by a single "reason" field whose value is set in the order:
NO_SERVICE > NO_NETWORK > NOT_READY, i.e., NOT_READY is set
only when other two states are not set.
BUG=237427
R=benwells@chromium.org, yoshiki@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238318
Patch Set 1 #Patch Set 2 : Fix the util function name. #Messages
Total messages: 8 (0 generated)
|