| Index: net/cookies/canonical_cookie.h
|
| diff --git a/net/cookies/canonical_cookie.h b/net/cookies/canonical_cookie.h
|
| index a2b366ddd619724ffe63c3750db0077aeead6b00..6b08eda16fab6059ace23e056f1659ba6552f0f5 100644
|
| --- a/net/cookies/canonical_cookie.h
|
| +++ b/net/cookies/canonical_cookie.h
|
| @@ -144,6 +144,10 @@ class NET_EXPORT CanonicalCookie {
|
| // FullCompare() are also sorted with respect to PartialCompare().
|
| bool FullCompare(const CanonicalCookie& other) const;
|
|
|
| + // Return whether this object is a valid CanonicalCookie(). Invalid
|
| + // cookies may be constructed by the detailed constructor.
|
| + bool IsCanonical() const;
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(CanonicalCookieTest, TestPrefixHistograms);
|
|
|
|
|