[Sharesheet] Add share to drive action in sharesheet.
This CL adds the share to drive action in sharesheet for files in Google Drive. Currently, for files in the Google Drive folder, there is an option to "Share with others" to give permission to others to access the file in the drive. Now we are migrating this functionality to sharesheet by adding a drive_share_action. This action should show in sharesheet with the same condition that the Share with others option available. To get the required drive information, we need to get drive properties from file system URL, therefore, I moved the private SingleEntryPropertiesGetterForDriveFs class to util so that both private_api_drive and private_api_sharesheet can use this getter to get the drive properties. BUG=1097623 Change-Id: I5701ddd6fdd17c21497061dd2755e92d7616369b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2400580Reviewed-by:Dominick Ng <dominickn@chromium.org> Reviewed-by:
Luciano Pacheco <lucmult@chromium.org> Reviewed-by:
Melissa Zhang <melzhang@chromium.org> Commit-Queue: Maggie Cai <mxcai@chromium.org> Cr-Commit-Position: refs/heads/master@{#806070}
Showing
Please register or sign in to comment