DescriptionMake OperationID usable for error handling.
Currently, a callback can be called before the FileSystemOperationRunner's
method returns OperationID. So, it is difficult to use OperationID inside the
callback. This CL makes two changes:
- Methods start to return valid OperationID even if the running operation fails.
- Callbacks will be invoked at least in the next message loop.
Then, the caller of FileSystemOperationRunner's methods can know OperationID
before the callback is invoked, and use it in callbacks.
BUG=279288
TEST=Ran unit_tests content_unittests
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|