The OfflineContentProvider::GetAllItems and OfflineContentProvider::GetItemById calls can be async and take a callback as param. That would help us not to maintain a cache of items throughout the lifetime of chrome.
Cc: dtrainor@chromium.org fgor...@chromium.org Owner: shaktisahu@chromium.org Summary: Offline content provider : Make the API async for Get() calls (was: Offline content provider : Make the API async for Get calls)
Comment 1 by shaktisahu@chromium.org
, Oct 10 2017Owner: shaktisahu@chromium.org
Summary: Offline content provider : Make the API async for Get() calls (was: Offline content provider : Make the API async for Get calls)