[Top Domains] Permit top 500 list to be... less than 500 domains.
This CL makes some small changes to allow the top 500 list to be less than 500 domains long. This allows us to remove domains that should no longer be in the list without having to regenerate the whole thing. This CL also incidentally fixes a bug wherein some domains were treated as top-500 domains even though they weren't. This CL keeps some statically-defined variables that are defined in a generated .cc file as having 500 entries, even though they actually have fewer than that. This prevents us from having to regenerate the header file as well, but eventually that's the right answer. I'm hoping we can merge this CL to M84, which necessitates simplicity and safety over elegance. Bug: 1083489,1083487 Change-Id: I45a5425cd4a8c4a9135d6f723b08d628f164f7df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2204554 Commit-Queue: Joe DeBlasio <jdeblasio@chromium.org> Reviewed-by:Mustafa Emre Acer <meacer@chromium.org> Cr-Commit-Position: refs/heads/master@{#769507}
Showing
Please register or sign in to comment