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

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: test fix Created 8 years, 7 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 | content/browser/resource_context_impl.cc » ('j') | no next file with comments »
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 3ce1d18facf7b90838cdb115343f20e94834ad2c..94498664948036ca235ba5d4a5bf1272574c159c 100644
--- a/content/browser/fileapi/fileapi_message_filter.cc
+++ b/content/browser/fileapi/fileapi_message_filter.cc
@@ -432,10 +432,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);
}
@@ -670,9 +667,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 | content/browser/resource_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698