Index: chrome/browser/chromeos/gdata/gdata_file_system.h |
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.h b/chrome/browser/chromeos/gdata/gdata_file_system.h |
index e9fa58408b03405619b8b81382e038d4c021b78d..deab8722d84928f3130e70691f6e252efbb9f84a 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h |
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h |
@@ -557,6 +557,12 @@ class GDataFileSystem : public GDataFileSystemInterface, |
GDataEntry* entry, |
std::set<FilePath>* changed_dirs); |
+ // Callback for GetEntryByResourceIdAsync. |
+ // Removes stale entry upon upload of file. |
+ static void RemoveStaleEntryOnUpload(const std::string& resource_id, |
+ GDataDirectory* parent_dir, |
+ GDataEntry* existing_entry); |
+ |
// Finds directory where new |file| should be added to during feed processing. |
// |orphaned_entries_dir| collects files/dirs that don't have a parent in |
// either locally cached file system or in this new feed. |