Makes the OfflinePageBridge.getAllPages method asynchronous.
This does not actually make the operation asynchronous on the native
side, but posts a task to the UI thread to ensure that callers expect a fully asynchronous operation.
Making this method async has a number of implications:
* Offline page storage space classes used to be synchronous. Now the policy uses an async create method, and returns an immutable policy object that can answer questions about the state of the world when it was created.
* The bookmarks UI used to get the list of bookmarks in the same stack as the fiter changed event. This is now asynchronous and clears all the bookmarks from view until the list is done loading.
BUG=
589526
Committed:
https://crrev.com/7c0ba2fd24cb3c7b6e47eccfc8405e96fa3bb09b
Cr-Commit-Position: refs/heads/master@{#386494}