Minor fixes using Snapshot API

- Changed the browser code to use the asynchronous API for
  getting the snapshot ids.

Change-Id: I3ea2eccba56344e55ce6a19735403c34b54ad651
1 file changed