| Index: chrome/browser/chromeos/drive/drive_file_system_proxy.cc
|
| diff --git a/chrome/browser/chromeos/drive/drive_file_system_proxy.cc b/chrome/browser/chromeos/drive/drive_file_system_proxy.cc
|
| index da00608d5a65e1e7621a8dfc1110be8e2a01ea3b..72532ab9809aa815896971b52bbd406d37707ee6 100644
|
| --- a/chrome/browser/chromeos/drive/drive_file_system_proxy.cc
|
| +++ b/chrome/browser/chromeos/drive/drive_file_system_proxy.cc
|
| @@ -33,12 +33,15 @@ namespace drive {
|
|
|
| namespace {
|
|
|
| +typedef fileapi::RemoteFileSystemProxyInterface::OpenFileCallback
|
| + OpenFileCallback;
|
| +
|
| const char kFeedField[] = "feed";
|
|
|
| // Helper function to run reply on results of base::CreatePlatformFile() on
|
| // IO thread.
|
| void OnPlatformFileOpened(
|
| - const FileSystemOperation::OpenFileCallback& callback,
|
| + const OpenFileCallback& callback,
|
| base::ProcessHandle peer_handle,
|
| base::PlatformFileError* open_error,
|
| base::PlatformFile platform_file) {
|
| @@ -48,7 +51,7 @@ void OnPlatformFileOpened(
|
| // Helper function to run OpenFileCallback from
|
| // DriveFileSystemProxy::OpenFile().
|
| void OnGetFileByPathForOpen(
|
| - const FileSystemOperation::OpenFileCallback& callback,
|
| + const OpenFileCallback& callback,
|
| int file_flags,
|
| base::ProcessHandle peer_handle,
|
| FileError file_error,
|
| @@ -380,7 +383,7 @@ void DriveFileSystemProxy::Truncate(
|
| void DriveFileSystemProxy::OnOpenFileForWriting(
|
| int file_flags,
|
| base::ProcessHandle peer_handle,
|
| - const FileSystemOperation::OpenFileCallback& callback,
|
| + const OpenFileCallback& callback,
|
| FileError file_error,
|
| const base::FilePath& local_cache_path) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| @@ -414,7 +417,7 @@ void DriveFileSystemProxy::OnCreateFileForOpen(
|
| const base::FilePath& file_path,
|
| int file_flags,
|
| base::ProcessHandle peer_handle,
|
| - const FileSystemOperation::OpenFileCallback& callback,
|
| + const OpenFileCallback& callback,
|
| FileError file_error) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| base::PlatformFileError create_result =
|
| @@ -495,7 +498,7 @@ void DriveFileSystemProxy::OpenFile(
|
| const FileSystemURL& file_url,
|
| int file_flags,
|
| base::ProcessHandle peer_handle,
|
| - const FileSystemOperation::OpenFileCallback& callback) {
|
| + const OpenFileCallback& callback) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
|
|
| base::FilePath file_path;
|
|
|