|
Support content scheme uri for Chrome on Android
Android uses content scheme to store files and ensure permission checks.
For example, the downloaded files are stored as content://downloads/all_downloads/123.
However, chrome currently cannot handle url requests for content uri.
As a result, chrome can save html pages to sdcard, but cannot open it.
This change adds the content scheme support for chrome on android.
BUG= 433011
Committed: https://crrev.com/120a15519703dfe8601596f1f436a322ea0a2aff
Cr-Commit-Position: refs/heads/master@{#305772}
Total comments: 23
Total comments: 15
Total comments: 1
Total comments: 27
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+763 lines, -18 lines) |
Patch |
|
M |
base/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
base/android/content_uri_utils.h
|
View
|
1
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
base/android/content_uri_utils.cc
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
A |
base/android/content_uri_utils_unittest.cc
|
View
|
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/android/java/src/org/chromium/base/ContentUriUtils.java
|
View
|
1
2
3
|
6 chunks |
+29 lines, -13 lines |
0 comments
|
Download
|
|
M |
base/base.gyp
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_io_data.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/android/content_protocol_handler_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/android/content_protocol_handler_impl.cc
|
View
|
1
2
3
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/android/url_request_content_job.h
|
View
|
1
2
3
4
|
1 chunk |
+103 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/android/url_request_content_job.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+228 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/android/url_request_content_job_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+198 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/content_browser.gypi
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/content_tests.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
content/public/browser/android/content_protocol_handler.h
|
View
|
1
2
3
4
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
|
A + |
content/test/data/android/red.png
|
View
|
1
2
3
|
Binary file |
0 comments
|
Download
|
|
M |
content/test/run_all_unittests.cc
|
View
|
1
2
3
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
url/url_constants.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
url/url_constants.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 40 (9 generated)
|