Index: net/cookies/parsed_cookie.h |
diff --git a/net/cookies/parsed_cookie.h b/net/cookies/parsed_cookie.h |
index 6f8e4ef72012a1b05bc5b41e4377f1ce5a977dd3..358561d659c0f843686673a78f8e60dcfd2d2948 100644 |
--- a/net/cookies/parsed_cookie.h |
+++ b/net/cookies/parsed_cookie.h |
@@ -9,6 +9,7 @@ |
#include <vector> |
#include "base/basictypes.h" |
+#include "base/time.h" |
#include "net/base/net_export.h" |
namespace net { |
@@ -86,6 +87,9 @@ class NET_EXPORT ParsedCookie { |
static std::string ParseTokenString(const std::string& token); |
static std::string ParseValueString(const std::string& value); |
+ // Parses the string with the cookie time (very forgivingly). |
+ static base::Time ParseCookieTime(const std::string& time_string); |
+ |
private: |
static const char kTerminator[]; |
static const int kTerminatorLen; |