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

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: 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 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);

Powered by Google App Engine
This is Rietveld 408576698