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

Unified Diff: chrome/browser/chromeos/drive/file_write_helper.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_write_helper.h
diff --git a/chrome/browser/chromeos/drive/file_write_helper.h b/chrome/browser/chromeos/drive/file_write_helper.h
index e1bf8f783d0f8cc24831960a394bd467b163356f..da3021211d8f1424c2e398623c3f56f600fe07f7 100644
--- a/chrome/browser/chromeos/drive/file_write_helper.h
+++ b/chrome/browser/chromeos/drive/file_write_helper.h
@@ -9,7 +9,9 @@
#include "chrome/browser/chromeos/drive/drive_file_error.h"
#include "chrome/browser/chromeos/drive/drive_file_system_interface.h"
+namespace base {
class FilePath;
+}
namespace drive {
@@ -26,7 +28,7 @@ class FileWriteHelper {
// file is created.
//
// Must be called from UI thread.
- void PrepareWritableFileAndRun(const FilePath& path,
+ void PrepareWritableFileAndRun(const base::FilePath& path,
const OpenFileCallback& callback);
private:
@@ -34,15 +36,15 @@ class FileWriteHelper {
// file does not exist yet, does OpenFile to download and mark the file as
// dirty, runs |callback|, and finally calls CloseFile.
void PrepareWritableFileAndRunAfterCreateFile(
- const FilePath& file_path,
+ const base::FilePath& file_path,
const OpenFileCallback& callback,
DriveFileError result);
void PrepareWritableFileAndRunAfterOpenFile(
- const FilePath& file_path,
+ const base::FilePath& file_path,
const OpenFileCallback& callback,
DriveFileError result,
- const FilePath& local_cache_path);
- void PrepareWritableFileAndRunAfterCallback(const FilePath& file_path);
+ const base::FilePath& local_cache_path);
+ void PrepareWritableFileAndRunAfterCallback(const base::FilePath& file_path);
// File system owned by DriveSystemService.
DriveFileSystemInterface* file_system_;
« no previous file with comments | « chrome/browser/chromeos/drive/file_system/update_operation.h ('k') | chrome/browser/chromeos/enterprise_extension_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698