Commit 30c787ad authored by Kent Tamura's avatar Kent Tamura Committed by Commit Bot

Add a comment to WTF::ParseDateFromNullTerminatedCharacters()

This CL has no behavior changes.

TBR=yhirano@chromium.org, yutak@chromium.org

Change-Id: I7d1a16b5760a20a3fd7e685aa248a28978fac491
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1564273Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#649834}
parent 81b6e6f8
......@@ -53,6 +53,11 @@ namespace WTF {
// Not really math related, but this is currently the only shared place to put
// these.
//
// TODO(tkent): Only blink::ParseDate() uses this function to parse HTTP
// header values. net::HTTPResponseHeaders::GetTimeValuedHeader() uses
// base::Time::FromUTCString() for the same purpose. We should consider
// switching to base::Time::FromUTCString() for consistency.
WTF_EXPORT double ParseDateFromNullTerminatedCharacters(
const char* date_string);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment