commit | b0dba21740709d5a0732892a59e882ca905da6ee | [log] [tgz] |
---|---|---|
author | Dan Beam <dbeam@chromium.org> | Sat Apr 20 03:25:19 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Apr 20 03:25:19 2019 |
tree | 1d0a207e90218a846a80b16e1cfc92b54021685b | |
parent | eb0b681bac0f283e72146d861b4feccf034b9afd [diff] |
Use a more common and easily parsed format for chrome://fileicon Instead of using custom dir/like/things, let's use the more standard: ?param1=val1¶m2=val2 Because it allows us to use URLSearchParams[1] in JS: url.searchParams.set('param1', 'val1'); And net::QueryIterator in C++: for (net::QueryIterator it(url); !it.IsAtEnd(); it.Advance()) { // use it.GetKey() and it.GetValue() } R=dpapad@chromium.org BUG=953962 [1] https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams Change-Id: I708ae3349d826793b5d1dbd6e1c1683e08ce254e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1574373 Commit-Queue: Dan Beam <dbeam@chromium.org> Auto-Submit: Dan Beam <dbeam@chromium.org> Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#652739}
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 .