diff options
author | chasej <chasej@chromium.org> | 2015-10-19 19:52:50 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-20 02:53:35 +0000 |
commit | f993b733666c5c3664889be5c61b65f3f48b222d (patch) | |
tree | 689c887706e0f245f31ec13d3e8409c2da3717c6 /content/child/threaded_data_provider.h | |
parent | 8b060a56ea1303e48ecf1a28bbdd7bd9d8f57a43 (diff) | |
download | chromium_src-f993b733666c5c3664889be5c61b65f3f48b222d.zip chromium_src-f993b733666c5c3664889be5c61b65f3f48b222d.tar.gz chromium_src-f993b733666c5c3664889be5c61b65f3f48b222d.tar.bz2 |
Use mojo to connect to BackgroundSyncManager object
Removes the BackgroundSyncProviderThreadProxy class, and the manual hopping from workers to the main thread. The proxy class was passing WebStrings across threads, which aren't thread-safe.
With mojo connections, it lets mojo handle the thread hopping more efficiently, and the mojo structs passed are thread-safe.
Tested using https://jakearchibald.github.io/isserviceworkerready/demos/sync/, as well as new browser tests.
BUG=527601
Review URL: https://codereview.chromium.org/1358063004
Cr-Commit-Position: refs/heads/master@{#354963}
Diffstat (limited to 'content/child/threaded_data_provider.h')
0 files changed, 0 insertions, 0 deletions