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

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

Issue 10854072: gdata: Remove use of FindEntryByPathSync() fromMoveOnUIThread() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update a comment Created 8 years, 4 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 1545c858693fe769ddd6ef7d8b5ce948efacadbd..0ba3ef4e288195b1da07a12637c82f3e510dbd48 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h
@@ -358,6 +358,7 @@ class GDataFileSystem : public GDataFileSystemInterface,
// "foo (2).txt"
//
// Can be called from UI thread. |callback| is run on the calling thread.
+ // |callback| must not be null.
void Rename(const FilePath& file_path,
const FilePath::StringType& new_name,
const FileMoveCallback& callback);
@@ -747,6 +748,13 @@ class GDataFileSystem : public GDataFileSystemInterface,
const FileOperationCallback& callback,
scoped_ptr<EntryInfoPairResult> result);
+ // Part of MoveOnUIThread(). Called after GetEntryInfoPairByPaths() is
+ // complete. |callback| must not be null.
+ void MoveOnUIThreadAfterGetEntryInfoPair(
+ const FilePath& dest_file_path,
+ const FileOperationCallback& callback,
+ scoped_ptr<EntryInfoPairResult> result);
+
// Part of RemoveOnUIThread(). Called after GetEntryInfoByPath() is
// complete.
void RemoveOnUIThreadAfterGetEntryInfo(
« 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