Chromium Code Reviews| Index: content/browser/fileapi/fileapi_message_filter.cc |
| diff --git a/content/browser/fileapi/fileapi_message_filter.cc b/content/browser/fileapi/fileapi_message_filter.cc |
| index ca59679e48f205890b20b70e3551ddf6c8336e09..3c10c62fb7be83eb9a55f74a2164198c88009780 100644 |
| --- a/content/browser/fileapi/fileapi_message_filter.cc |
| +++ b/content/browser/fileapi/fileapi_message_filter.cc |
| @@ -40,7 +40,7 @@ using content::UserMetricsAction; |
| using fileapi::FileSystemURL; |
| using fileapi::FileSystemFileUtil; |
| using fileapi::FileSystemMountPointProvider; |
| -using fileapi::FileSystemOperationInterface; |
| +using fileapi::FileSystemOperation; |
| using fileapi::LocalFileSystemOperation; |
| using webkit_blob::BlobData; |
| using webkit_blob::BlobStorageController; |
| @@ -136,7 +136,7 @@ void FileAPIMessageFilter::OnChannelClosing() { |
| open_filesystem_urls_.begin(); |
| iter != open_filesystem_urls_.end(); ++iter) { |
| FileSystemURL url(*iter); |
| - FileSystemOperationInterface* operation = |
| + FileSystemOperation* operation = |
| context_->CreateFileSystemOperation(url); |
|
tzik
2012/08/23 14:29:34
Can we pack it in one line?
kinuko
2012/08/24 06:20:54
Done.
|
| operation->NotifyCloseFile(url); |
| } |
| @@ -407,7 +407,7 @@ void FileAPIMessageFilter::OnCancel( |
| int request_id, |
| int request_id_to_cancel) { |
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
| - FileSystemOperationInterface* write = operations_.Lookup( |
| + FileSystemOperation* write = operations_.Lookup( |
| request_id_to_cancel); |
|
tzik
2012/08/23 14:29:34
ditto
kinuko
2012/08/24 06:20:54
Done.
|
| if (write) { |
| // The cancel will eventually send both the write failure and the cancel |
| @@ -451,7 +451,7 @@ void FileAPIMessageFilter::OnNotifyCloseFile(const GURL& path) { |
| // Do not use GetNewOperation() here, because NotifyCloseFile is a one-way |
| // operation that does not have request_id by which we respond back. |
| - FileSystemOperationInterface* operation = |
| + FileSystemOperation* operation = |
| context_->CreateFileSystemOperation(url); |
|
tzik
2012/08/23 14:29:34
ditto
kinuko
2012/08/24 06:20:54
Done.
|
| if (operation) |
| operation->NotifyCloseFile(url); |
| @@ -791,10 +791,10 @@ bool FileAPIMessageFilter::HasPermissionsForFile( |
| } |
| -FileSystemOperationInterface* FileAPIMessageFilter::GetNewOperation( |
| +FileSystemOperation* FileAPIMessageFilter::GetNewOperation( |
| const FileSystemURL& target_url, |
| int request_id) { |
| - FileSystemOperationInterface* operation = |
| + FileSystemOperation* operation = |
| context_->CreateFileSystemOperation(target_url); |
|
tzik
2012/08/23 14:29:34
ditto
kinuko
2012/08/24 06:20:54
This doesn't fit.
|
| DCHECK(operation); |
| operations_.AddWithID(operation, request_id); |