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

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

Issue 10834093: gdata: Make RemoveEntry/TakeEntry/TakeOverEntries private (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698