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

Unified Diff: content/browser/fileapi/fileapi_message_filter.cc

Issue 10870040: Rename FileSystemOperationInterface to FileSystemOperation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing Created 8 years, 4 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: 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 d97b5f407b39d99b966cebc8682887002040e0b0..da1ba9dfd5a9d58cc83fbfbc80c3f62b5649b068 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,8 +136,7 @@ void FileAPIMessageFilter::OnChannelClosing() {
open_filesystem_urls_.begin();
iter != open_filesystem_urls_.end(); ++iter) {
FileSystemURL url(*iter);
- FileSystemOperationInterface* operation =
- context_->CreateFileSystemOperation(url);
+ FileSystemOperation* operation = context_->CreateFileSystemOperation(url);
operation->NotifyCloseFile(url);
}
}
@@ -407,8 +406,7 @@ void FileAPIMessageFilter::OnCancel(
int request_id,
int request_id_to_cancel) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- FileSystemOperationInterface* write = operations_.Lookup(
- request_id_to_cancel);
+ FileSystemOperation* write = operations_.Lookup(request_id_to_cancel);
if (write) {
// The cancel will eventually send both the write failure and the cancel
// success.
@@ -451,8 +449,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 =
- context_->CreateFileSystemOperation(url);
+ FileSystemOperation* operation = context_->CreateFileSystemOperation(url);
if (operation)
operation->NotifyCloseFile(url);
}
@@ -790,11 +787,10 @@ bool FileAPIMessageFilter::HasPermissionsForFile(
return success;
}
-
-FileSystemOperationInterface* FileAPIMessageFilter::GetNewOperation(
+FileSystemOperation* FileAPIMessageFilter::GetNewOperation(
const FileSystemURL& target_url,
int request_id) {
- FileSystemOperationInterface* operation =
+ FileSystemOperation* operation =
context_->CreateFileSystemOperation(target_url);
DCHECK(operation);
operations_.AddWithID(operation, request_id);
« no previous file with comments | « content/browser/fileapi/fileapi_message_filter.h ('k') | webkit/chromeos/fileapi/cros_mount_point_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698