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

Side by Side Diff: chrome/browser/chromeos/drive/file_system_interface.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_INTERFACE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_INTERFACE_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_INTERFACE_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_INTERFACE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // other functions. 175 // other functions.
176 virtual void Initialize() = 0; 176 virtual void Initialize() = 0;
177 177
178 // Adds and removes the observer. 178 // Adds and removes the observer.
179 virtual void AddObserver(FileSystemObserver* observer) = 0; 179 virtual void AddObserver(FileSystemObserver* observer) = 0;
180 virtual void RemoveObserver(FileSystemObserver* observer) = 0; 180 virtual void RemoveObserver(FileSystemObserver* observer) = 0;
181 181
182 // Checks for updates on the server. 182 // Checks for updates on the server.
183 virtual void CheckForUpdates() = 0; 183 virtual void CheckForUpdates() = 0;
184 184
185 // Initiates transfer of |remote_src_file_path| to |local_dest_file_path|.
186 // |remote_src_file_path| is the virtual source path on the Drive file system.
187 // |local_dest_file_path| is the destination path on the local file system.
188 //
189 // |callback| must not be null.
190 virtual void TransferFileFromRemoteToLocal(
191 const base::FilePath& remote_src_file_path,
192 const base::FilePath& local_dest_file_path,
193 const FileOperationCallback& callback) = 0;
194
195 // Initiates transfer of |local_src_file_path| to |remote_dest_file_path|. 185 // Initiates transfer of |local_src_file_path| to |remote_dest_file_path|.
196 // |local_src_file_path| must be a file from the local file system. 186 // |local_src_file_path| must be a file from the local file system.
197 // |remote_dest_file_path| is the virtual destination path within Drive file 187 // |remote_dest_file_path| is the virtual destination path within Drive file
198 // system. 188 // system.
199 // 189 //
200 // |callback| must not be null. 190 // |callback| must not be null.
201 virtual void TransferFileFromLocalToRemote( 191 virtual void TransferFileFromLocalToRemote(
202 const base::FilePath& local_src_file_path, 192 const base::FilePath& local_src_file_path,
203 const base::FilePath& remote_dest_file_path, 193 const base::FilePath& remote_dest_file_path,
204 const FileOperationCallback& callback) = 0; 194 const FileOperationCallback& callback) = 0;
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 const std::string& resource_id, 418 const std::string& resource_id,
429 const GetCacheEntryCallback& callback) = 0; 419 const GetCacheEntryCallback& callback) = 0;
430 420
431 // Reloads the resource metadata from the server. 421 // Reloads the resource metadata from the server.
432 virtual void Reload() = 0; 422 virtual void Reload() = 0;
433 }; 423 };
434 424
435 } // namespace drive 425 } // namespace drive
436 426
437 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_INTERFACE_H_ 427 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_INTERFACE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698