Remove origins from the BackgroundFetchService interface messages.
Move registration of the BackgroundFetchService interface from RenderProcessHost to RendererInterfaceBinders so its implementation can receive a browser-tracked origin for its renderer-process client. Add support for move-only types to base::AutoReset. Use it in the BackgroundFetchServiceImpl test to swap in a service instance with a different origin for the part of the test that previously passed a different origin to the mojo interface. Bug: 779444 Change-Id: I68737625cb5cd0a2843eeb46643aad3b4f852d8c Reviewed-on: https://chromium-review.googlesource.com/788641Reviewed-by:Peter Beverloo <peter@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Sam McNally <sammc@chromium.org> Cr-Commit-Position: refs/heads/master@{#523661}
Showing
Please register or sign in to comment