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

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

Issue 10790126: gdata: Remove use of GetGDataEntryByPath() from Rename (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
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 fdd3f821a23d67d55c1d97ee8c485da72cb11a34..254ed2b2aaa1513701a9314c0a157db8b16aa448 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h
@@ -359,6 +359,13 @@ class GDataFileSystem : public GDataFileSystemInterface,
const FilePath::StringType& new_name,
const FilePathUpdateCallback& callback);
+ // Part of Rename(). Called after GetEntryInfoByPath() is complete.
+ void RenameAfterGetEntryInfo(const FilePath& file_path,
+ const FilePath::StringType& new_name,
+ const FilePathUpdateCallback& callback,
+ GDataFileError error,
+ scoped_ptr<GDataEntryProto> entry_proto);
+
// Adds a file or directory at |file_path| to the directory at |dir_path|.
//
// Can be called from UI thread. |callback| is run on the calling thread.
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698