|
Bind a WebAPK to its "host" browser.
WebAPKs are now tied to the host browser which minted them. Introduces a
"runtimeHost" metadata field in the AndroidManifest for WebAPKs to track
parent.
Centralizes logic for retrieving the host browser in a new util class in
webapk common library. Logically this should've been just in the WebAPK
code, but LibraryLoader which is included in the host, can run insides
the WebAPK when initializing a renderer process.
Eventually this will allow us to enforce that only the host browser can
bind to the WebAPK
BUG= 524670
Total comments: 8
Total comments: 8
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+115 lines, -116 lines) |
Patch |
 |
A |
apk_minter/assets/MintingExample.template.apk
|
View
|
1
2
3
4
5
6
|
Binary file |
0 comments
|
Download
|
 |
M |
apk_minter/axml-enddec/src/com/axml/enddec/BinaryXML.java
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
apk_minter/axml-enddec/src/com/axml/enddec/BinaryXMLParser.java
|
View
|
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
apk_minter/src/org/chromium/apkminter/APKMinting.java
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java
|
View
|
|
3 chunks |
+4 lines, -25 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationHandler.java
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/tab/InterceptNavigationDelegateImpl.java
|
View
|
1
2
3
|
5 chunks |
+4 lines, -15 lines |
0 comments
|
Download
|
 |
M |
content/public/android/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/shell/android/shell_apk/AndroidManifest.xml.jinja2
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
web_apks/minting_example/AndroidManifest.xml
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
web_apks/minting_example/BUILD.gn
|
View
|
1
2
3
4
|
4 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
web_apks/minting_example/javatests/src/org/chromium/minting/DexLoaderTest.java
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
web_apks/minting_example/libs/client/org/chromium/minting/lib/client/NavigationClient.java
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
web_apks/minting_example/libs/common/org/chromium/minting/lib/common/WebAPKConstants.java
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
A |
web_apks/minting_example/libs/common/org/chromium/minting/lib/common/WebAPKUtils.java
|
View
|
1
2
3
4
5
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
M |
web_apks/minting_example/src/org/chromium/minting/DexLoader.java
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
web_apks/minting_example/src/org/chromium/minting/MainActivity.java
|
View
|
1
2
3
|
4 chunks |
+3 lines, -21 lines |
0 comments
|
Download
|
 |
M |
web_apks/minting_example/src/org/chromium/minting/MintingApplication.java
|
View
|
|
3 chunks |
+7 lines, -18 lines |
0 comments
|
Download
|
 |
M |
web_apks/minting_example/src/org/chromium/minting/MintingServiceFactory.java
|
View
|
1
2
3
4
5
6
|
3 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
Total messages: 12 (3 generated)
|