Refactoring: replace map with vector in FormPredictions. This is pure refactoring, is replacing using FormPredictions = std::map<uint32_t, PasswordFieldPrediction>; with using FormPredictions = std::vector<PasswordFieldPrediction>. It simplifies code a little bit, and anyway the access is done with range based loop. The main point of this refactoring is that struct PasswordFieldPrediction will be extended with names for iOS in the following CL. Bug: 831123 Change-Id: I3cab46155ef4280ef0c413bfae740445f16f0ce1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1564159 Reviewed-by: Maxim Kolosovskiy <kolos@chromium.org> Commit-Queue: Vadym Doroshenko <dvadym@chromium.org> Cr-Commit-Position: refs/heads/master@{#649897}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .