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 | |
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')
-rw-r--r-- | net/base/upload_data.h | 2 | ||||
-rw-r--r-- | net/cookies/cookie_monster.cc | 5 | ||||
-rw-r--r-- | net/cookies/cookie_monster.h | 2 | ||||
-rw-r--r-- | net/data/proxy_resolver_perftest/no-ads.pac | 4 | ||||
-rw-r--r-- | net/tools/flip_server/balsa_visitor_interface.h | 2 |
5 files changed, 8 insertions, 7 deletions
diff --git a/net/base/upload_data.h b/net/base/upload_data.h index 3bfd427..abc1c19 100644 --- a/net/base/upload_data.h +++ b/net/base/upload_data.h @@ -39,7 +39,7 @@ class NET_EXPORT_PRIVATE ChunkCallback { // // Until there is a more abstract class for this, this one derives from // SupportsUserData to allow users to stash random data by -// key and ensure it's destruction when UploadData is finally deleted. +// key and ensure its destruction when UploadData is finally deleted. class NET_EXPORT UploadData : public base::RefCounted<UploadData>, public base::SupportsUserData { 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 diff --git a/net/data/proxy_resolver_perftest/no-ads.pac b/net/data/proxy_resolver_perftest/no-ads.pac index f91346c..e55fa0f 100644 --- a/net/data/proxy_resolver_perftest/no-ads.pac +++ b/net/data/proxy_resolver_perftest/no-ads.pac @@ -92,7 +92,7 @@ var bypass = normal; // 1. Save this as a file (no-ads.pac) on your local disk // (or, add it to your home page, if you have one) // 2. Select a no-ads "blackhole". -// 3. Configure your browser to use this file as it's auto proxy configuration. +// 3. Configure your browser to use this file as its auto proxy configuration. // 4. Clear your browser's cache // (or else it may still show you ads it has saved on your disk). // @@ -196,7 +196,7 @@ var bypass = normal; // 3421 stream tcp nowait nobody /usr/local/lib/noproxy noproxy // // This simple script doesn't work on Linux because of the -// (IMHO) broken way it's TCP stack works. See the bottom of +// (IMHO) broken way its TCP stack works. See the bottom of // http://www.schooner.com/~loverso/no-ads/ for a complete copy // of the `noproxy' shell script. // diff --git a/net/tools/flip_server/balsa_visitor_interface.h b/net/tools/flip_server/balsa_visitor_interface.h index 393d4f7..e82117e 100644 --- a/net/tools/flip_server/balsa_visitor_interface.h +++ b/net/tools/flip_server/balsa_visitor_interface.h @@ -26,7 +26,7 @@ class BalsaVisitorInterface { // Summary: // This is how the BalsaFrame passes you the raw input which it knows to // be a part of the body. To be clear, every byte of the Balsa which isn't - // part of the header (or it's framing), or trailers will be passed through + // part of the header (or its framing), or trailers will be passed through // this function. This includes data as well as chunking framing. // Arguments: // input - contains the bytes available for read. |