Descriptionrlz: get rid of the call to AppendHeaderIfMissing()
When |rlz_string| is non-empty, we can build the header and simply
return it ourselves.
This will help us to fix the Darin's TODO in HttpUtil to remove
HasHeader() method.
BUG=None
TEST=components_unittests
R=mmenke@chromium.org,rogerta@chromium.org
Review-Url: https://codereview.chromium.org/2621843002
Cr-Commit-Position: refs/heads/master@{#442616}
Committed: https://chromium.googlesource.com/chromium/src/+/451a66360d2cea9161108d8ebf7f19555e6a07a0
Patch Set 1 #Patch Set 2 : include stringprintf.h #Patch Set 3 : REBASE #Patch Set 4 : compile #Messages
Total messages: 20 (15 generated)
|