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

Unified Diff: webkit/fileapi/file_system_mount_point_provider_unittest.cc

Issue 10829147: Make MediaFileUtil run on thread pool. (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: webkit/fileapi/file_system_mount_point_provider_unittest.cc
diff --git a/webkit/fileapi/file_system_mount_point_provider_unittest.cc b/webkit/fileapi/file_system_mount_point_provider_unittest.cc
index b5b07a26fc346c41060e76f12336526bc46ae827..db18ecf9399fb082fad117fee3c890d8b1dd8f00 100644
--- a/webkit/fileapi/file_system_mount_point_provider_unittest.cc
+++ b/webkit/fileapi/file_system_mount_point_provider_unittest.cc
@@ -19,6 +19,7 @@
#include "googleurl/src/gurl.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "webkit/fileapi/file_system_context.h"
+#include "webkit/fileapi/file_system_task_runners.h"
#include "webkit/fileapi/file_system_util.h"
#include "webkit/fileapi/mock_file_system_options.h"
#include "webkit/fileapi/sandbox_mount_point_provider.h"
@@ -210,8 +211,7 @@ class FileSystemMountPointProviderTest : public testing::Test {
protected:
void SetupNewContext(const FileSystemOptions& options) {
file_system_context_ = new FileSystemContext(
- base::MessageLoopProxy::current(),
- base::MessageLoopProxy::current(),
+ make_scoped_ptr(new FileSystemTaskRunners()),
special_storage_policy_,
NULL,
data_dir_.path(),

Powered by Google App Engine
This is Rietveld 408576698