Prepare BrowsingDataServiceWorkerHelper for UI thread core.
The thread ServiceWorkerContextCore lives on (the "core thread") will move from the IO thread to the UI thread when ServiceWorkerOnUI is enabled. This makes BrowsingDataServiceWorkerHelper aware of the core thread rather than assuming the IO thread. This enables unit_test "CannedBrowsingDataServiceWorkerHelperTest.*" to pass. Bug: 824858 Change-Id: I6c7e7db1bb0c5f7b9691fef51947304280ad3143 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1795528Reviewed-by:Martin Šrámek <msramek@chromium.org> Commit-Queue: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#695141}
Showing
Please register or sign in to comment