diff options
author | gavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-03 12:32:14 +0000 |
---|---|---|
committer | gavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-03 12:32:14 +0000 |
commit | a2c92a1c2ec5dac7671b0bf100fe1f3b27c71f8e (patch) | |
tree | f3787c1f22d263aa533cbe0f094440da1349e2bf /net/cookies | |
parent | 6a19b257d4d6f9b98f754af68cd630242b3c8782 (diff) | |
download | chromium_src-a2c92a1c2ec5dac7671b0bf100fe1f3b27c71f8e.zip chromium_src-a2c92a1c2ec5dac7671b0bf100fe1f3b27c71f8e.tar.gz chromium_src-a2c92a1c2ec5dac7671b0bf100fe1f3b27c71f8e.tar.bz2 |
Fix some grammar in comments, error messages and documentation.
Thanks to all my reviewers, you are legion. I hope I didn't waste too
much of your time.
BUG=None
Review URL: http://codereview.chromium.org/9854039
Review URL: http://codereview.chromium.org/9854043
Review URL: http://codereview.chromium.org/9863058
Review URL: http://codereview.chromium.org/9863059
Review URL: http://codereview.chromium.org/9887005
Review URL: http://codereview.chromium.org/9890002
Review URL: http://codereview.chromium.org/9891002
Review URL: http://codereview.chromium.org/9895003
Review URL: http://codereview.chromium.org/9896002
Review URL: http://codereview.chromium.org/9896003
Review URL: http://codereview.chromium.org/9897002
Review URL: http://codereview.chromium.org/9897003
Review URL: http://codereview.chromium.org/9903004
Review URL: http://codereview.chromium.org/9904003
Review URL: http://codereview.chromium.org/9904002
Review URL: http://codereview.chromium.org/9904004
Review URL: http://codereview.chromium.org/9906002
Review URL: http://codereview.chromium.org/9906001
Review URL: http://codereview.chromium.org/9906003
Review URL: http://codereview.chromium.org/9909001
Review URL: http://codereview.chromium.org/9909002
Review URL: http://codereview.chromium.org/9909003
Review URL: http://codereview.chromium.org/9909004
Review URL: http://codereview.chromium.org/9910001
Review URL: http://codereview.chromium.org/9910002
Review URL: http://codereview.chromium.org/9910010
Review URL: http://codereview.chromium.org/9911001
Review URL: http://codereview.chromium.org/9912001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/cookies')
-rw-r--r-- | net/cookies/cookie_monster.cc | 5 | ||||
-rw-r--r-- | net/cookies/cookie_monster.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/net/cookies/cookie_monster.cc b/net/cookies/cookie_monster.cc index 8a609d8..63eff03 100644 --- a/net/cookies/cookie_monster.cc +++ b/net/cookies/cookie_monster.cc @@ -2667,8 +2667,9 @@ bool CookieMonster::CanonicalCookie::IsOnPath( if (path_.empty()) return false; - // The Mozilla code broke it into 3 cases, if it's strings lengths - // are less than, equal, or greater. I think this is simpler: + // The Mozilla code broke this into three cases, based on if the cookie path + // was longer, the same length, or shorter than the length of the url path. + // I think the approach below is simpler. // Make sure the cookie path is a prefix of the url path. If the // url path is shorter than the cookie path, then the cookie path diff --git a/net/cookies/cookie_monster.h b/net/cookies/cookie_monster.h index b23dcfb..f648566 100644 --- a/net/cookies/cookie_monster.h +++ b/net/cookies/cookie_monster.h @@ -804,7 +804,7 @@ class CookieMonster::Delegate // Will be called when a cookie is added or removed. The function is passed // the respective |cookie| which was added to or removed from the cookies. // If |removed| is true, the cookie was deleted, and |cause| will be set - // to the reason for it's removal. If |removed| is false, the cookie was + // to the reason for its removal. If |removed| is false, the cookie was // added, and |cause| will be set to CHANGE_COOKIE_EXPLICIT. // // As a special case, note that updating a cookie's properties is implemented |