https://codereview.chromium.org/1230213004/diff/60001/content/renderer/background_sync/background_sync_client_impl.cc File content/renderer/background_sync/background_sync_client_impl.cc (right): https://codereview.chromium.org/1230213004/diff/60001/content/renderer/background_sync/background_sync_client_impl.cc#newcode34 content/renderer/background_sync/background_sync_client_impl.cc:34: mojo::ConvertTo<scoped_ptr<blink::WebSyncRegistration>>(registration); On 2015/07/20 18:40:22, iclelland wrote: > On 2015/07/17 ...
5 years, 5 months ago
(2015-07-20 18:46:25 UTC)
#9
https://codereview.chromium.org/1230213004/diff/60001/content/renderer/backgr...
File content/renderer/background_sync/background_sync_client_impl.cc (right):
https://codereview.chromium.org/1230213004/diff/60001/content/renderer/backgr...
content/renderer/background_sync/background_sync_client_impl.cc:34:
mojo::ConvertTo<scoped_ptr<blink::WebSyncRegistration>>(registration);
On 2015/07/20 18:40:22, iclelland wrote:
> On 2015/07/17 20:28:10, jkarlin wrote:
> > I think ConvertTo could return a blink::WebSyncRegistration without loss of
> > performance.
>
> The type converter is used in other places; is it worth chasing them all down
> for this CL?
Hmm, just the provider and the unit tests. Seems reasonably small. But you can
TODO it for another CL if you prefer.
5 years, 5 months ago
(2015-07-20 18:57:02 UTC)
#10
On 2015/07/20 18:46:25, jkarlin wrote:
>
https://codereview.chromium.org/1230213004/diff/60001/content/renderer/backgr...
> File content/renderer/background_sync/background_sync_client_impl.cc (right):
>
>
https://codereview.chromium.org/1230213004/diff/60001/content/renderer/backgr...
> content/renderer/background_sync/background_sync_client_impl.cc:34:
> mojo::ConvertTo<scoped_ptr<blink::WebSyncRegistration>>(registration);
> On 2015/07/20 18:40:22, iclelland wrote:
> > On 2015/07/17 20:28:10, jkarlin wrote:
> > > I think ConvertTo could return a blink::WebSyncRegistration without loss
of
> > > performance.
> >
> > The type converter is used in other places; is it worth chasing them all
down
> > for this CL?
>
> Hmm, just the provider and the unit tests. Seems reasonably small. But you can
> TODO it for another CL if you prefer.
Fair enough; I suppose I just thought it was out of scope. I'll go and improve
the codebase, as a side effect of this CL :)
Issue 1230213004: [Background Sync] Sent sync registration details to worker
(Closed)
Created 5 years, 5 months ago by iclelland
Modified 5 years, 5 months ago
Reviewers: jkarlin, michaeln
Base URL: https://chromium.googlesource.com/chromium/src.git@bgsync-event-mek
Comments: 11