Pass through content URI when we have one.
Sometimes offline pages are displayed from a content URI instead of opening a file from our offline page store. The user might then press the "share" menu. When they do, we should use the content URI to share the page by instead of using a file path (since we have no file path). This change will pass back the content URI instead of just disabling sharing. Unit tests are included. Bug: 817608 Change-Id: I1d788a83de3aafe978b37374ec22d77ad328b59d Reviewed-on: https://chromium-review.googlesource.com/962990 Commit-Queue: Peter Williamson <petewil@chromium.org> Reviewed-by:Jian Li <jianli@chromium.org> Cr-Commit-Position: refs/heads/master@{#545115}
Showing
Please register or sign in to comment