Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6184)

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system.cc

Issue 10441086: Very minor typo fixes for GData/FileAPI code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/gdata/gdata_file_system.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.cc b/chrome/browser/chromeos/gdata/gdata_file_system.cc
index 1a9f78bc81ba7447422d08b385530c2f0ca4d948..1bb6ab008727ada8e945a0dcc19f4f443265a00b 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.cc
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.cc
@@ -447,7 +447,7 @@ void RemoveEntryFromDirectoryAndCollectChangedDirectories(
// Helper function for adding new |file| from the feed into |directory|. It
// checks the type of file and updates |changed_dirs| if this file adding
-// opertation needs to raise directory notification update. If file is being
+// operation needs to raise directory notification update. If file is being
// added to |orphaned_entries_dir| such notifications are not raised since
// we ignore such files and don't add them to the file system now.
void AddEntryToDirectoryAndCollectChangedDirectories(
@@ -967,7 +967,7 @@ GDataFileSystem::GetFileFromCacheParams::GetFileFromCacheParams(
GDataFileSystem::GetFileFromCacheParams::~GetFileFromCacheParams() {
}
-// GDataFileSystem class implementatsion.
+// GDataFileSystem class implementation.
GDataFileSystem::GDataFileSystem(Profile* profile,
DocumentsServiceInterface* documents_service)
@@ -2649,7 +2649,7 @@ void GDataFileSystem::OnRequestDirectoryRefresh(
// Remove the existing files.
directory->RemoveChildFiles();
- // Go through all entires generated by the feed and add files.
+ // Go through all entries generated by the feed and add files.
for (FileResourceIdMap::const_iterator it = file_map.begin();
it != file_map.end(); ++it) {
scoped_ptr<GDataEntry> entry(it->second);
@@ -3692,7 +3692,7 @@ void GDataFileSystem::ApplyFeedFromFileUrlMap(
scoped_ptr<GDataRootDirectory> orphaned_entries_dir(
new GDataRootDirectory);
- // Go through all entires generated by the feed and apply them to the local
+ // Go through all entries generated by the feed and apply them to the local
// snapshot of the file system.
for (FileResourceIdMap::iterator it = file_map->begin();
it != file_map->end();) {
@@ -4854,7 +4854,7 @@ void GDataFileSystem::CommitDirtyInCacheOnIOThreadPool(
}
// If a file is not dirty (it should have been marked dirty via
- // MarkDirtyInCache), commiting it dirty is an invalid operation.
+ // MarkDirtyInCache), committing it dirty is an invalid operation.
if (!cache_entry->IsDirty()) {
LOG(WARNING) << "Can't commit a non-dirty file: res_id="
<< resource_id
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_file_system.h ('k') | chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698