Avoid showing the user a garbage path attribute when the cookie doesn't have an
explicit path set.  This CL also ensures that we set the expiry info properly.

This means using CanonPath and CanonExpiration from cookie_monster.cc.  Instead
of exposing those methods, I just expose a CanonicalCookie constructor that
takes a ParsedCookie.

R=pkasting
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/597031

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38984 0039d316-1c4b-4281-b951-d872f2087c98
6 files changed