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

Unified Diff: webkit/fileapi/file_system_quota_unittest.cc

Issue 7583053: Add MessageLoopProxy::current (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No need for MessageLoopProxy destruction observer. Created 9 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
« no previous file with comments | « webkit/fileapi/file_system_quota_client_unittest.cc ('k') | webkit/fileapi/file_system_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_quota_unittest.cc
diff --git a/webkit/fileapi/file_system_quota_unittest.cc b/webkit/fileapi/file_system_quota_unittest.cc
index e0bd554b743cb6ebc1709c617a952502daa22a29..40d6423ad001093948e10570e1556c3ef2f9e6f9 100644
--- a/webkit/fileapi/file_system_quota_unittest.cc
+++ b/webkit/fileapi/file_system_quota_unittest.cc
@@ -213,8 +213,8 @@ void FileSystemQuotaTest::SetUp() {
quota_manager_ = new quota::QuotaManager(
false /* is_incognito */,
filesystem_dir_path,
- base::MessageLoopProxy::CreateForCurrentThread(),
- base::MessageLoopProxy::CreateForCurrentThread(),
+ base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current(),
NULL);
test_helper_.SetUp(filesystem_dir_path,
@@ -384,13 +384,13 @@ void FileSystemObfuscatedQuotaTest::SetUp() {
quota_manager_ = new quota::QuotaManager(
false /* is_incognito */,
filesystem_dir_path,
- base::MessageLoopProxy::CreateForCurrentThread(),
- base::MessageLoopProxy::CreateForCurrentThread(),
+ base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current(),
NULL);
file_system_context_ = new FileSystemContext(
- base::MessageLoopProxy::CreateForCurrentThread(),
- base::MessageLoopProxy::CreateForCurrentThread(),
+ base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current(),
new quota::MockSpecialStoragePolicy(),
quota_manager_->proxy(),
filesystem_dir_path,
« no previous file with comments | « webkit/fileapi/file_system_quota_client_unittest.cc ('k') | webkit/fileapi/file_system_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698