Chromium Code Reviews
DescriptionCleanup: return value and null-callback fixups on AsyncFileUtil interface
- Change return value from bool to void, as handling an error in
two ways (return value and callback value) adds unnecessary
complexity, and it's not handled at all in the current code.
- Add a restriction to callbcak: from now callback should never
be NULL. Also dropping callback.is_null() checks in the implementation.
BUG=241701
TEST=existing tests should pass
R=hidehiko@chromium.org, tzik@chromium.org, vandebo@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210510
Patch Set 1 #
Total comments: 4
Patch Set 2 : comment fix #Messages
Total messages: 7 (0 generated)
|