Descriptiondrive: Switch Drive mount path to per-profile one.
This is for fully supporting multi-profile in Files.app.
Drive folder from different profiles need to have different paths.
The change includes:
- Change mount path from /special/drive to /special/drive-<user-id-hash>.
Stored settings (like Download path) are migrated by MigratePathFromOldFormat.
- Profile extraction function from the above path format that
will be used in next patch. (I included the function in the current
patch to emphasize that the new path format is intended for
this type of use.)
- Change mount point name from drive to drive-<user-id-hash>
- Mount point is added to the system global instance, not
the per-profile ones (otherwise cross-profile copy is impossible.)
BUG=336123
R=hashimoto@chromium.org, hirono@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248848
Patch Set 1 : #
Total comments: 2
Patch Set 2 : Review fix. #
Messages
Total messages: 20 (0 generated)
|