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

Unified Diff: chrome/browser/chromeos/drive/file_system/copy_operation.h

Issue 22885006: Remove TransferFileFromRemoteToLocal, which are no longer used. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: chrome/browser/chromeos/drive/file_system/copy_operation.h
diff --git a/chrome/browser/chromeos/drive/file_system/copy_operation.h b/chrome/browser/chromeos/drive/file_system/copy_operation.h
index 41be0cf4a57b983b4acae0b4aac25d8d4d3be557..2ef40134684e2c2b8018c6f528769b861df0bd1d 100644
--- a/chrome/browser/chromeos/drive/file_system/copy_operation.h
+++ b/chrome/browser/chromeos/drive/file_system/copy_operation.h
@@ -60,15 +60,6 @@ class CopyOperation {
const base::FilePath& dest_file_path,
const FileOperationCallback& callback);
- // Initiates transfer of |remote_src_file_path| to |local_dest_file_path|.
- // |remote_src_file_path| is the virtual source path on the Drive file system.
- // |local_dest_file_path| is the destination path on the local file system.
- //
- // |callback| must not be null.
- void TransferFileFromRemoteToLocal(const base::FilePath& remote_src_file_path,
- const base::FilePath& local_dest_file_path,
- const FileOperationCallback& callback);
-
// Initiates transfer of |local_src_file_path| to |remote_dest_file_path|.
// |local_src_file_path| must be a file from the local file system.
// |remote_dest_file_path| is the virtual destination path within Drive file
@@ -101,17 +92,6 @@ class CopyOperation {
const FileOperationCallback& callback,
FileError error);
- // Invoked upon completion of GetFileByPath initiated by
- // TransferFileFromRemoteToLocal. If GetFileByPath reports no error, calls
- // CopyLocalFileOnBlockingPool to copy |local_file_path| to
- // |local_dest_file_path|.
- void OnGetFileCompleteForTransferFile(
- const base::FilePath& local_dest_file_path,
- const FileOperationCallback& callback,
- FileError error,
- const base::FilePath& local_file_path,
- scoped_ptr<ResourceEntry> entry);
-
// Copies a hosted document with |resource_id| to the directory at |dir_path|
// and names the copied document as |new_name|.
void CopyHostedDocumentToDirectory(const base::FilePath& dir_path,
« no previous file with comments | « chrome/browser/chromeos/drive/file_system.cc ('k') | chrome/browser/chromeos/drive/file_system/copy_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698