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

Unified Diff: webkit/fileapi/sandbox_mount_point_provider.cc

Issue 10829147: Make MediaFileUtil run on thread pool. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix for windows 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: webkit/fileapi/sandbox_mount_point_provider.cc
diff --git a/webkit/fileapi/sandbox_mount_point_provider.cc b/webkit/fileapi/sandbox_mount_point_provider.cc
index b08927a0e4e4c0409f1fc3d6e58096d8dad74970..854d264a93a5be3cf1ede2e474d3c72b5dc18b27 100644
--- a/webkit/fileapi/sandbox_mount_point_provider.cc
+++ b/webkit/fileapi/sandbox_mount_point_provider.cc
@@ -10,7 +10,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/metrics/histogram.h"
#include "base/rand_util.h"
-#include "base/sequenced_task_runner.h"
+#include "base/single_thread_task_runner.h"
#include "base/string_util.h"
#include "base/stringprintf.h"
#include "base/task_runner_util.h"
@@ -19,6 +19,7 @@
#include "webkit/fileapi/file_system_file_stream_reader.h"
#include "webkit/fileapi/file_system_operation_context.h"
#include "webkit/fileapi/file_system_options.h"
+#include "webkit/fileapi/file_system_task_runners.h"
#include "webkit/fileapi/file_system_types.h"
#include "webkit/fileapi/file_system_usage_cache.h"
#include "webkit/fileapi/file_system_util.h"
@@ -459,7 +460,7 @@ void SandboxMountPointProvider::DeleteFileSystem(
FileSystemContext* context,
const DeleteFileSystemCallback& callback) {
base::PostTaskAndReplyWithResult(
- context->file_task_runner(),
+ context->task_runners()->file_task_runner(),
FROM_HERE,
// It is safe to pass Unretained(this) since context owns it.
base::Bind(&SandboxMountPointProvider::DeleteOriginDataOnFileThread,
« no previous file with comments | « webkit/fileapi/obfuscated_file_util_unittest.cc ('k') | webkit/fileapi/sandbox_mount_point_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698