DescriptionSyncFileSystem: Register origin only after the local-side initialization finishes successfully
Two reasons to do this:
- We should prevent LocalFileSystemService's RemoteChangeProcessor
methods from being called for origins that may not have been
initialized in the local side yet. (If we run the initialization
simultaneously it's not straightforward to disallow this)
- It's not easy to undo the RegisterOrigin if local-side's
initialization fails.
BUG=none
TEST=manual
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170716
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|