gdata: Various comment fixes (mostly typos).
BUG=none
Review URL: https://chromiumcodereview.appspot.com/10821124
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149389 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/chromeos/gdata/gdata_cache.cc b/chrome/browser/chromeos/gdata/gdata_cache.cc
index 7558f7c..889f7720 100644
--- a/chrome/browser/chromeos/gdata/gdata_cache.cc
+++ b/chrome/browser/chromeos/gdata/gdata_cache.cc
@@ -69,7 +69,7 @@
// bytes, while keeping kMinFreeSpace bytes on the disk.
bool HasEnoughSpaceFor(int64 num_bytes) {
int64 free_space = GetAmountOfFreeDiskSpace();
- // Substract this as if this portion does not exist.
+ // Subtract this as if this portion does not exist.
free_space -= kMinFreeSpace;
return (free_space >= num_bytes);
}
@@ -95,7 +95,7 @@
}
// Remove all files under the given directory, non-recursively.
-// Do not remove recursively as we don't want to touch <gache>/tmp/downloads,
+// Do not remove recursively as we don't want to touch <gcache>/tmp/downloads,
// which is used for user initiated downloads like "Save As"
void RemoveAllFiles(const FilePath& directory) {
using file_util::FileEnumerator;