DescriptionUse ExtractDrivePath(path()) instead of virtual_path() for getting Drive path.
FileSystemURL::virtual_path is a superficial path specified by the user of
FileSystem API. It does not necessarily denote the 'virtual path' of Drive
files like drive/foo.txt, when the Drive filesystem is mounted onto of
another filesystem (e.g., onto an isolated filesystem). Basically,
virtual_path() should never be directly used inside the Drive filesystem.
BUG=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192962
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add more comprehensive tests. #
Total comments: 6
Patch Set 3 : Use GetDriveMountPointPath() #
Messages
Total messages: 7 (0 generated)
|