DescriptionParse content in the response for upload iff the upload is successfully done.
Uploading may fail due to confliction. In such a case, response may contain
valid JSON data in the content of the response. However, here we expect only
valid JSON data representing an uploaded file entry's metadata.
This CL skips parsing JSON file, if an error is found.
BUG=263330
TEST=Ran unit_tests.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213385
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|