[WebAPKs] Compute the default scope from the manifest start URL.
This CL changes how the scope is computed if the scope is unspecified in the Android Manifest. We used to compute the default scope based on the "URL the WebAPK navigates to when launched." Deep links can open a WebAPK at an arbirtrary URL. This CL changes the computation to be based on the Web Manifest start URL. This change enables cleaning up ManifestUpgradeDetectorFetcher#onDataAvailable(). We can now create the fetched WebApkInfo using the current WebAPK's WebApkInfo#uri(). BUG=639536 Review-Url: https://codereview.chromium.org/2548333006 Cr-Commit-Position: refs/heads/master@{#437785}
Showing
Please register or sign in to comment