android: fixs access to BookmarkModel from DataProvider
DataProvider::Query() is called from a background thread. BookmarkModel isn't thread safe, and shouldn't be used from a background thread. This code should go through bookmarks::ModelLoader and bookmarks::HistoryBookmarkModel, which are thread safe. BUG=1032172 TEST=none Change-Id: I97dd97daed79d64e7ad28b3aa37bfadc0b7d9899 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1961216Reviewed-by:Donn Denman <donnd@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#723661}
Showing
Please register or sign in to comment