Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: net/cookies/cookie_util.h

Issue 10785017: Move CanonicalCookie into separate files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing include Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698