Index: net/cookies/cookie_util.h |
diff --git a/net/cookies/cookie_util.h b/net/cookies/cookie_util.h |
index 39cf78622b5af719df6c5844c8306eac6ebe7b3b..1475cd5c1d818060f2d01ab9a772b0660f66654c 100644 |
--- a/net/cookies/cookie_util.h |
+++ b/net/cookies/cookie_util.h |
@@ -7,6 +7,7 @@ |
#include <string> |
+#include "base/time.h" |
#include "net/base/net_export.h" |
class GURL; |
@@ -33,6 +34,9 @@ NET_EXPORT bool GetCookieDomainWithString(const GURL& url, |
// i.e. it doesn't begin with a leading '.' character. |
NET_EXPORT bool DomainIsHostOnly(const std::string& domain_string); |
+// Parses the string with the cookie time (very forgivingly). |
+NET_EXPORT base::Time ParseCookieTime(const std::string& time_string); |
+ |
} // namspace cookie_util |
} // namespace net |