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

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

Issue 10280004: gdata: Remove GDataFileSystem::FindEntryByPathAsync() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 8a96b92cb462b084a7ca091ad1e37952e651355f..c963adc4545962b8d62a31b362e30ad0933a11fc 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h
@@ -196,13 +196,6 @@ class GDataFileSystemInterface {
// Must be called on UI thread.
virtual void Authenticate(const AuthStatusCallback& callback) = 0;
- // Finds file info by using virtual |file_path|. This call will also
- // retrieve and refresh file system content from server and disk cache.
- //
- // Can be called from UI/IO thread. |callback| is run on the calling thread.
- virtual void FindEntryByPathAsync(const FilePath& file_path,
- const FindEntryCallback& callback) = 0;
-
// Finds file info by using |resource_id|. This call does not initiate
// content refreshing and will invoke one of |delegate| methods directly as
// it executes.
@@ -408,8 +401,6 @@ class GDataFileSystem : public GDataFileSystemInterface,
virtual void AddObserver(Observer* observer) OVERRIDE;
virtual void RemoveObserver(Observer* observer) OVERRIDE;
virtual void Authenticate(const AuthStatusCallback& callback) OVERRIDE;
- virtual void FindEntryByPathAsync(const FilePath& file_path,
- const FindEntryCallback& callback) OVERRIDE;
virtual void FindEntryByResourceIdSync(const std::string& resource_id,
FindEntryDelegate* delegate) OVERRIDE;
virtual void TransferFile(const FilePath& local_file_path,
@@ -1264,10 +1255,13 @@ class GDataFileSystem : public GDataFileSystemInterface,
const FilePath& directory_path,
GDataEntry* entry);
- // The following functions are used to forward calls to asynchronous public
- // member functions to UI thread.
+ // Finds file info by using virtual |file_path|. This call will also
+ // retrieve and refresh file system content from server and disk cache.
void FindEntryByPathAsyncOnUIThread(const FilePath& search_file_path,
const FindEntryCallback& callback);
+
+ // The following functions are used to forward calls to asynchronous public
+ // member functions to UI thread.
void CopyOnUIThread(const FilePath& src_file_path,
const FilePath& dest_file_path,
const FileOperationCallback& callback);
« no previous file with comments | « chrome/browser/chromeos/gdata/find_entry_delegate.h ('k') | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698