Chromium Code Reviews
DescriptionReturn errors from the Mojo network service using an enum.
This allows consumers of the network service to act upon returned error
codes without referring to //net/base/net_errors.h.
Of course, this is essentially a fork of net/base/net_error_list.h that
we should keep in sync with the original. But at least we're handling
this within the network service, once for all concumers.
BUG=456130
Patch Set 1 #Patch Set 2 : #
Total comments: 6
Patch Set 3 : Address James's remarks, add missing errors. #
Total comments: 2
Patch Set 4 : Drop unneeded include. #Patch Set 5 : Generate the static_asserts using a macro. #
Messages
Total messages: 13 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||