[Suggested files] Several misc fixes.
- Increases the max response size to 1MB. 10KB was too small, and valid responses were being ignored. - Removes the `type_detail_fields` in the request. I may re-add this later once we have a good idea of what fields we want to filter. - Adds TODOs for error metrics in drive_zero_state_provider. - Fixes how the FilePathOrErrorPtr is used in OnFilePathsLocated. Calling get_error() isn't valid unless is_error(). - Reparents result file paths into the Drive mount. It turns out the LocateFilesByItemIds only returns paths relative to the root of the user's drive fs mount, so we need to prepend the location of the mount itself. This is copied from drive_quick_access_provider. - If suggested files is enabled, create chip results. Bug: 1034842 Change-Id: I1aa8aad4b313a9e15af7beb1a6346bb00e1ba98d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2434596 Commit-Queue: Tony Yeoman <tby@chromium.org> Reviewed-by:Rachel Wong <wrong@chromium.org> Cr-Commit-Position: refs/heads/master@{#811591}
Showing
Please register or sign in to comment