New issue
Advanced search Search tips

Issue 607661 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Offline Pages: port omnibox UI to async APIs

Project Member Reported by dewittj@chromium.org, Apr 28 2016

Issue description

As part of the Offline Pages API project, we are making our model asynchronous.  The omnibox uses sync APIs provided by Tab.java and TabAndroid.

The following APIs are used:

Tab#isOfflinePage
Tab#getOfflinePageOriginalUrl

These will need to be updated to support the asynchronous offline model.  Note that because navigation to an offline page will require the model being loaded, we may be able to ensure that the value is always cached in memory, so the APIs themselve may not need to be made async.

 
Cc: -fgor...@chromium.org
Labels: OS-Android
Owner: fgor...@chromium.org
Status: Assigned (was: Untriaged)
Since I am already working on it.
Status: Fixed (was: Assigned)
Omnibox UI was converted in 2 steps:
1. Offline page tab helper holds the offline page item
2. Offline page interceptor populate the offline page tab helper asynchronously

Omnibox uses the cached offline page item.
Original URL is the only relevant URL and no file:// substitution is necessary.

Sign in to add a comment