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

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

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/drive_operations.h
diff --git a/chrome/browser/chromeos/drive/file_system/drive_operations.h b/chrome/browser/chromeos/drive/file_system/drive_operations.h
index b9cd3e97b604456b4094a19c48fe46f3316f7d9c..1f188ace8b12a1ad0a4bafea6a5a3ca07c9b5e23 100644
--- a/chrome/browser/chromeos/drive/file_system/drive_operations.h
+++ b/chrome/browser/chromeos/drive/file_system/drive_operations.h
@@ -9,7 +9,9 @@
#include "base/sequenced_task_runner.h"
#include "chrome/browser/chromeos/drive/drive_resource_metadata.h"
+namespace base {
class FilePath;
+}
namespace google_apis {
class DriveUploaderInterface;
@@ -52,37 +54,38 @@ class DriveOperations {
// Wrapper function for copy_operation_.
// |callback| must not be null.
- void Copy(const FilePath& src_file_path,
- const FilePath& dest_file_path,
+ void Copy(const base::FilePath& src_file_path,
+ const base::FilePath& dest_file_path,
const FileOperationCallback& callback);
// Wrapper function for copy_operation_.
// |callback| must not be null.
- void TransferFileFromRemoteToLocal(const FilePath& remote_src_file_path,
- const FilePath& local_dest_file_path,
+ void TransferFileFromRemoteToLocal(const base::FilePath& remote_src_file_path,
+ const base::FilePath& local_dest_file_path,
const FileOperationCallback& callback);
// Wrapper function for copy_operation_.
// |callback| must not be null.
- void TransferFileFromLocalToRemote(const FilePath& local_src_file_path,
- const FilePath& remote_dest_file_path,
- const FileOperationCallback& callback);
+ void TransferFileFromLocalToRemote(
+ const base::FilePath& local_src_file_path,
+ const base::FilePath& remote_dest_file_path,
+ const FileOperationCallback& callback);
// Wrapper function for copy_operation_.
// |callback| must not be null.
- void TransferRegularFile(const FilePath& local_src_file_path,
- const FilePath& remote_dest_file_path,
+ void TransferRegularFile(const base::FilePath& local_src_file_path,
+ const base::FilePath& remote_dest_file_path,
const FileOperationCallback& callback);
// Wrapper function for move_operation_.
// |callback| must not be null.
- void Move(const FilePath& src_file_path,
- const FilePath& dest_file_path,
+ void Move(const base::FilePath& src_file_path,
+ const base::FilePath& dest_file_path,
const FileOperationCallback& callback);
// Wrapper function for remove_operation_.
// |callback| must not be null.
- void Remove(const FilePath& file_path,
+ void Remove(const base::FilePath& file_path,
bool is_recursive,
const FileOperationCallback& callback);
« no previous file with comments | « chrome/browser/chromeos/drive/file_system/copy_operation.h ('k') | chrome/browser/chromeos/drive/file_system/move_operation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698