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

Unified Diff: net/cookies/parsed_cookie.h

Issue 2898953008: Implement and test CanonicalCookie::IsCanonical() (Closed)
Patch Set: Removed vestigial code. Created 3 years, 6 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
« no previous file with comments | « net/cookies/cookie_store_unittest.h ('k') | net/cookies/parsed_cookie.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cookies/parsed_cookie.h
diff --git a/net/cookies/parsed_cookie.h b/net/cookies/parsed_cookie.h
index 5e6f615e2aa096330253a302a11542f67eb97306..8bc5e99b67896ffe2e67ea30315dda9ac2c84c2e 100644
--- a/net/cookies/parsed_cookie.h
+++ b/net/cookies/parsed_cookie.h
@@ -103,6 +103,9 @@ class NET_EXPORT ParsedCookie {
static std::string ParseTokenString(const std::string& token);
static std::string ParseValueString(const std::string& value);
+ // Is the string valid as the value of a cookie attribute?
+ static bool IsValidCookieAttributeValue(const std::string& value);
+
private:
void ParseTokenValuePairs(const std::string& cookie_line);
void SetupAttributes();
« no previous file with comments | « net/cookies/cookie_store_unittest.h ('k') | net/cookies/parsed_cookie.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698