| Index: net/base/cookie_monster.h
|
| diff --git a/net/base/cookie_monster.h b/net/base/cookie_monster.h
|
| index fef0e8fc1224f6b9d90aea45f6b3a431c0dcb46b..c9e48d753c30dea7429236c08f9d8d777be59f25 100644
|
| --- a/net/base/cookie_monster.h
|
| +++ b/net/base/cookie_monster.h
|
| @@ -265,6 +265,10 @@ class CookieMonster::ParsedCookie {
|
| bool IsSecure() const { return secure_index_ != 0; }
|
| bool IsHttpOnly() const { return httponly_index_ != 0; }
|
|
|
| + // Return the number of attributes, for example, returning 2 for:
|
| + // "BLAH=hah; path=/; domain=.google.com"
|
| + size_t NumberOfAttributes() const { return pairs_.size() - 1; }
|
| +
|
| // For debugging only!
|
| std::string DebugString() const;
|
|
|
|
|