Expose client hints as a keyed service
Instead of static class, expose client hints as a keyed service. Next CL would add a new abstract class client_hints_controller in //content, and make client hints in //chrome, a derived class of the client_hints_controller. This would allow content to directly call the methods to determine which client hint headers should be added. Change-Id: I8971e77a23dd49f2f25ba8036ca8ea76c24ca2a4 Bug: 875703 Reviewed-on: https://chromium-review.googlesource.com/c/1368208 Commit-Queue: Tarun Bansal <tbansal@chromium.org> Reviewed-by:Tarun Bansal <tbansal@chromium.org> Reviewed-by:
Ryan Sturm <ryansturm@chromium.org> Cr-Commit-Position: refs/heads/master@{#615826}
Showing
Please register or sign in to comment