[Android][Passwords] Map JNI tasks to backend replies Java can't hold or call C++ callbacks via JNI (as far as I know). Therefore, this CL introduces a mapping from TaskIds to callbacks that are called upon creation of a JNI task. Since each Task only needs a callback, a variant allows to store exactly the one that will be called afterwards. It is most-likely that the data filtering happens on the java side and therefore, other parameters won't be necessary. Other native post-processing steps can be bound as callback as well. Bug: 1229654, 1229655 Change-Id: I483469e91b159d4aa38d0baf1114c7a52d32530b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3046191 Commit-Queue: Friedrich [CET] <fhorschig@chromium.org> Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#907099}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.