net: Add a comment explaining a precondition to SetHeaderIfMissing
http://crrev.com/c/2270354 added a comment to net::HttpRequestHeaders::SetHeader explaining that the caller needs to guarantee that both arguments satisfy validity preconditions. This change copies the comment to SetHeaderIfMissing, which enforces the same preconditions. R=mmenke Bug: 1105745 Change-Id: I11c2c9e8329c349b3cd77c3dd673fc96ea34612e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300603 Auto-Submit: David Van Cleve <davidvc@chromium.org> Reviewed-by:Matt Menke <mmenke@chromium.org> Commit-Queue: David Van Cleve <davidvc@chromium.org> Cr-Commit-Position: refs/heads/master@{#788893}
Showing
Please register or sign in to comment