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

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

Issue 10197007: Change webkit/{fileapi,quota} code to use TaskRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixesz Created 8 years, 8 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
« no previous file with comments | « no previous file | webkit/blob/local_file_reader.h » ('j') | webkit/fileapi/file_system_context.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e3203c2773deaea74ac17b1f5ddc6a8e64ccc8b7..73236da7f2259f5cc8feb82bf65d7bcfd17e8e56 100644
--- a/content/browser/fileapi/fileapi_message_filter.cc
+++ b/content/browser/fileapi/fileapi_message_filter.cc
@@ -427,10 +427,7 @@ void FileAPIMessageFilter::OnSyncGetPlatformPath(
// TODO(kinuko): this hack should go away once appropriate upload-stream
// handling based on element types is supported.
FileSystemOperation* operation =
- context_->CreateFileSystemOperation(
- path,
- BrowserThread::GetMessageLoopProxyForThread(
- BrowserThread::FILE))->AsFileSystemOperation();
+ context_->CreateFileSystemOperation(path)->AsFileSystemOperation();
DCHECK(operation);
operation->SyncGetPlatformPath(path, platform_path);
}
@@ -665,9 +662,7 @@ FileSystemOperationInterface* FileAPIMessageFilter::GetNewOperation(
const GURL& target_path,
int request_id) {
FileSystemOperationInterface* operation =
- context_->CreateFileSystemOperation(
- target_path,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE));
+ context_->CreateFileSystemOperation(target_path);
DCHECK(operation);
operations_.AddWithID(operation, request_id);
return operation;
« no previous file with comments | « no previous file | webkit/blob/local_file_reader.h » ('j') | webkit/fileapi/file_system_context.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698