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

Unified Diff: webkit/fileapi/file_system_context.cc

Issue 10829147: Make MediaFileUtil run on thread pool. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update comment Created 8 years, 5 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/file_system_context.cc
diff --git a/webkit/fileapi/file_system_context.cc b/webkit/fileapi/file_system_context.cc
index 53afbb1248ccfa2ac22847dec174743dc6c9e29c..4b9aae41b2c6fc61a9f40848de44d843df0df287 100644
--- a/webkit/fileapi/file_system_context.cc
+++ b/webkit/fileapi/file_system_context.cc
@@ -46,6 +46,7 @@ void DidOpenFileSystem(FileSystemContext::OpenFileSystemCallback callback,
} // anonymous namespace
FileSystemContext::FileSystemContext(
+ base::SequencedTaskRunner* media_task_runner,
base::SequencedTaskRunner* file_task_runner,
base::SingleThreadTaskRunner* io_task_runner,
quota::SpecialStoragePolicy* special_storage_policy,
@@ -60,7 +61,7 @@ FileSystemContext::FileSystemContext(
file_task_runner,
profile_path,
options)),
- isolated_provider_(new IsolatedMountPointProvider) {
+ isolated_provider_(new IsolatedMountPointProvider(media_task_runner)) {
kinuko 2012/08/02 21:12:46 I may prefer keeping this task_runner as a field o
tzik 2012/08/03 22:29:19 Done. Moved to FileSystemTaskRunners.
if (quota_manager_proxy) {
quota_manager_proxy->RegisterClient(CreateQuotaClient(
this, options.is_incognito()));

Powered by Google App Engine
This is Rietveld 408576698