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

Unified Diff: chrome/browser/chromeos/drive/file_system/update_operation.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/update_operation.h
diff --git a/chrome/browser/chromeos/drive/file_system/update_operation.h b/chrome/browser/chromeos/drive/file_system/update_operation.h
index da0f39e94e321ba46a71529196925175b72274ba..e4eb37b0c8026b343b6f348ee4d9e66829ea1fe7 100644
--- a/chrome/browser/chromeos/drive/file_system/update_operation.h
+++ b/chrome/browser/chromeos/drive/file_system/update_operation.h
@@ -11,9 +11,12 @@
#include "chrome/browser/chromeos/drive/drive_resource_metadata.h"
#include "chrome/browser/google_apis/gdata_errorcode.h"
-class FilePath;
class GURL;
+namespace base {
+class FilePath;
+}
+
namespace google_apis {
class DriveUploaderInterface;
}
@@ -58,7 +61,7 @@ class UpdateOperation {
void UpdateFileByEntryInfo(
const FileOperationCallback& callback,
DriveFileError error,
- const FilePath& drive_file_path,
+ const base::FilePath& drive_file_path,
scoped_ptr<DriveEntryProto> entry_proto);
// Part of UpdateFileByResourceId().
@@ -66,10 +69,10 @@ class UpdateOperation {
// UpdateFileByResourceId().
// |callback| must not be null.
void OnGetFileCompleteForUpdateFile(const FileOperationCallback& callback,
- const FilePath& drive_file_path,
+ const base::FilePath& drive_file_path,
scoped_ptr<DriveEntryProto> entry_proto,
DriveFileError error,
- const FilePath& cache_file_path);
+ const base::FilePath& cache_file_path);
// Part of UpdateFileByResourceId().
// Called when DriveUploader::UploadUpdatedFile() is completed for
@@ -78,15 +81,15 @@ class UpdateOperation {
void OnUpdatedFileUploaded(
const FileOperationCallback& callback,
google_apis::DriveUploadError error,
- const FilePath& gdata_path,
- const FilePath& file_path,
+ const base::FilePath& gdata_path,
+ const base::FilePath& file_path,
scoped_ptr<google_apis::ResourceEntry> resource_entry);
// Part of UpdateFileByResourceId().
// |callback| must not be null.
void OnUpdatedFileRefreshed(const FileOperationCallback& callback,
DriveFileError error,
- const FilePath& drive_file_path,
+ const base::FilePath& drive_file_path,
scoped_ptr<DriveEntryProto> entry_proto);
DriveCache* cache_;
« no previous file with comments | « chrome/browser/chromeos/drive/file_system/remove_operation.h ('k') | chrome/browser/chromeos/drive/file_write_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698