Use 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 Review URL: https://chromiumcodereview.appspot.com/13767002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192962 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment