It seems to me like there's no good reason to use Passed now that we have OnceCallback. If using BindOnce, we can use std::move instead (and this is probably more intuitive/readable for people new to Chromium). If using BindRepeating with Passed, the callback can only be called once, so BindOnce should be used instead. There may be some old APIs which take RepeatingCallbacks but promise to only call them once, and in that case using Passed is at the discretion of the CL author and reviewers, but refactoring the API to work with OnceCallback should be preferred. A previous similar discussion seems to arrive at the same conclusions: https://groups.google.com/a/chromium.org/forum/#!topic/cxx/KXWZtoP5HJ4.I put a CL updating callback.md up for discussion at https://chromium-review.googlesource.com/c/chromium/src/+/919066.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/abdff810-4359-41a5-8aa9-cd596c784bf5%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAF3XrKoYTyCw-k6r51bTvjikmSJDk%3D3bETGP%2BMttgDWKaDzZ%3Dw%40mail.gmail.com.
I have done some broader refactoring based on this suggestion... Waiting for someone to take it upon themselves to have a look on my changes.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/4d454c44-8b1c-4f56-a067-36e8f48ce549%40chromium.org.
Hello Avi,This was sitting in crbug.com on the available category, so that's why I started working on it. I also put a comment on the ticket when I started working. Finally, I did add the owner of the request as the reviewer as soon as I submitted the code. Is there something I'm missing about what I'm supposed to do?
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/29eccd40-058a-4d1b-a31d-e4b51b8924e1%40chromium.org.
Sorry, I misunderstood what you said, but yea, I did follow that process.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/0dd775a8-c05f-4cb2-9037-f896a20b9c03%40chromium.org.